Skip to content

Commit 015db15

Browse files
[core] Remove old marked JS options (#44375)
1 parent 075a785 commit 015db15

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

docs/scripts/reportBrokenLinks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function getPageLinks(markdown) {
1515
hrefs.push(href);
1616
}
1717
};
18-
marked(markdown, { mangle: false, headerIds: false, renderer });
18+
marked(markdown, { renderer });
1919
return hrefs;
2020
}
2121

packages/markdown/parseMarkdown.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,8 @@ const prism = require('./prism');
77
*/
88
const markedOptions = {
99
gfm: true,
10-
tables: true,
1110
breaks: false,
1211
pedantic: false,
13-
sanitize: false,
14-
smartLists: true,
15-
smartypants: false,
16-
headerPrefix: false,
17-
headerIds: false,
18-
mangle: false,
1912
};
2013

2114
const headerRegExp = /---[\r\n]([\s\S]*)[\r\n]---/;

0 commit comments

Comments
 (0)