Override Markdown Listing 📝
Markdown parsers have a neat feature: a list of any numbers tends to be turned into an ordered lists.
I write:
And TIL's markdown parser (Earmark) produces this as HTML:
- First thing (?)
- Second thing (??)
- Third thing (??)
- Fourth thing (????)
Pretty cool! Sometimes I want to do my own thing, though. This Stack Overflow question elicits a bunch of techniques; the kind I learned today and used with success is:
Escape the pattern; break the system! This perserved my unordered numbering. Now, I may have other problems, like losing automatic ol
and li
tags, but the hack works.