{"id":21598974,"url":"https://github.com/harrydowning/vscode-yaml-embedded-languages","last_synced_at":"2025-04-11T01:04:35.358Z","repository":{"id":153377377,"uuid":"596051337","full_name":"harrydowning/vscode-yaml-embedded-languages","owner":"harrydowning","description":"A VS Code syntax extension for embedded language highlighting in YAML","archived":false,"fork":false,"pushed_at":"2024-10-15T19:56:58.000Z","size":242,"stargazers_count":45,"open_issues_count":11,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-11T01:04:19.049Z","etag":null,"topics":["javascript","syntax-highlighting","vscode","vscode-extension","yaml"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=harrydowning.yaml-embedded-languages","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/harrydowning.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-01T11:12:48.000Z","updated_at":"2025-04-10T08:39:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"908e09c9-6b09-4338-ab81-c38ed085fd27","html_url":"https://github.com/harrydowning/vscode-yaml-embedded-languages","commit_stats":null,"previous_names":["harrydowning/vscode-yaml-embedded-languages"],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harrydowning%2Fvscode-yaml-embedded-languages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harrydowning%2Fvscode-yaml-embedded-languages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harrydowning%2Fvscode-yaml-embedded-languages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harrydowning%2Fvscode-yaml-embedded-languages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harrydowning","download_url":"https://codeload.github.com/harrydowning/vscode-yaml-embedded-languages/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248322597,"owners_count":21084336,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","syntax-highlighting","vscode","vscode-extension","yaml"],"created_at":"2024-11-24T18:13:43.172Z","updated_at":"2025-04-11T01:04:35.338Z","avatar_url":"https://github.com/harrydowning.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# YAML Embedded Languages\n\n![GitHub License](https://img.shields.io/github/license/harrydowning/yaml-embedded-languages?style=for-the-badge)\n![Visual Studio Marketplace Version](https://img.shields.io/visual-studio-marketplace/v/harrydowning.yaml-embedded-languages?style=for-the-badge)\n![Visual Studio Marketplace Downloads](https://img.shields.io/visual-studio-marketplace/d/harrydowning.yaml-embedded-languages?style=for-the-badge\u0026color=rebeccapurple)\n\n\u003c/div\u003e\n\n## Features\n\nSyntax highlighting within YAML block-scalars for [50+ built-in languages](#built-in-languages \"Built-In Languages\") and the ability to add highlighting for any other language with the [yaml-embedded-languages.include](#extension-settings \"Extension Settings\") configuration setting.\n\n![Example yaml file showing syntax highlighting](https://raw.githubusercontent.com/harrydowning/yaml-embedded-languages/master/images/example.png)\n\n### Usage\n\nTo highlight a single block, place a comment with the language identifier next to the block identifier.\n\n```yaml\nexample: | # \u003clanguage-identifier\u003e\n  highlighted\n```\n\nTo highlight all blocks from a point onwards, place a comment with the extension name followed by the language identifier.\n\n```yaml\n# yaml-embedded-languages: \u003clanguage-identifier\u003e\nexample: |\n  highlighted\n```\n\nTo stop highlighting blocks place a comment with the extension name.\n\n```yaml\n# yaml-embedded-languages\nexample: |\n  not highlighted\n```\n\n### Built-In Languages\n\nThe following list shows all valid identifiers for the built-in languages:\n\n| Language         | Identifier            |\n| ---------------- | --------------------- |\n| bat              | `bat`                 |\n| bibtex           | `bibtex`              |\n| c                | `c`                   |\n| clojure          | `clojure`             |\n| coffeescript     | `coffee`              |\n| cpp              | `cpp`, `c++`          |\n| csharp           | `csharp`, `c#`        |\n| css              | `css`                 |\n| cuda-cpp         | `cuda`                |\n| dart             | `dart`                |\n| diff             | `diff`                |\n| dockercompose    | `dockercompose`       |\n| dockerfile       | `dockerfile`          |\n| fsharp           | `fsharp`, `f#`        |\n| go               | `go`                  |\n| groovy           | `groovy`              |\n| handlebars       | `handlebars`          |\n| hlsl             | `hlsl`                |\n| html             | `html`                |\n| ini              | `ini`                 |\n| jade             | `jade`                |\n| java             | `java`                |\n| javascript       | `js`, `javascript`    |\n| javascriptreact  | `jsx`                 |\n| json             | `json`                |\n| jsonc            | `jsonc`               |\n| jsonl            | `jsonl`               |\n| julia            | `julia`               |\n| latex            | `latex`               |\n| less             | `less`                |\n| log              | `log`                 |\n| lua              | `lua`                 |\n| makefile         | `make`, `makefile`    |\n| markdown         | `markdown`            |\n| markdown-math    | `math`                |\n| objective-c      | `objc`                |\n| objective-cpp    | `objcpp`              |\n| perl             | `perl`                |\n| php              | `php`                 |\n| pip-requirements | `pip`, `requirements` |\n| powerfx\\*        | `powerfx`             |\n| powershell       | `powershell`          |\n| properties       | `properties`          |\n| python           | `py`, `python`        |\n| r                | `r`                   |\n| raku             | `raku`                |\n| razor            | `razor`               |\n| regex\\*          | `regex`               |\n| restructuredtext | `rst`                 |\n| ruby             | `ruby`                |\n| rust             | `rust`                |\n| scss             | `scss`                |\n| shaderlab        | `shaderlab`           |\n| shellscript      | `shell`               |\n| sql              | `sql`                 |\n| swift            | `swift`               |\n| tex              | `tex`                 |\n| typescript       | `ts`, `typescript`    |\n| typescriptreact  | `tsx`                 |\n| vb               | `vb`                  |\n| xml              | `xml`                 |\n| xsl              | `xsl`                 |\n| yaml             | `yaml`                |\n\n\\*_Not a valid VS Code language_\n\n## Requirements\n\nNone\n\n## Extension Settings\n\n| Name                              | Description                                                                                                                                                                                                                                                                                                                                                                           |\n| --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `yaml-embedded-languages.include` | An object where the key defines the language identifier with regex and the value specifies the language TextMate scope name. By default the language identifier will be used as the language name. To change this, the value can be specified as an object with properties including `name`, `scopeName` (required), and `stripIndent`. Hover over these in VS Code to find out more. |\n\n## Known Issues\n\nSee [Issues](https://github.com/harrydowning/vscode-yaml-embedded-languages/issues)\n\n## Contribution Notes\n\nSee [CONTRIBUTING](CONTRIBUTING.md)\n\n## Release Notes\n\nSee [CHANGELOG](CHANGELOG.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharrydowning%2Fvscode-yaml-embedded-languages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharrydowning%2Fvscode-yaml-embedded-languages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharrydowning%2Fvscode-yaml-embedded-languages/lists"}