No semantic alternative exists, because literally typing quotation marks generally indicates a quotation, rather than a definition. Consequently, I attempt to differentiate between these with dfn and q, but solely q renders. [1]
I have, since, realised that q or i tags are more accurate, for my use case:
Referring to a word or phrase itself, rather than what the word or phrase normally refers to, is accomplished in written English by invoking single or double quotation marks or by using italics.
I consider this to be an absence in the HTML standard!
Tangentially, I should have utilised the term element, rather than “tag”.
But Discourse is not intended to be rendering HTML posts? - it is Markdown based
that said, there is a markdown standard for this which does translate to that tag.
e.g.
Markdown
: A lightweight markup language.
Discourse
: An open-source discussion platform.
I therefore support your request!
@merefield, that CommonMark actually equivalates DL :is(DT, DD).
CommonMark supports all HTML that renders inside the body element, and most that is includable within the head, too. It even hides a prefixed docType.
Yes, but Discourse deliberately sanitises posts and restricts what can be rendered.
Oh yes, you are right! Definitiion Lists not inline definitions, oops, sorry.
So in fact there is no standard markdown for this, so the tag would just have to be allow-listed.
btw, this is probably not a huge job for a small plugin …