Skip to content

This document is a WORK IN PROGRESS.
This is just a quick personal cheat sheet: treat its contents with caution!


Pandoc

Reference(s)

Table of contents

TODO

  • Convert .md file to .html (see https://stackoverflow.com/a/18841):

    $ pandoc -f markdown input_example.md > output_example.html
    

  • Convert .tex file to .md (see https://tex.stackexchange.com/a/357789):

    $ pandoc -s input_example.tex -o output_example.md
    

  • Convert .html file to .md:

    $ pandoc -t html input_example.html -o output_example.pdf
    

  • Convert .docx file to .md:

    $ pandoc -s input_example.docx -o output_example.md
    

  • Convert .odt file to .md:

    $ pandoc -s input_example.odt -o output_example.md
    


If this cheat sheet has been useful to you, then please consider leaving a star here.