A really simple flat file blog thing
I wanted to write a blog post, so naturally had to make something that'd turn markdown into html. Some requirements were:
- Watch mode
- Compiled code blocks
- No runtime scripts necessary
- Themeable
- Templates
$ <filename>
Options
--template, -t The template file to use (must be handlebars)
--watch, -w Watch files for changes
--stdout, -s Output the html to stdout
--output, -o The .html file name (will be written to if stdout not specified)
--title, -t The title for the html file (filename used instead)
Example
$ simple-blog my-amazing-post.md
$ simple-blog --watch --template main.mustache my-amazing-post.md