This extension provides syntax highlighting for content embedded within CDATA sections in XML files. It detects whether a CDATA block holds SQL, Markdown or a URL and highlights it accordingly.
Features
Syntax highlighting for SQL code within CDATA tags in XML files.
Dedicated highlighting for SQL keywords, functions, and operators.
Markdown highlighting for documentation blocks (e.g. <description>).
URL highlighting with [[param]] and {param} placeholders marked as variables.
The closing ]]> is always recognized, even after unclosed brackets, strings or comments.
Content detection
The type of a CDATA block is decided by its first non-blank character (it may be on the line after <![CDATA[). The first matching rule wins: