Skip to content

Commit

Permalink
Disable deprecated features in marked
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Jul 8, 2023
1 parent f3e4376 commit ea5a501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const getPageData = () => {
const includes = config.includes
.map(include => `source/includes/${include}.md`)
.map(include => fs.readFileSync(include, 'utf-8'))
.map(include => marked(include, { renderer: renderer }));
.map(include => marked(include, { renderer: renderer, mangle: false, headerIds: false }));
const code = (filename) => filename.split('.')[0];
const getPageData = {
current_page: { data: config },
Expand Down

0 comments on commit ea5a501

Please sign in to comment.