VSCode YAML Grammar Injection for AWS Cloudformation support
AWS Cloudformation relies on YAML with the addition of several functions, inline codes and variables. These are only partially highlighted within the default YAML markup, so the extension will support highlighting relevant parts of the code.
YAML Cloudformation Highlighting:
Using Inline Code:
The extension is ready to use after the installation for Syntax highlighting.
To enable inline code formatting the start and end Tag needs to be set as comment since Cloudformation has no pattern to identify start / end of certain langugaes.
The formatting will only work behind | with exactly the defined Syntax.
Following variables are currently included in the auto-highlighting
Supported Inline Codes
Following file extensions / codes are supported in the current version:
The entire project is open source and can be found on:
In case you experience any issues please raise them directly within GitHub, for contributing please feel free to raise a pull request.