||3 weeks ago|
|README.md||1 month ago|
|backup||1 month ago|
|commit||3 weeks ago|
|deploy||1 month ago|
|post-render||9 months ago|
|render||9 months ago|
... uses pandoc to render html files from markdown. I choose pandoc because I wanted to keep the toolchain simple and because it can render citations from a bibtex file, which is pretty awesome.
What does it do
The provided scripts recursively renders a folder with its subfolders and markdown files to the same structure into the given folder. It then syncs the given files or assets folder and last but not least, resizes the images in the output folder. It's kind of a static site generator realised with pandoc.
deploy command takes all the markdown files, and generates an html website from it. It then continues to add the generated files to a specific branch of the git repository which was the input directory.
have pandoc as well as pandoc-citeproc installed -
sudo apt install pandoc pandoc-citeprocon something debian/ubuntu based
render your markdown archive into a html website through this commond
./deploy -i ../thgie.ch/ -o ../thgie-output/ -t ../thgie.ch/files/template/main.html -b ../thgie.ch/files/Zettelkasten.bib
-iinput directory, don't forget the trailing slash
-ooutput directory, again, there is a trailing slash
-ttemplate file, which is used to frame the markdown content
-bbibtext file, in case you've got citations in your markdown files
Released and distributed under the Anti-Capitalist Attribution Cooperative License.