Created
December 2, 2016 11:42
-
-
Save josephernest/865e8efa25223aa1415cb3871c47be19 to your computer and use it in GitHub Desktop.
MarkdownTemplate
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
| <!-- | |
| # | |
| # This is a Markdown template. Write in Markdown in the main #content div. Let the result be rendered automatically. | |
| # | |
| # author: Joseph Ernest (twitter: @JosephErnest) | |
| # url: http://github.com/josephernest/ | |
| # license: MIT license | |
| --> | |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title></title> | |
| <meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/marked/0.3.6/marked.js"></script> | |
| </head> | |
| <body> | |
| <div id="content"> | |
| Hello **you**. | |
| </div> | |
| <script> | |
| document.getElementById('content').innerHTML = marked(document.getElementById('content').innerHTML); | |
| </script> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment