Comment on Haptic: A new local-first, privacy-focused and open-source home for your markdown notes
JackbyDev@programming.dev 2 months ago
My dream is something that can take a stack of markdown files with relative links and generate a static site from them. This is embarrassingly difficult. Right now I think that the GitHub Pages Ruby Gem is the best way but it has too many assumptions about being in a GitHub repository to work. Vanilla Jekyll is nice but I don’t want to deal with a bunch of configs to get the experience I want.
xcjs@programming.dev 2 months ago
It would be extremely barebones, but you can do something like this with Pandoc.
JackbyDev@programming.dev 2 months ago
I think I looked into this before and it lacked a feature, but I don’t remember what it was. I might be getting it mixed up with another tool. There were a lot of tools that almost worked but were focused on making books with ordered pages rather than a tree. I think gitbook was one.
For folks interested in following in my footsteps, eleventy didn’t fit because it couldn’t convert relative links to markdown files to relative HTML links to the HTML files (out of the box, probably possible with plugins).
This just feels like such an obvious thing there would be a tool for but I can’t find one. Even most editors that render Markdown as a preview can do this out of the box.