About this site
This is a statically generated website, built with custom Node.js scripts and deployed with Vercel. So there is JavaScript involved in delivering this website to you. However, there is no JavaScript on this website.
Pages start as Markdown files. The build script creates HTML and PDF versions of each Markdown document. Any page can be viewed as HTML with the .html
extension, as PDF with the .pdf
extension, or as raw Markdown with the .md
extension. The resulting PDF and HTML files share some styling and theme variables. All in all it's about 150 lines of code. And, you know, there's a lot of object literals with a bunch of newlines. That's all I'm saying.
Credit to:
- The remark family of Markdown transformers
- The related rehype family of HTML transformers
- The pdfkit suite of pure-JavaScript PDF generation tools.
There have been previous versions of my personal website.