Hacker News new | ask | show | jobs
by yoha 4282 days ago
I like the philosophy behind Markdown: you write a simple text file and this is your article. If you want, you can fire up `pandoc` and convert it to HTML to make a nice website. Then, make it a PDF for constant rendering.

I personally started using Markdown as well for my website. I have a simple Makefile that finds `*.md` files and convert them to HTML using pandoc with some custom options. I can edit files very simply with vim instead of an online editor bloated with Javascript.

1 comments

My blog is Markdown + a bunch of custom filters that adds things like syntax-highlighting, and inline conversion of Graphviz diagrams to either inline SVG or a linked image.

I don't think I'll ever go back to a "full-featured" blog platform - the convenience of having a git repo that is 90% just the article text, with a sprinkling of code for rendering that I can trivially augment to add shortcuts if/when I feel like it, is very pleasing.

Do you convert graphviz diagrams client or server side? ...I'm thinking of going mathjax style client side (for the convenience) with https://github.com/mdaines/viz.js/, if I ever need it. (I'm making yet another static site gen...)