mirror of
https://github.com/chatopera/cosin.git
synced 2025-07-11 20:17:03 +08:00
35 lines
868 B
Markdown
35 lines
868 B
Markdown
# pandoc uikit
|
|
|
|
A pandoc uikit html template.
|
|
|
|
Includes a sticky adaptive menu and some other nice things:
|
|
|
|
# Install:
|
|
|
|
git clone https://github.com/diversen/pandoc-uikit
|
|
|
|
cd pandoc-uikit
|
|
|
|
# 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 --toc --toc-depth=2
|
|
|
|
Start a server in current directory, e.g.:
|
|
|
|
php -S localhost:8080
|
|
|
|
Point a browser to [http://localhost:8080](http://localhost:8080)
|
|
|
|
Or checout the gh-page for this repository, which is the pandoc documentation with this template:
|
|
|
|
[http://diversen.github.io/pandoc-uikit](http://diversen.github.io/pandoc-uikit/)
|
|
|
|
# Variables
|
|
|
|
google analytics:
|
|
|
|
--variable=analytics:XXX-ANALYTICS-CODE
|
|
|
|
uikit CSS
|
|
|
|
--variable=template_css:/path/to/uikit.css |