Skip to content

Instantly share code, notes, and snippets.

@Markavian
Last active August 29, 2015 14:22
Show Gist options
  • Save Markavian/934e96148584dc2a5a8e to your computer and use it in GitHub Desktop.
Save Markavian/934e96148584dc2a5a8e to your computer and use it in GitHub Desktop.
Make strapdown work with embedded markdown tags...
<!DOCTYPE html>
<html>
<head>
<title>Embedded Markdown</title>
</head>
<body>
<markdown>
# Markdown text goes in here
## Chapter 1
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore
et dolore magna aliqua.
## Chapter 2
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
culpa qui officia deserunt mollit anim id est laborum.
</markdown>
<p>Some heretical HTML tags</p>
<markdown>
## Chapter 3
Excepteur sint occaecat cupidatat non proident, sunt in
culpa qui officia deserunt mollit anim id est laborum.
</markdown>
<!-- Upgrade this line to like 0.3 -->
<script src="http://strapdownjs.com/v/0.2/strapdown.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment