Asciidoctor: generate mediawiki markup?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Asciidoctor: generate mediawiki markup?

Ams627
is it possible for Asciidoctor to generate mediawiki markup?

Thanks

A
Reply | Threaded
Open this post in threaded view
|

Re: Asciidoctor: generate mediawiki markup?

mojavelinux
Administrator
Asciidoctor can generate DocBook, which can then be converted to mediawiki using pandoc. The results are quite good.

asciidoctor -b docbook document.adoc
pandoc -f docbook -t mediawiki -o document.mediawiki document.xml

You can even do it in a single command:

asciidoctor -b docbook -o - document.adoc | pandoc -f docbook -t mediawiki -o document.mediawiki -

-Dan

On Fri, May 18, 2018 at 1:23 PM, Ams627 [via Asciidoctor :: Discussion] <[hidden email]> wrote:
is it possible for Asciidoctor to generate mediawiki markup?

Thanks

A



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Asciidoctor-generate-mediawiki-markup-tp6343.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux
Reply | Threaded
Open this post in threaded view
|

Re: Asciidoctor: generate mediawiki markup?

Ams627
Thank you, that works almost  perfectly. The only thing that didn't work were the code callouts.

A.