Post-Platform Digital Publishing Toolkit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
articles:digital-publishing [2025/02/21 16:07] ipekarticles:digital-publishing [2025/02/22 08:55] (current) ipek
Line 1: Line 1:
-**[[https://pandoc.org|Pandoc]]** is a tool to convert one file format to another like markdown, html, docx, rtf, txt, epub, LaTeX, PDF and many others. Using pandoc to create a website might not be the best way, however it can be an easy start, a very DIY way of making a website, which you can always edit later on+**[[https://pandoc.org|Pandoc]]** is a tool to convert one file format to another like markdown, html, docx, rtf, txt, epub, LaTeX, PDF and many others. 
  
 [[https://pandoc.org/installing.html|Installing Pandoc]] [[https://pandoc.org/installing.html|Installing Pandoc]]
Line 6: Line 6:
  
 **Building a blog-like website with pandoc**: **Building a blog-like website with pandoc**:
 +
 +Using pandoc to create a website might not be the best way, however it can be an easy start, a very DIY ✂️ way of making a website, which you can always edit later on. This guide will show you how to make a start. 
  
 **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.  **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:  **2)** Converting the .docx file via command line: 
-pandoc --extract-media=. -s file_name.docx -t markdown -o file_name.md+<code> pandoc --extract-media=. -s file_name.docx -t markdown -o file_name.md </code>
  
 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. 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.
  
 **3a)** Converting the markdown file into html is possible via the command-line and also via the PanWriter. Via the command line: **3a)** 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  +<code> pandoc file_name.md -f markdown -t html -s -o file_name.html </code>
  
 Or you can export the markdown file to html via PanWriter. Or you can export the markdown file to html via PanWriter.
articles/digital-publishing.1740154063.txt.gz · Last modified: 2025/02/21 16:07 by ipek