mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-05-01 23:43:57 +00:00
xml format indent
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
export let code = '';
|
export let code = '';
|
||||||
|
|
||||||
$: formattedCode = xmlFormat(code);
|
$: formattedCode = xmlFormat(code, { indentation: ' ' });
|
||||||
|
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
hljs.registerLanguage('xml', xmlGrammar);
|
hljs.registerLanguage('xml', xmlGrammar);
|
||||||
|
|||||||
Reference in New Issue
Block a user