Faust programs may nowadays contain extensive documentation sections enclosed between the <mdoc> ... </mdoc> tags. For instance, see this example from the Faust Quick Reference:
mdoc-example.dsp.zip
We don't currently handle these, which makes sources including such sections look odd in Emacs when editing them using Faust mode. I think that the easiest way to go there is to just treat these sections as comments. As the "comment delimiters" are XML tags in this case, we can't use the syntax table for this. But I've done something similar for the inline code sections in Pure mode. I'll have to look that up and see whether I can adjust it so that it works in this case.
Faust programs may nowadays contain extensive documentation sections enclosed between the
<mdoc> ... </mdoc>
tags. For instance, see this example from the Faust Quick Reference: mdoc-example.dsp.zipWe don't currently handle these, which makes sources including such sections look odd in Emacs when editing them using Faust mode. I think that the easiest way to go there is to just treat these sections as comments. As the "comment delimiters" are XML tags in this case, we can't use the syntax table for this. But I've done something similar for the inline code sections in Pure mode. I'll have to look that up and see whether I can adjust it so that it works in this case.