-
-
Save rwaldron/3606341 to your computer and use it in GitHub Desktop.
playing with a very minimal one page site
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
<pre> | |
# Just Markdown, Yo. | |
So, I wanted to try to write the simplest webpage possible, [Max Ogden][1] | |
style. If you have JavaScript, you get something pretty. If not, then you see | |
[Markdown][2] text, which is fine too. | |
[1]: http://maxogden.com | |
[2]: http://daringfireball.net/projects/markdown/ | |
</pre> | |
<script type="text/javascript" src="https://raw.github.com/chjj/marked/master/lib/marked.js"></script> | |
<script type="text/javascript"> | |
(function(d) { var pre = document.body.firstChild, src = pre.firstChild.data; d.body.innerHTML = marked(src) })(document) | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment