@zachleat The WebC experiment has been interesting Just wondering, any examples or tips/tricks on defining a couple WebC components globally and using them in `.md` files to generate out rich content? Lil' MDX vibes but WebC
-
@zachleat The WebC experiment has been interesting Just wondering, any examples or tips/tricks on defining a couple WebC components globally and using them in `.md` files to generate out rich content? Lil' MDX vibes but WebC
-
Zach Leatherman :11ty:replied to Rijk 🐰 ✨ last edited by
@rijk I know some folks have tried this feature with WebC https://www.11ty.dev/docs/config/#default-template-engine-for-markdown-files but I would *not* recommend that option.
Your best bets are https://www.11ty.dev/docs/languages/webc/#post-process-html-output-as-webc or https://www.11ty.dev/docs/languages/webc/#use-the-render-plugin
-
Rijk 🐰 ✨replied to Zach Leatherman :11ty: last edited by
@zachleat I think we have a working attempt at this now by disabling the markdownTemplateEngine completely
The authoring experience is tremendous. Just regular markdown with some html component sprinkles which WebC then correctly inlines and statically renders. The dream is starting to look very real
-
Zach Leatherman :11ty:replied to Rijk 🐰 ✨ last edited by
@rijk yay!