Skip to content

Commit 15bc874

Browse files
committed
🎨 Prettify
1 parent 20ec066 commit 15bc874

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎src/headings.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ const getTextContent = (children: RenderableTreeNode[]): string => {
2929
};
3030

3131
const getSlug = (
32-
attributes: Record<string, any>, // eslint-disable-line @typescript-eslint/no-explicit-any
33-
children: RenderableTreeNode[],
32+
attributes: Record<string, any>, // eslint-disable-line @typescript-eslint/no-explicit-any
33+
children: RenderableTreeNode[],
3434
): string => {
3535
if (attributes.id && typeof attributes.id === "string") {
3636
return attributes.id;

‎src/main.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export const markdocPreprocess = (options: Options = {}): PreprocessorGroup => {
144144
const fullConfig: Config = {
145145
// Start with base config loaded from the schema directory
146146
// Explicitly set options overwrite the base config
147-
// For example, this processor's heading comes first so it's overwritten
147+
// For example, this processor's heading comes first so it's overwritten
148148
nodes: { heading, ...configFromSchema.nodes, ...nodes },
149149
tags: { ...configFromSchema.tags, ...tags },
150150
functions: { ...configFromSchema.functions, ...functions },

0 commit comments

Comments
 (0)