This content originally appeared on Geoff Graham and was authored by Geoff Graham
I’ve re-discovered the definition list (<dl>
) element and a newfound love for it. I’d never reached for one when writing in Markdown before (regular-ol’ lists are so darn easy) but found myself needing to this morning.
It’s not tough to find the information. This is just the first time I’ve looked it up and now I see that definition lists are just as easy and convenient in Markdown as ordered and unordered lists.
First Term
: This is the definition of the first term.
Second Term
: This is one definition of the second term.
: This is another definition of the second term.
That’s it. Ordered list items are prepended by a hash symbol (#
), unordered list items are prepended by an asterisk (*
) or dash (-
), and now I know that definition list items (well, technically it’s the definitions, not the terms) are prepended by a single colon (:
).
Thank you, Matt Cone!
This content originally appeared on Geoff Graham and was authored by Geoff Graham

Geoff Graham | Sciencx (2024-09-18T15:30:48+00:00) Definitions Lists in Markdown. Retrieved from https://www.scien.cx/2024/09/18/definitions-lists-in-markdown/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.