README
1 Technology
- The source of the blog is on a git repository.
- html files are hosted on GitHub Pages.
- The blog source is compiled by hakyll.
- The content is written use my variation of Pandoc’s Markdown, I call it ChaoDoc.
- Coded most of the things in Sublime Text 3.
- The theme is Tarski with few changes.
- The math are shown with KaTex, rendered offline.
- The heading themes are similar to Connections in Combinatorial Optimization, and the remaining themes are similar to Categories for the Working Mathematician. The symbols are of KaTeX.
- To compile just
ChaoDoc.hs, you needpandocandciteproc. To compile thesite.hs, additionally you needhakyll. - For the homepage, I generate with python. Needs to run
pip install pyyaml mistune jinja2 bs4on a new machine. - KaTeX offline compilation. Requires katex_cli. Build it and
copy the executable into the base directory, and name it
katex_cli. - Make sure install llvm 13 for things to work correctly. This will be an issue until Hakyll start to work for higher pandoc version.
2 Notes
- I made an syntax highlighting file for sublime 3, so in Markdown it can also highlight latex codes.
2.1 KB-backed pages
pages/math-harness.md is generated from the canonical
~/kb/notes/essays/math-harness.md. Edit the KB note, run
python3 sync-kb-math-harness.py, commit and push the
generated page on develop, then run ./push.sh
to update its stable URL.