-
-
Notifications
You must be signed in to change notification settings - Fork 557
Closed
Labels
breaking-changeThis will have to be included with a major version as it breaks backwards compatibility.This will have to be included with a major version as it breaks backwards compatibility.enhancement
Milestone
Description
In markdown there is a specific feature called Indented Code Blocks that causes much confusion! We have a big warning on the docs about it.
https://www.11ty.dev/docs/languages/markdown/#there-are-extra-and-in-my-output
Awhile back @drewm posted a lovely workaround to opt-out of this feature.
eleventyConfig.setLibrary("md", markdownIt(options).disable('code'));https://twitter.com/drewm/status/1167821259662663682
I’d like to change the default Eleventy behavior to do this as well. Maybe even in 2.0 👀
Related: #402 #180 #1971 (#1635 maybe) and part of https://twitter.com/brob/status/1530620544680337412 from @brob and probably a bunch of others
zachleat, bluemwhitew, AleksandrHovhannisyan, julientaq, brycewray and 30 morexplosionmindxplosionmind
Metadata
Metadata
Assignees
Labels
breaking-changeThis will have to be included with a major version as it breaks backwards compatibility.This will have to be included with a major version as it breaks backwards compatibility.enhancement