stumptown-content icon indicating copy to clipboard operation
stumptown-content copied to clipboard

Figure out what to do about <dl>

Open a2sheppy opened this issue 5 years ago • 4 comments

The stumptown-status.md document mentions that Markdown doesn't support <dl>, and that we use it a lot, but does not offer any suggestion on what we will do about this. A solution needs to be decided upon.

a2sheppy avatar Nov 29 '18 18:11 a2sheppy

I'm a bit in over my head here but what we're doing with mdn2 is that we leave stuff like element's attributes in a structure format and use <dl> etc in the rendered. I.e. https://github.com/mdn/stumptown-experiment/tree/master/content/html/elements/video/attributes

Other than such linear structured content, I think there's a lots of values in accepting Markdown for its flaws in favor of its ubiquitousness. Kinda like accepting JSON as is.

peterbe avatar May 30 '19 21:05 peterbe

I'm not sure the premise of the issue is quite right. You can use raw HTML in Markdown files, including <dl>s. Though I appreciate not wanting to write raw HTML. The question might be more along the lines of: are there workarounds (like Peter suggests)? Or do we need to extend our Markdown in someway to accommodate <dl>s.

ddbeck avatar May 31 '19 12:05 ddbeck

@a2sheppy My example is interesting in that it produces <dl> HTML in the final (MDN) product (a.k.a. the rendered HTML). Also, if you, independent of philosophy and strategy, you can used <dl> in the Markdown. Do you think this issue is complete and can be closed now?

peterbe avatar Jun 03 '19 17:06 peterbe

...if there are more specific problems later where neither of the above mentioned ideas work, then we can file up a new specific issue.

peterbe avatar Jun 03 '19 17:06 peterbe