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)
@espadrine When you click the "raw" link in the top right of this gist, in either Firefox with Greasemonkey or just plain old Chrome it will prompt you to install the script. That means it'll automatically run on any page matched by the
@match
line in the script (in this case, any page at all because it's an asterisk).