Skip to content

diversen/pandoc-bootstrap-adaptive-template

Repository files navigation

pandoc bootstrap adaptive template

Inspired from:

https://github.com/tonyblundell/pandoc-bootstrap-template

Includes a sticky adaptive menu and some other nice things:

Install:

git clone https://github.com/diversen/pandoc-bootstrap-adaptive-template

cd pandoc-bootstrap-adaptive-template

Example (fetch latest pandoc README and transform to HTML)

pandoc https://raw.githubusercontent.com/jgm/pandoc/master/MANUAL.txt -o index.html -f markdown --template standalone.html --css template.css --toc --toc-depth=2

Start a server in current directory, e.g.:

php -S localhost:8080

Point a browser to http://localhost:8080

Or checout the gh-page for this repository, which is the pandoc documentation with this template:

http://diversen.github.io/pandoc-bootstrap-adaptive-template/

Variables

google analytics:

 --variable=analytics:XXX-ANALYTICS-CODE