mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-30 09:00:21 +03:00
Merge branch 'up/feat/js-to-json' into chore/all-my-stuffs
This commit is contained in:
commit
de8bb9bfae
8 files changed
+119
-1
No files matched your search
@@ -2,6 +2,7 @@
|
||||
import { Copy } from '@vicons/tabler';
|
||||
import { useElementSize } from '@vueuse/core';
|
||||
import hljs from 'highlight.js/lib/core';
|
||||
import javascriptHljs from 'highlight.js/lib/languages/javascript';
|
||||
import jsonHljs from 'highlight.js/lib/languages/json';
|
||||
import sqlHljs from 'highlight.js/lib/languages/sql';
|
||||
import xmlHljs from 'highlight.js/lib/languages/xml';
|
||||
@@ -37,6 +38,7 @@ const props = withDefaults(
|
||||
downloadButtonText: 'Download',
|
||||
},
|
||||
);
|
||||
hljs.registerLanguage('javascript', javascriptHljs);
|
||||
hljs.registerLanguage('sql', sqlHljs);
|
||||
hljs.registerLanguage('json', jsonHljs);
|
||||
hljs.registerLanguage('html', xmlHljs);
|
||||
|
||||
Reference in new issue
Block a user