Mention syntax highlighting in Manual
The manual should give an example to include some code sample with:
<informalexample>
<programlisting language="json">
<xi:include href="example.json" parse="text" xmlns:xi="http://www.w3.org/2001/XInclude"/>
</programlisting>
</informalexample>
<informalexample>
<programlisting language="c">
<xi:include href="example.c" parse="text" xmlns:xi="http://www.w3.org/2001/XInclude"/>
</programlisting>
</informalexample>
It took me a long time to figure-out that:
-
<programlisting>
could have alanguage="foo"
property -
<informalexample>
was required to have syntax highlighting
Edited by Corentin Noël