Possible to have markdown inside bundle?
It seems like markdown inside a bundle isn't parsed (but rather output as-is):
markdown.md:
# Lorem ipsum
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Mauris malesuada consequat orci, et aliquet purus
ullamcorper sed.
{% mybundle %}
> Lorem ipsum dolor sit amet.
{% endmybundle %}
Expected output of {% getBundle mybundle %}:
<blockquote>
Lorem ipsum dolor sit amet.
</blockquote>
Actual output:
> Lorem ipsum dolor sit amet.
Am I doing something wrong, or is this just not supported?
Thanks!
did you registered it? eleventyConfig.addBundle("mybundle", {/*..*/}) ?
Yep, otherwise I wouldn't get any output when I getBundle? 😅
Are you saying this works for you? (I may be doing something wrong)
Maybe you should use the filter | markdown but i'm not sure if that works on the bundle tag or on the getBundle
Will give that a try, thanks!