Closed Navigatron closed 1 year ago
Just to add another use-case:
I want to add eleventy-charts to my blog, and I also useeleventy-plugin-syntaxhighlight
.
Since eleventy-charts
uses the same triple back-ticks for enclosing chart's data, I can't have both plug-ins running at the same time.
See potential fix in PR: #73
Shipping in 5.0.0, an errorOnInvalidLanguage: false
option, the default will be to allow invalid languages—you will have to opt-in to throwing an error.
Situation
I have code blocks in my markdown, like the one below:
[11ty] Problem writing Eleventy templates: [11ty] 1. Having trouble rendering liquid template ./source/content/xxxxx/xxxxx.md (via TemplateContentRenderError) [11ty] 2. "sh" is not a valid Prism.js language for eleventy-plugin-syntaxhighlight (via Error) [11ty] Wrote 0 files in 1.06 seconds (v1.0.1)