Skip to content

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

Notifications You must be signed in to change notification settings

william-reed/bash-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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