Created
September 25, 2018 14:09
-
-
Save StevenMDixon/e179aca6ac2bb4f1e4c5b168a8093eeb to your computer and use it in GitHub Desktop.
This file contains 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
<script src='https://cdnjs.cloudflare.com/ajax/libs/marked/0.5.0/marked.min.js'> | |
<body> | |
<div id='target'></div> | |
</body> | |
<script> | |
const myMarkDown = `# Hello World`; | |
const target = document.getElementById('target'); | |
target.innerHTML = Marked(myMarkDown); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment