On Sat, 24 Nov 2018 at 10:25, <[email protected]> wrote: >> >> I think what you are looking for is something that allows you to parse >> the table using a filter then use asciidoc to markup the contents? >> >> Asciidoc Python is not reentrant (it has global stuff everywhere), so >> you can't call Asciidoc itself from the filter, it has to be spawned >> as a separate process and that is what tables do if the style is 'a' >> https://github.com/asciidoc/asciidoc-py3/blob/618f6e6f6b558ed1e5f2588cd60a5a6b4f881ca0/asciidoc.conf#L567. >> >> You could probably do that from your filter, although its an expensive >> way to do it (running an asciidoc process for each cell). >> >> Cheers >> Lex >> > > Hmm That's not a bad idea... what about the asciidoc API? Wouldn't that do > the trick?
If its used inside the filter that runs as a separate process it should be ok. Its not clear if it can be invoked multiple times from the one process, but its also not clear that it can't. Just try it I guess. Cheers Lex > > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/asciidoc. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/asciidoc. For more options, visit https://groups.google.com/d/optout.
