All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

VS Code Extension for Syntax Highlighting in YAML Embedded Languages

By

moondev

10mo ago· 4 min readenCode

Summary

The article introduces a VS Code syntax extension called 'vscode-yaml-embedded-languages,' which provides syntax highlighting for embedded languages within YAML block-scalars. It supports over 50 built-in languages and allows users to add custom languages via configuration. The extension is designed to enhance readability and usability for developers working with YAML files.

Key quotes

· 3 pulled
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.
To highlight a single block, place a comment with the language identifier next to the block identifier.
To highlight all blocks from a point onwards, place a comment with the extension name followed by the language identifier.
Snippet from the RSS feed
A VS Code syntax extension for embedded language highlighting in YAML - harrydowning/vscode-yaml-embedded-languages

You might also wanna read