February 24, 2020

[Tip] How to convert AsciiDoc to Markdown

I write posts on this blog using AsciiDoc, but a couple of resources I repost on support only Markdown, so to convert articles I use the following commands:

asciidoctor -b docbook index.adoc
pandoc -f docbook -t markdown_mmd -o index.md index.xml --wrap=none

The only question that remains is how to properly convert code listings' captures.

Thanks to the authors of the following articles:

© Roman Kudryashov 2019-2024

Powered by Hugo & Kiss.