Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1003 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 1003 Bytes

stupidly-simple-blog npm version

A really simple flat file blog thing

Sample

Another markdown blog project!?

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

Usage

  $ <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