I don't know how to set up the custom processors, and I'd also
like Marked to be able to intelligently open .mediawiki files, and
show them as they'll appear on Wikipedia, without losing the
ability to do that for .md files etc.
Anyhow; it was a suggestion for Marked 2.0, not a "how can I do
this now" kid of thought: I'd rather leave Marked set up for what
is does best.
Brett on 04 Jan, 2016 05:05 PM
I assume that the wiki backup is a database file, so Marked can't help
you initially. You'll need to convert to a folder of Markdown files
first. Then you can use the index/multi-document features of Marked to
generate a single PDF file from them. You'd probably want to script the
index creation if there are hundreds of pages, especially in a Wiki
format that isn't necessarily linear.