FOSSPicks
Text processor
pandoc 3.1
While we're in the realm of text processing, there's one tool above all others that writers turn to when they have to convert documentation in one format to documentation in another. That's pandoc. Pandoc has been around since 2006 and has just celebrated the major milestone release of 3.0, formalizing more than five years of development work. Pandoc is the text equivalent to FFmpeg, capable not just of converting a huge number of input formats to a huge number of output formats, but also transforming the text on its way through its various processors. It can convert between Markdown formats, HTML, LaTeX and DOCX, and output to PDF while transforming tables, definition lists, footnotes, and even mathematical and R notation. We used it extensively when converting magazine articles in XML to ePub.
What makes pandoc isn't so much the input and output formats it supports, but the way you can finely control how the conversion operates, often iterating over finer points in substantial sets of documentation that might otherwise take considerable effort to convert any other way. This power is thanks to what pandoc calls filters, a program module that can modify the text as it passes through. Many are included, and you can easily write your own using JSON or Lua. But the big change for this release is how pandoc runs, because you now have a choice in how you access its functionality, either using a traditional command-line tool, as a server, or via a library. This makes it easier to incorporate into whatever system you use to translate your docs. It can even be used as an interpreter, like Python, so you can quickly check command-processing effects without editing and running a script. This is a great way to get started if you've ever been put off by pandoc's complexity and definitely worth the time investment.
Project Website
![](/var/linux_magazin/storage/images/issues/2023/270/fosspicks/figdfa8c7692a7cae4c66d705713fa9fd60.png/821170-1-eng-US/figdfa8c7692a7cae4c66d705713fa9fd60.png_large.png)
TV recorder
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
![Learn More](https://www.linux-magazine.com/var/linux_magazin/storage/images/media/linux-magazine-eng-us/images/misc/learn-more/834592-1-eng-US/Learn-More_medium.png)
News
-
Gnome 48 Debuts New Audio Player
To date, the audio player found within the Gnome desktop has been meh at best, but with the upcoming release that all changes.
-
Plasma 6.3 Ready for Public Beta Testing
Plasma 6.3 will ship with KDE Gear 24.12.1 and KDE Frameworks 6.10, along with some new and exciting features.
-
Budgie 10.10 Scheduled for Q1 2025 with a Surprising Desktop Update
If Budgie is your desktop environment of choice, 2025 is going to be a great year for you.
-
Firefox 134 Offers Improvements for Linux Version
Fans of Linux and Firefox rejoice, as there's a new version available that includes some handy updates.
-
Serpent OS Arrives with a New Alpha Release
After months of silence, Ikey Doherty has released a new alpha for his Serpent OS.
-
HashiCorp Cofounder Unveils Ghostty, a Linux Terminal App
Ghostty is a new Linux terminal app that's fast, feature-rich, and offers a platform-native GUI while remaining cross-platform.
-
Fedora Asahi Remix 41 Available for Apple Silicon
If you have an Apple Silicon Mac and you're hoping to install Fedora, you're in luck because the latest release supports the M1 and M2 chips.
-
Systemd Fixes Bug While Facing New Challenger in GNU Shepherd
The systemd developers have fixed a really nasty bug amid the release of the new GNU Shepherd init system.
-
AlmaLinux 10.0 Beta Released
The AlmaLinux OS Foundation has announced the availability of AlmaLinux 10.0 Beta ("Purple Lion") for all supported devices with significant changes.
-
Gnome 47.2 Now Available
Gnome 47.2 is now available for general use but don't expect much in the way of newness, as this is all about improvements and bug fixes.