HTML & Markdown & PDF & LibreOffice

Transform many document formats with pandoc. Two examples:

pandoc impressum.html -V geometry:a4paper -V geometry:margin=2cm -s -o impressum.pdf
pandoc -f html -t markdown impressum.html -o impressum.md
pandoc --toc --standalone -f markdown -t latex test.md -o test.html
pandoc file.md -V geometry:a4paper -V geometry:margin=2cm --number-sections -f markdown-implicit_figures -s -o file.pdf
pandoc -f markdown -t odt -o file.odt impressum.md
pandoc --list-output-formats

asciidoc
beamer
commonmark
context
docbook
docbook5
docx
dokuwiki
dzslides
epub
epub3
fb2
haddock
html
html5
icml
json
latex
man
markdown
markdown_github
markdown_mmd
markdown_phpextra
markdown_strict
mediawiki
native
odt
opendocument
opml
org
plain
revealjs
rst
rtf
s5
slideous
slidy
tei
texinfo
textile
zimwiki