[NTG-context] How to do code listings & sections from XML (AsciiDoc)

Aditya Mahajan adityam at umich.edu
Fri Aug 12 23:20:18 CEST 2022


On Fri, 12 Aug 2022, Mojca Miklavec via ntg-context wrote:

> Hi,
> 
> Hans helped me out with some asciidoc processing a while ago.
> 
> I played a bit further, but I'm currently facing two minor issues:
> 
> (a) I don't know how to turn program listing (verbatim code) from xml
> to (perhaps, vim-based) syntax highlighting (but most importantly, to
> make sure that line breaks work properly)

Does something like this work:

https://wiki.contextgarden.net/Verbatim_XML

Aditya


More information about the ntg-context mailing list