Re:Tufte CSS
by zzleeper on Sunday March 05, 2023 @02:25PM
(#35032994)
This is amazing. I wonder if it's possible to integrate it with a static site generator (Hugo Jekyll pelican etc) so I can get the best of both worlds?
[ Parent
| on HN ]
I’ve had good luck integrating with Astro.JS (https://astro.build/), good luck!
My website is in my bio, happy to chat if you want to do something similar.
Re:Tufte CSS
by bendiksolheim on Sunday March 05, 2023 @03:14PM
(#35033493)
I have made my own theme for Zola (https://www.getzola.org) based on Tufte CSS. It was mostly straight forward, I believe I more or less recreated the structure on https://edwardtufte.github.io/tufte-css/. You can see my website on my profile, if you are interested.
There's https://github.com/jez/tufte-pandoc-css which integrates with Pandoc.
I use it for my blog that features margin notes from time to time: https://blog.kdheepak.com/
Though I had to write a lua filter to make the Pandoc margin notes work appropriately :)
Here's one for Hugo: https://themes.gohugo.io/themes/hugo-tufte/
And here's one for Jekyll: https://github.com/clayh53/tufte-jekyll