Closed moso closed 1 year ago
Nevermind.
After looking through Vitebook's code, I realised it works out of the box with a new line between the tag and the content.
So for anyone else looking for this:
<Component>
```css
.class {
display: flex;
}
... will work flawlessly.
Hi, I'm trying to make simple block wrappers, like tabs for code-blocks, etc. But whenever I wrap anything, it comes out as a string.
Maybe I'm tackling this too simple and need to render my slots in a very different way to include rendered Markdown, so this is more a question than a real issue.
Simplified example:
/src/components/component.vue
:/pages/index.md
:Expected outcome:
It would be nice if the Markdown would still render, but inside the slot. So far, no Google search comes up with anything concrete, other than Nuxt has been able to do this seamlessly.
Any pointers appreciated.