Live data from Hacker News

Pandoc

pandoc.org

11–20 of 213 posts

Re: Pandoc

#11
My favorite pandoc hack is using it to convert word docs into markdown which can then be diffed similar to source code. Works great for legal redlining.

Re: Pandoc

#12
post #5

I use Pandoc to convert directories of Markdown files into static HTML websites. Here's the build command for responsive.style[1]: pandoc $file -f markdown -t html5 -H templates/header-prod.html -B templates/nav.html -A templates/footer-prod.html -o (echo "../$file" | sed '$s/\.md$/.html/') -s --data-dir=./ --highlight-style breezedark --variable=file:(echo "$file" | sed '$s/\.md$/.html/') Works beautifully! 1: https…

I know Blot.im as one static site generator that uses it: https://github.com/davidmerfield/Blot/blob/master/app/models...

Re: Pandoc

#13
Pandoc is also a great educational Haskell project for those looking into how it all works.

Re: Pandoc

#16
I do all of my academic writing in pandoc. As compared to LaTeX this means no boilerplate (yet you can still use full LaTeX syntax for equations and the like) and, if the publisher 'needs' a Word file, you are one click away from providing it. All with plain text files that you can put under version control, get meaningful diffs, etc. It's just great.

Re: Pandoc

#18

I do all of my academic writing in pandoc. As compared to LaTeX this means no boilerplate (yet you can still use full LaTeX syntax for equations and the like) and, if the publisher 'needs' a Word file, you are one click away from providing it. All with plain text files that you can put under version control, get meaningful diffs, etc. It's just great.

What's your workflow for inserting and managing references

Re: Pandoc

#20
Maybe I used an older version but my attempts to use pandoc usually resulted in the document being butchered because the internal representation was not as expressive as the source or target formats.
Post reply on HN