Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Out of curiosity, did you consider using pandoc? https://pandoc.org/MANUAL.html

For context/the uninitiaatd, I think of pandoc as the "postgres" of markdown-to-<blessed_format>: you can build your own text-format-converter, but oftentimes you can get 90% of the way there with pandoc, and fill in the rest with custom filters and elbow grease.

To whet your appetite, I have a personal site that checks your boxes, where the build script is basically one long invocation of pandoc and xargs. In my experience and that of others', building on top of pandoc can get you to quite satisfying places and workflows (e.g. https://www.gwern.net/About).

(Also, fwiw, we use it at my place of work for writing versioned technical documentation, as well.)

Keep on plain-texting! :)



I've used it in the past but I reach for Python most of the time.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: