summaryrefslogtreecommitdiff
path: root/packages/integrations/markdoc/src/heading-ids.ts
diff options
context:
space:
mode:
authorGravatar Darius <19603573+itsMapleLeaf@users.noreply.github.com> 2024-08-08 05:12:50 -0500
committerGravatar GitHub <noreply@github.com> 2024-08-08 12:12:50 +0200
commit72c7ae9901de927ae8d9d5be63cbaef4f976422c (patch)
tree6e41a6b07ad8830375ba7b0e4d924fd9449dc7ef /packages/integrations/markdoc/src/heading-ids.ts
parent85de47cd982fd13c6286bcc0be384a220996ccbd (diff)
downloadastro-72c7ae9901de927ae8d9d5be63cbaef4f976422c.tar.gz
astro-72c7ae9901de927ae8d9d5be63cbaef4f976422c.tar.zst
astro-72c7ae9901de927ae8d9d5be63cbaef4f976422c.zip
update formatter config (#11640)
* update formatter config * format --------- Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Diffstat (limited to 'packages/integrations/markdoc/src/heading-ids.ts')
-rw-r--r--packages/integrations/markdoc/src/heading-ids.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/integrations/markdoc/src/heading-ids.ts b/packages/integrations/markdoc/src/heading-ids.ts
index d0d14f2b1..9290a3db6 100644
--- a/packages/integrations/markdoc/src/heading-ids.ts
+++ b/packages/integrations/markdoc/src/heading-ids.ts
@@ -10,7 +10,7 @@ import { MarkdocError } from './utils.js';
function getSlug(
attributes: Record<string, any>,
children: RenderableTreeNode[],
- headingSlugger: Slugger
+ headingSlugger: Slugger,
): string {
if (attributes.id && typeof attributes.id === 'string') {
return attributes.id;