frontmatter-markdown-loader
frontmatter-markdown-loader copied to clipboard
Using style-tag breaks .md file
Hi,
Is there a way to use style inside .md file?
<style>
.myClass{
...
}
</style>
<div class="myClass">
If I'm inserting style the file doesn't get rendered.
it'd be great if you provide reproducible repo 😉 As default, markdown compiler keeps HTML tags as is.
I will create one at the weekend. The Html works fine.
But using mode: [Mode.VUE_COMPONENT] has nothing todo with that? I only added this plugin markdownIt: markdownIt({ html: true }).use(markdownItAttrs)
cool, the additional info was helpful and could be reproduced on my end too (so don't need to have a repo!). This seems to be a bug and I'm going to look into it deeply when I get a chance.
ah awesome ;) currently I have wrapped it into a vue component, so no hurry from my side.
Same bug with me. Component registered correctly
This didn't work, empty page:
Some text.
<app-info-block type="attention">
<i>Paragraph 1</i>
Paragraph 2
Paragraph 3
</app-info-block>
Another text
After removing empty lines starts working:
Some text.
<app-info-block type="attention">
<i>Paragraph 1</i>
Paragraph 2
Paragraph 3
</app-info-block>
Another text
As workaround use <br>
Some text.
<app-info-block type="attention">
<i>Paragraph 1</i><br>
Paragraph 2<br>
Paragraph 3
</app-info-block>
Another text