Login  Register

Re: Is there any tool that convert html to asciidoctor?

Posted by mojavelinux on Oct 29, 2018; 9:51pm
URL: https://discuss.asciidoctor.org/Is-there-any-tool-that-convert-html-to-asciidoctor-tp6563p6570.html

Asciidoc FX also supports converting to from HTML to AsciiDoc on paste.

Keep in mind that converting from HTML to AsciiDoc is always tricky since HTML is essentially a schemaless language. A tool can probably take care of the very broad strokes such as demarcating section headings and paragraphs, but to get any sort of decent result is probably going to require some custom mapping or scripting.

The best advice I can give you is to not store documents in HTML because it cannot properly preserve the integrity of the document (unless you were to agree on a very strict schema).

Cheers,

-Dan

On Mon, Oct 29, 2018 at 9:02 AM rwinch [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Pandoc should work. You can also try it online.


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Is-there-any-tool-that-convert-html-to-asciidoctor-tp6563p6564.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