2

I am looking for a Python tool to convert html into AsciiDoc markup.

Thanks!

3 Answers 3

7

Not a tool based in Python, but in Haskell: http://johnmacfarlane.net/pandoc/ - this awesome tool can transform as many formats as you can imagine. Highly recommended.

Sign up to request clarification or add additional context in comments.

1 Comment

I am working with asciidoctor in ruby and pandoc was the way to go from html to asciidoc thanks to your comment :)
1

I don't think such a tool exists, because of the flexible structure of HTML files.

But you can easily write one. If you know the specific format of an HTML document, just parse html and construct the desired AsciiDoc.

Comments

0

We are developing to-asciidoc project. https://github.com/asciidocfx/to-asciidoc

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.