I was trying to use this with fresh's tailwind plugin, but ran into issues because tailwind expects lists to be like <ul class="list-disc"> which is not what we do here.
Fortunately #80 allows me to define a custom renderer like:
@marvinhagemeister, what do you think of this approach and this PR? I see you're doing something different on the fresh www site. There you have the css hardcoded in a markdown.css file.
I was trying to use this with fresh's tailwind plugin, but ran into issues because tailwind expects lists to be like
<ul class="list-disc">
which is not what we do here.Fortunately #80 allows me to define a custom renderer like:
Cool, but then the classes get purged during sanitization. So this feature allows users to invoke the render function like this: