A post
This is an example of using shorthand to build a blog post.
Parts
-
build.shorthand - this is the shorthand file orchestrating everything
-
post.md - the Post we want to make in Markdown
-
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.
-
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.