< !-- *comment* --/>
should work
Explanation: Because markdown partially supports HTML.
Its syntax is very small, corresponding only to a very small subset of HTML tags1.
Question
I want to include comments (aka code comments) to my markdown.
Something like this
// I want this line to not render in the html
I've tried the different approaches that javascript uses but they all render as normal text and show in the final markup.
What's the nicest way I could achieve comment like functionality?
La solution
< !-- *comment* --/>
should work
Explanation: Because markdown partially supports HTML.
Its syntax is very small, corresponding only to a very small subset of HTML tags1.