Open agarzola opened 10 months ago
Leaving a note here for my future self: I spent an embarrassingly long amount of time today attempting to add functionality to make webc
parse @html
with whatever webc:type
is set, so that this would work as expected:
<div class="we-love-divs">
<x webc:nokeep webc:type='11ty' 11ty:type='md' @html='text'></x>
</div>
i.e. Use 11ty’s Markdown parser to process the value passed to @html
.
This feels like the right solution, but I have not been able to make that happen.
I want to pass markdown to a WebC component via an attribute. Here’s how I’m trying to do it:
The resulting HTML looks like this:
I expected to get this:
So I have two questions: