A post

This is an example of using shorthand to build a blog post.

Parts

  1. build.shorthand - this is the shorthand file orchestrating everything
  2. post.md - the Post we want to make in Markdown
  3. template.md - is a markdown file with shorthand embedded, it is our template because we embedded shorthand
    • template.html - an HTML rendering of the template to show HTML but un-resolved shorthand still in it.
  4. post.html - the final post

Process

Run the build process

    shorthand build.shorthand

This reads in build.shorthand which intern pulls in template.md to use as a template with content taken from post.md rendering the final post.html.