From bb80a8c3af87f7aebfcd615c64d0828eacd5b414 Mon Sep 17 00:00:00 2001 From: Corentin Thomasset Date: Sun, 18 Jun 2023 12:21:47 +0200 Subject: [PATCH] feat(xml-formatter): registered xml as syntax highlighter --- src/components/TextareaCopyable.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/TextareaCopyable.vue b/src/components/TextareaCopyable.vue index 78f26d76..16e11512 100644 --- a/src/components/TextareaCopyable.vue +++ b/src/components/TextareaCopyable.vue @@ -25,6 +25,7 @@ const props = withDefaults( hljs.registerLanguage('sql', sqlHljs); hljs.registerLanguage('json', jsonHljs); hljs.registerLanguage('html', xmlHljs); +hljs.registerLanguage('xml', xmlHljs); hljs.registerLanguage('yaml', yamlHljs); const { value, language, followHeightOf, copyPlacement, copyMessage } = toRefs(props);