Open deoren opened 5 years ago
I began the process, but still have a good bit to do (and limited time to complete the work).
Scratch notes below from an Ubuntu 18.04 LTS x64 test box. Not shown here is me opening a text editor and pasting/saving the raw text from the linked MediaWiki page as youcandoit.wiki.txt
.
sudo apt-get update && sudo apt-get install -y lxd lxd-client lxd-tools criu
lxc launch ubuntu:18.04 mediawiki-convert-test
lxc file push youcandoit.wiki.txt mediawiki-convert-test/home/ubuntu/
lxc exec mediawiki-convert-test -- sudo --login --user ubuntu
sudo apt-get update && sudo apt-get install -y pandoc git texlive-latex-recommended texlive-xetex
pandoc -f mediawiki -t markdown input.txt -o youcandoit.md
exit
lxc file pull mediawiki-convert-test/home/ubuntu/youcandoit.md .
I've added both the original text and the markdown converted file to a new branch, but haven't spent the needed time yet to clean up the output file (though it's already a good start in that direction).
Drop into a Markdown "docs" file in order to bundle notes alongside the code.
Current wiki notes: