Skip to content

william-reed/bash-blog

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Bash Blog

in comes a dir of markdown, out goes a navigatable website / blog

Requirements

  • Pandoc needed for parsing markdown into HTML

Usage

  1. Run the script in a directory with some markdown
  2. Copy in styles.css into that dir or pass in your own as shown below
  3. Enjoy HTML
    Bash Blog
    Generate navigatable HTML from markdown filled directory.

    usage: bash-blog [-d directory] [-s css-file] [-o output]

    arguments:
        -d, --dir           the directory to look for markdown (and gen output)
        -h, --help          brings up this message and exits
        -o, --output        the root output directory. Creates needed directories if they do not exist. Remember the root of this output dir will need a stylesheet.
        -r, --not-root      add flag to prevent the markdown at this level from displaying a link to parent dir. Likely only useful from the script itself
        -s, --style         path to a css file to use a different stylesheet than default
        -v, --verbose       print verbose / debugging info

About

in comes dir of markdown out goes a navigatable website / blog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published