aboutsummaryrefslogtreecommitdiff
path: root/src/components/TextareaCopyable.vue
diff options
context:
space:
mode:
authorGravatar cgoIT <info@cgo-it.de> 2023-03-27 17:31:13 +0200
committerGravatar GitHub <noreply@github.com> 2023-03-27 17:31:13 +0200
commitffb99579bac0035c304cd4a66db63a97cc01fe17 (patch)
treea123fabc2abae9783f0dae2302b126eaec4c1324 /src/components/TextareaCopyable.vue
parentf512d092275844c30a474ac9f8fc3de7617b9cd9 (diff)
downloadit-tools-ffb99579bac0035c304cd4a66db63a97cc01fe17.tar.gz
it-tools-ffb99579bac0035c304cd4a66db63a97cc01fe17.tar.zst
it-tools-ffb99579bac0035c304cd4a66db63a97cc01fe17.zip
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
Diffstat (limited to 'src/components/TextareaCopyable.vue')
-rw-r--r--src/components/TextareaCopyable.vue2
1 files changed, 2 insertions, 0 deletions
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<{