Created
May 26, 2014 21:26
-
-
Save bendavis78/236fb890ba23b10e66fc to your computer and use it in GitHub Desktop.
strapdown.js external load
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
<!DOCTYPE html> | |
<html> | |
<xmp id="README" theme="united" style="display:none;"> | |
</xmp> | |
<script type="text/javascript"> | |
var req = new XMLHttpRequest(); | |
req.onload = function() { | |
var xmpNode = document.getElementById('README'); | |
xmpNode.appendChild(document.createTextNode(this.responseText)); | |
} | |
req.open('GET', 'README.md', false); | |
req.send(); | |
</script> | |
<script src="http://strapdownjs.com/v/0.2/strapdown.js"></script> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment