Post-Platform Digital Publishing Toolkit

This is an old revision of the document!


Pandoc is a tool to convert one file format to another like markdown, html, docx, rtf, txt, epub, LaTeX, PDF and many others.

Installing Pandoc

Pandoc is a command-line tool, not a graphic user interface. But there is also the graphic user interface, the Pan Writer tool, where you can write and see how it looks like in real life (more or less) and most importantly you can convert files via the interface without using the command-line. You need to install Pandoc nevertheless.

Building a blog-like website with pandoc:

1) You can create a doc file with your usual text editor program, Libre Office for example. You can insert tables to make your menu or buttons, or you can fill the page entirely with tables. Save it as .docx locally in your computer.

2) Converting the .docx file via command line: pandoc –extract-media=. -s file_name.docx -t markdown -o file_name.md

extract media enables to extract the images and makes a folder for them. -s is the usual Pandoc template that is being used in the markdown format.

3) Converting the markdown file into html is possible via the command-line and also via the PanWriter. Via the command line: pandoc file_name.md -f markdown -t html -s -o file_name.html

Or you can export the markdown file to html via PanWriter.

An example of a html file converted from a .docx file:

You can build your site even entirely out of tables and style them in your html file, here some intro to building tables.

HTML - Tables

You can also create a html file out of multiple markdown files.

articles/digital-publishing.1740142568.txt.gz · Last modified: 2025/02/21 12:56 by ipek