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