Skip to content

Commit

Permalink
[core] Remove old marked JS options (#44375)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeeshanTamboli authored Nov 12, 2024
1 parent 075a785 commit 015db15
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion docs/scripts/reportBrokenLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function getPageLinks(markdown) {
hrefs.push(href);
}
};
marked(markdown, { mangle: false, headerIds: false, renderer });
marked(markdown, { renderer });
return hrefs;
}

Expand Down
7 changes: 0 additions & 7 deletions packages/markdown/parseMarkdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,8 @@ const prism = require('./prism');
*/
const markedOptions = {
gfm: true,
tables: true,
breaks: false,
pedantic: false,
sanitize: false,
smartLists: true,
smartypants: false,
headerPrefix: false,
headerIds: false,
mangle: false,
};

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

0 comments on commit 015db15

Please sign in to comment.