Skip to content

Commit

Permalink
markdownASTToHTMLAst isn't async (#23427)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieudutour authored Apr 23, 2020
1 parent 39201a1 commit 64f695c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-transformer-remark/src/extend-node-type.js
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ module.exports = (
}
}

async function markdownASTToHTMLAst(ast) {
function markdownASTToHTMLAst(ast) {
return toHAST(ast, {
allowDangerousHTML: true,
handlers: { code: codeHandler },
Expand Down

0 comments on commit 64f695c

Please sign in to comment.