diff --git a/docs/scripts/reportBrokenLinks.js b/docs/scripts/reportBrokenLinks.js index 5fd6de1bf24709..833234dcf333c4 100644 --- a/docs/scripts/reportBrokenLinks.js +++ b/docs/scripts/reportBrokenLinks.js @@ -15,7 +15,7 @@ function getPageLinks(markdown) { hrefs.push(href); } }; - marked(markdown, { mangle: false, headerIds: false, renderer }); + marked(markdown, { renderer }); return hrefs; } diff --git a/packages/markdown/parseMarkdown.js b/packages/markdown/parseMarkdown.js index 14d33f2eaba200..3cf7e3f96c7a92 100644 --- a/packages/markdown/parseMarkdown.js +++ b/packages/markdown/parseMarkdown.js @@ -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]---/;