YAML Embedded Languages
Features
Syntax highlighting within YAML block-scalars for 50+ built-in languages and the ability to add highlighting for any other language with the yaml-embedded-languages.include configuration setting.
Usage
To highlight a single block, place a comment with the language identifier next to the block identifier.
example : | #
To highlight all blocks from a point onwards, place a comment with the extension name followed by the language identifier.
# yaml-embedded-languages:
To stop highlighting blocks place a comment with the extension name.
# yaml-embedded-languages example : | not highlighted
... continue reading