문제

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

Thanks!

도움이 되었습니까?

해결책

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.

다른 팁

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.

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top