5 ms·
Funny, I've been using the same sort of format for my own notes on physics [1]. Although in my graph there is no semantic meaning between graph nodes, maybe I s
by jackhalford 5y ago
Funny, I've been using the same sort of format for my own notes on physics [1]. Although in my graph there is no semantic meaning between graph nodes, maybe I should add that.
1: https://0x5.be/physics-notes/index.html https://0x5.be/physics-notes/index.html
- Telemakhos 5y agoI really like that, especially the SVG diagrams. Is this exported from some flavor of TeX?
- jackhalford 5y agoThe page source is markdown, compiled to html with pandoc using mathjax. There's some extra pandoc filtering magic to create hoverable equations. The svg graphs are autogenerated from markdown links inside of the pages sources.
- prpl 5y agoTIL about lua filters in pandoc 2+. I saw that there's a diagram/graphvix thing in pandoc too - is pandoc doing the svg graphs, or something else doing the autogeneration?
- jackhalford 5y agoThe svg graphs are just generated from extracting markdown links. Right now it's a bash script that writes dot code to a file, and then the dot is compiled to svg... I really need to switch that bash script to jinja or anything a little more serious.