Unsupported Languages cause Build Failures #70
Labels
breaking change
This will have to be included with a major version as it breaks backwards compatibility.
enhancement
New feature or request
Milestone
Situation
I have code blocks in my markdown, like the one below:
"sh" is used here purely for the sake of example - I have 400+ pages of content that I'm in the process of migrating, with much more esoterically-tagged code blocks.
Result
Since "sh" is not a valid Prism language, Prism prints a warning. This causes eleventy to stop the build.
Expected Behavior
If a code block uses a language that isn't recognized, I would prefer if that code block were simply not highlighted at all (or treated as plain text) rather than the entire site failing to build.
The text was updated successfully, but these errors were encountered: