diff --git a/packages/content/parsers/markdown/handlers/code.js b/packages/content/parsers/markdown/handlers/code.js index e6f20b3d2..6dd2716d8 100644 --- a/packages/content/parsers/markdown/handlers/code.js +++ b/packages/content/parsers/markdown/handlers/code.js @@ -56,7 +56,7 @@ const toAst = (h, node) => (highlighted) => { } module.exports = highlighter => (h, node) => { - const lang = node.lang + (node.meta || '') + const lang = node.lang + ' ' + (node.meta || '') const { language, lineHighlights, fileName } = parseThematicBlock(lang) const code = node.value ? detab(node.value + '\n') : ''