Skip to content

Commit ed12eae

Browse files
committed
fix(guide): ignore import lines
1 parent 466843f commit ed12eae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/discordDocs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function formatRoutePath(path: string) {
4646
return path.replaceAll(/\[(.*?)]\(.*?\)/g, '$1');
4747
}
4848

49-
const IGNORE_LINE_PREFIXES = ['>', '---', '|', '!'];
49+
const IGNORE_LINE_PREFIXES = ['>', '---', '|', '!', 'import', 'require'];
5050

5151
export function parseSections(content: string): ParsedSection[] {
5252
const res = [];

0 commit comments

Comments
 (0)