3 ms·
I thought the real purpose of markdown was to let your users use HTML on your site but without the security risks of letting them use 'pure' HTML.
by groffee 4y ago
I thought the real purpose of markdown was to let your users use HTML on your site but without the security risks of letting them use 'pure' HTML.
- hinkley 4y agoThere are some of us that think Markdown should be like this but it isn't. There are implementations in some languages that auto-escape any embedded HTML in a Markdown document, but for others they pass through. That makes Markdown great for content when the authors and system owners are the same people. Not so great for content submissions from anonymous and potentially hostile third parties. The project I originally had in mind for learning Elixir would have been Markdown based but there is no flag for disabling inline HTML in the current parsers and writing my own seemed like a bridge too far.