Open jowilhnson opened 1 year ago
Start a new pull request in StackBlitz Codeflow.
Both the italics and quotes seem to be default Tailwind styling for blockquotes, and being applied by the htw-prose class
.htw-prose :where(blockquote):not(:where([class~="htw-not-prose"] *)) {
font-style: italic;
}
.htw-prose :where(blockquote p:first-of-type):not(:where([class~="htw-not-prose"] *))::before {
content: open-quote;
}
.htw-prose :where(blockquote p:last-of-type):not(:where([class~="htw-not-prose"] *))::after {
content: close-quote;
}
It seems like .htw-not-prose is intended to be applied, as it is included in the div that's being passed to the syntax highlighting setup in the createMarkdownRenderer function. But I'm not seeing those divs or their classes appearing in the final rendered doc tab, instead the markdown is rendered directly inside this div, so htw-not-prose is never applied to the rendered markdown.
<div class="htw-prose dark:htw-prose-invert htw-p-4 htw-max-w-none" data-test-id="story-docs">
Describe the bug
Text in Blockquotes should not be italicized by default
Non-standard rendering is causing Bold Text in an Unordered List inside a Blockquote to be displayed enclosed in quotation marks.
Reproduction
https://stackblitz.com/edit/histoire-vue3-starter-ehnvp9?file=src/BaseButton.story.vue
System Info
Used Package Manager
yarn
Validations