From 8f6be9dd11d31bddf282bc41d44dae826c9ff8b5 Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Sat, 21 Jan 2023 13:44:11 +0100 Subject: [PATCH] YAML highlighting for embed blocks --- web/editor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/editor.tsx b/web/editor.tsx index 123ce0a7..98ae635f 100644 --- a/web/editor.tsx +++ b/web/editor.tsx @@ -501,7 +501,7 @@ export class Editor { codeLanguages: [ LanguageDescription.of({ name: "yaml", - alias: ["meta", "data"], + alias: ["meta", "data", "embed"], support: new LanguageSupport(StreamLanguage.define(yamlLanguage)), }), LanguageDescription.of({