mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 20:33:02 +00:00
fix(docs): restore "scripts-markup-styles" svelte sort order
This commit is contained in:
parent
373feac054
commit
3529c9ffe6
1 changed files with 1 additions and 0 deletions
|
@ -67,6 +67,7 @@ function plugin() {
|
||||||
const scriptBlock = createImports(node.value);
|
const scriptBlock = createImports(node.value);
|
||||||
const formattedCode = format(scriptBlock + node.value, {
|
const formattedCode = format(scriptBlock + node.value, {
|
||||||
parser: "svelte",
|
parser: "svelte",
|
||||||
|
svelteSortOrder: "scripts-markup-styles",
|
||||||
});
|
});
|
||||||
const highlightedCode = Prism.highlight(
|
const highlightedCode = Prism.highlight(
|
||||||
formattedCode,
|
formattedCode,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue