Many popular programs use a strange file format for data exports called OPML, or “Outline Processor Markup Language” (such as the popular note-taking app, WorkFlowy). This XML-based format is often used to relay outlines and mind maps as a hierarchical, ordered list of arbitrary elements. One of the benefits of using this format is its wide-spread use in other applications as a means of “importing” data. But what if you want to render OPML on your own without using third party software? It was this simple question that led me to write opml2pdf.sh, a simple but powerful Bash shell script.
You can download my source shell script at the following location: