Open deoren opened 5 years ago
Well, unless I missed something, this was super easy.
lxc launch ubuntu:18.04 mediawiki-convert-test
lxc exec mediawiki-convert-test -- /bin/bash
sudo apt-get update && sudo apt-get install -y pandoc git texlive-latex-recommended texlive-xetex
input.txt
pandoc -f mediawiki -t rst input.txt -o output.rst
Voila, reST format achieved.
Note: I used my notes from #3 to get started here with pandoc packages.
Goals
Convert raw MediaWiki formatted content into another open format that I can parse further with tooling to produce PDF, epub or other consumable formats
Write up the experience in an easy to follow manner so that others can benefit from what I learn
References