Describe the bug
Native markdown supports stylesheets while markdown2 doesn't
To Reproduce
Add stylesheet at the beginning of MD file like this
<style>
code {
white-space:pre;
font-family: "Lucida Console", "Courier New", monospace;
background-color: darkblue;
color: lightyellow;
line-height: 1;
}
pre > code {
display: block;
}
</style>
add some inline code and code blocks then render it.
You will see that stylessheet will be corrupted with <p> tags and pre > code will be rendered as pre > code.
Expected behavior
The stylesheet should move to the rendered file as is. The block code reagions should then get pre > code style, while inline code regions should get only code style.
Describe the bug
Native markdown supports stylesheets while markdown2 doesn't
To Reproduce
Add stylesheet at the beginning of MD file like this
add some inline code and code blocks then render it.
You will see that stylessheet will be corrupted with
<p>tags andpre > codewill be rendered aspre > code.Expected behavior
The stylesheet should move to the rendered file as is. The block code reagions should then get
pre > codestyle, while inline code regions should get onlycodestyle.