Re: Creating adoc files dynamically with blocks

Posted by mojavelinux on
URL: https://discuss.asciidoctor.org/Creating-adoc-files-dynamically-with-blocks-tp8165p8191.html

guido,

Yes, it's true that a converter cannot reproduce exactly the same document as the input. For one, the preprocessor reader runs before the parser and omits certain lines. But the parser also doesn't keep track of where it took metadata, so it's not possible for instance to recreate the attributes on a node (block or inline) in the exact same way. However, you could emit something more tidy ;)

> I'll let you know when I have something functional, even if it doesn't cover all functionality.

That's great news. I look forward to seeing it.

Best Regards,

-Dan

--
Dan Allen (he, him, his) | @mojavelinux | https://twitter.com/mojavelinux