Forked from fklingler/Markdown Preview Bookmarklet
Last active
December 1, 2015 14:28
-
-
Save judsonmitchell/4334e185028cab538cf0 to your computer and use it in GitHub Desktop.
This bookmarklet gives you a markdown editor/previewer in your browser in a single click.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data:text/html, <script type="text/javascript" src="https://cdn.rawgit.com/MrMitch/downatello/develop/downatello.js"></script><style type="text/css">#md,#html{position:absolute;top:0;bottom:0;padding:5px;border:none;outline:none;font-family:monaco,consolas,sans-serif;font-size:1em}#md{resize:none;left:0;width:48%;border-right:1px solid black}#html{left:50%;right:0;font-family:sans-serif}</style><textarea id="md" oninput="document.getElementById('html').innerHTML=downatello.toHtml(document.getElementById('md').value);"></textarea><div id="html"></div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Previous version served raw github file which the browser refused to execute because of mime-type. Changed to rawgit cdn.