Definition list output #80

Open
opened 2026-01-29 14:25:29 +00:00 by claunia · 0 comments
Owner

Originally created by @daveaglick on GitHub (Jan 9, 2017).

Just curious what the thought is behind the definition list syntax borrowed from PHP Markdown doesn't output the semantic <dl><dt></dt><dd></dd></dl> HTML markup and instead outputs a custom set of markup inside a <p> element? Not sure either approach is better than the other, but the former is easier to style with CSS if nothing else (and libraries like Bootstrap already have element styles to support it).

Originally created by @daveaglick on GitHub (Jan 9, 2017). Just curious what the thought is behind the definition list syntax borrowed from PHP Markdown doesn't output the semantic `<dl><dt></dt><dd></dd></dl>` HTML markup and instead outputs a custom set of markup inside a `<p>` element? Not sure either approach is better than the other, but the former is easier to style with CSS if nothing else (and libraries like Bootstrap already have element styles to support it).
claunia added the question label 2026-01-29 14:25:29 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#80