Skip to content
All referenceLists

Markdown Definition List

How to create definition lists in markdown for glossaries, dictionaries, and term-definition pairs.

What is markdown definition list?

Definition lists pair terms with their definitions, similar to a dictionary. In extended markdown (PHP Markdown Extra, Pandoc), a term on one line followed by a colon and definition on the next line creates a definition list (<dl>, <dt>, <dd>). Not part of CommonMark.

Syntax

Basic definition

Term on its own line, definition on the next starting with :

Result
Markdown
A lightweight markup language for creating formatted text.

Multiple definitions

A term can have multiple definitions by adding multiple : lines.

Result
API
Application Programming Interface
A set of rules...

Platform support

PlatformSupportedNotes
GitHubNoNot supported in GFM — use a table instead
GitLabNo
PandocYes
PHP Markdown ExtraYes
ObsidianNo
DiscordNo

Common mistakes

Wrong
Using on GitHub (not supported)
Right
Use a two-column table for term/definition pairs on GitHub

GitHub does not support definition list syntax. Use | Term | Definition | table syntax instead.

Tips for definition list

1Use tables as a fallback

On platforms without definition list support, a two-column markdown table with Term | Definition headers achieves the same visual result.

Frequently asked questions

Everything you need to know.

1

How do I create a definition list in markdown?

In extended markdown parsers (Pandoc, PHP Markdown Extra): put the term on its own line, then the definition on the next line starting with a colon. GitHub does not support this — use a table instead.

Related elements

Try it in the editor

Paste your markdown and see definition list rendered instantly with professional themes.