DavidCouronne / gridsome-plugin-remark-prismjs-all

Syntax highlighting for Gridsome with PrismJS
https://kind-elion-23889d.netlify.com/demo-gridsome-plugin-remark-prismjs-all/
MIT License
12 stars 1 forks source link

Heads-up that something recent in prism breaks nested code blocks #19

Open songololo opened 3 years ago

songololo commented 3 years ago

See: https://github.com/PrismJS/prism/issues/2976 https://github.com/gridsome/gridsome/issues/1524 https://github.com/PrismJS/prism/pull/2975

Manual workaround per https://github.com/PrismJS/prism/blob/4321ef698cc59af83e24dc45fc31f6004075f229/components/prism-markdown.js#L354

songololo commented 3 years ago

Adding pull request: https://github.com/DavidCouronne/gridsome-plugin-remark-prismjs-all/pull/20 to pin to previous prism version 1.23.0