Pandoc
pandoc.org
Pandoc
1–10 of 213 posts
Re: Pandoc
#2I love pandoc. I've been using it intermittently for years to turn my Markdown and org-mode documents into other formats. Just wish it would take Asciidoc as an input format.
Re: Pandoc
#3[deleted]
Re: Pandoc
#4Pandoc is great software for converting among file formats, such as text, markdown, HTML, PDF, etc.
Example:
pandoc in.md -o out.html -V pagetitle="My Title" --to=html5 --template="my.html" --css "my.css"
The example converts a markdown file to HTML, using a given title, a template file, and a stylesheet file.The pipeline is also well implemented with Haskell, which is good for writing your own fast functional transformations.
Re: Pandoc
#5I 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://github.com/tomhodgins/responsive.style/blob/master/s...
Re: Pandoc
#6One nice trick that I use all the time is to convert html to md and back again in order to clean it.
Anyway, pandoc is great.
Re: Pandoc
#7Even though org-mode has its own exporters, Pandoc is great for the extra bibtex integration.
Re: Pandoc
#8I wish they’d fix the md to adoc table conversion issues. Apart from that I love it.
Re: Pandoc
#9Is there an equivalent of this for spreadsheets?
Re: Pandoc
#10What don't I use it for?
+ Static websites from any input to html
+ Markdown & TeX & References to pdf for academia
+ Generating manpages for new tools
+ Generating ebooks
... Let's just say I get a bit lost when it isn't available.