Skip to content

Instantly share code, notes, and snippets.

@jescalan
Created December 1, 2016 15:54
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jescalan/dafa23a202fd0b5490b5e6ab13a9418a to your computer and use it in GitHub Desktop.
Save jescalan/dafa23a202fd0b5490b5e6ab13a9418a to your computer and use it in GitHub Desktop.
Almost pure markdown, but infinitely more flexible
extend(src='layout.sgr')
block(name='content')
.post(md).
# A markdown post
Here you can write **pure markdown** without issue.
You can treat this entire block like it's a normal markdown file and it will be compiled as such. Pretty cool! Everything works -- headlines, links, etc.
.footnote What's nice is that if you need to inject some extra html, javascript, add another block to change the title, etc. this is very simple to do since you have the capability to write full html with a reshape file as opposed to markdown.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment