How can I create JavaScript comments in derived files?
I’m writing a Windows Script Component, which is an XML file with a CDATA section containing Javascript. I can get the XML as I want it by setting the language to html, but how can I get the tangling comments inside the CDATA section to be java-style comments rather than html ones? In @file trees you use the @delims directive to change comment delimiters. For example: @delims /* */ Javascript stuff @delims <-- --> HTML stuff Warning: Leo2 can not revert to previous delimiters automatically; you must change back to previous delimiters using another @delims directive. In @root trees you can work around this problem using the @silent directive.
How can I create JavaScript comments in derived files?