xml format indent

This commit is contained in:
Jan Prochazka
2025-02-28 10:20:18 +01:00
parent 322907b972
commit 0547aa2095

View File

@@ -6,7 +6,7 @@
export let code = '';
$: formattedCode = xmlFormat(code);
$: formattedCode = xmlFormat(code, { indentation: ' ' });
onMount(() => {
hljs.registerLanguage('xml', xmlGrammar);