Re:Show HN: Publish a Markdown website in 5 minutes
by sirtimbly on Tuesday November 22, 2016 @12:28PM
(#13015656)
The only thing more fragile and hard to setup than a static site generator is probably pandoc. All of these are terrible Yak Shaving opportunities. Yet, I still do it.
Re:Show HN: Publish a Markdown website in 5 minutes
by branchly2 on Wednesday November 23, 2016 @09:33AM
(#13022868)
The Pandoc site appears to provide binary downloads for the major platforms. Myself, I just always do `apt install pandoc`.
Pandoc is written in Haskell, but when built it's just a regular binary.
Re:Show HN: Publish a Markdown website in 5 minutes
by erelde on Tuesday November 22, 2016 @06:32AM
(#13013321)
+1 for Pandoc
I use it a lot, I've collected of quite large collection of long form articles/"opinion pieces"/etc from websites and used pandoc to translate them into epub. (after manually pruning some html)
You can generate a HTML fragment, or an HTML file, or HTML with table of contents, CSS, and footer, etc. http://pandoc.org/demos.html
It has some pretty heavy dependencies, but so far I haven't found anything better for generating a true static site from Markdown. I probably haven't looked hard enough either.