I'm trying to add a language hint to a snippet in a list item like so:
- A list with code: <!-- language: lang-none --> some code with follow-up... - Another item
In the Meta preview, it renders as expected:
Here is it live:
A list with code:
On StackOverflow and electronics.SE on the other hand, it breaks the list and renders as:
I posted (and deleted) a question on SO to ensure that it was following through with the formatting, and it does indeed seem to.
Why is this happening, and is there any reliable way to add language hint to a code block within a list?