Many times when I use Markdown I will process a file and when done convert it to HTML or other formats. Sometimes I have to create some files. When wo

Convert Various Markdown Files to Other Formats on Linux

submited by
Style Pass
2021-06-05 03:45:16

Many times when I use Markdown I will process a file and when done convert it to HTML or other formats. Sometimes I have to create some files. When working on multiple Markdown files, I usually wait until I'm done before converting.

Markdown can convert your files to .html, but if possible I have to convert to other formats, like epub, pandoc is a tool that can be used. I prefer to use the command line so I'll introduce it first, but you can also do this in VSCodium without a command line. I will also introduce it.

To get started quickly, Ubuntu and other Debian distributions can type the following commands in the terminal:

There is no HTML file yet. Now I'll use Pandoc to do its magic on collections of files. To do this, I ran a one-line command:

Leave a Comment