In prototypes and HTML-based slide decks, it's pleasant to write in markdown sometimes and avoid all those angle brackets.
So the idea is you're operating in an HTML environment but a few shortcuts would help so use markdown here and there.
- Add the following script into your HTML after the content, before other scripts
- It automatically adds github flavored markdown's if it's not already in.
- Add
data-markdown
attributes to any tags where you're gonna use markdown within. (see example)
This script works fine in your page and can also be used as a userscript. Just click the raw
link right below to install.
(As this requires some clientside js and can trigger FOUC, this is not for production use)
What about using the following to get the markdown content
Instead of the following. This would give a better support for html embeded in markdown, no ?