From ffb99579bac0035c304cd4a66db63a97cc01fe17 Mon Sep 17 00:00:00 2001 From: cgoIT Date: Mon, 27 Mar 2023 17:31:13 +0200 Subject: feat(new-tool): add a docker run to docker compose converter (#291) * Integrate composerize (https://github.com/magicmark/composerize) into it-tools * Fix Prettier errors * Fix Prettier errors * Fix code according to suggestions * Added syntax highlighting to TextareaCopyable component, some ui adjustments in docker-run-to-docker-compose-converter.vue --- src/components/TextareaCopyable.vue | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/components/TextareaCopyable.vue') diff --git a/src/components/TextareaCopyable.vue b/src/components/TextareaCopyable.vue index 12d189e..4bc09f4 100644 --- a/src/components/TextareaCopyable.vue +++ b/src/components/TextareaCopyable.vue @@ -34,11 +34,13 @@ import hljs from 'highlight.js/lib/core'; import jsonHljs from 'highlight.js/lib/languages/json'; import sqlHljs from 'highlight.js/lib/languages/sql'; import xmlHljs from 'highlight.js/lib/languages/xml'; +import yamlHljs from 'highlight.js/lib/languages/yaml'; import { ref, toRefs } from 'vue'; hljs.registerLanguage('sql', sqlHljs); hljs.registerLanguage('json', jsonHljs); hljs.registerLanguage('html', xmlHljs); +hljs.registerLanguage('yaml', yamlHljs); const props = withDefaults( defineProps<{ -- cgit v1.2.3