Markdown list inside blockquote #4732
Answered
by
NGPixel
D4rkw0lv3s
asked this question in
Error / Bug Report
-
Beta Was this translation helpful? Give feedback.
Answered by
NGPixel
Jan 26, 2023
Replies: 2 comments 3 replies
-
Hi, Even today, I have exactly the same problem, the generated HTML applies the style to the What I'd like to write in markdown editor:
> Lorem ipsum :
> - Lorem ipsum1
> - Lorem ipsum2
{.is-info} HTML generated by Wiki.js:
<blockquote data-line="0" class="line">
<p>Lorem ipsum :</p>
<ul class="is-info">
<li>Lorem ipsum1</li>
<li>Lorem ipsum2</li>
</ul>
</blockquote>
Style I'd like to see:
<blockquote class="is-info">
<p>Lorem ipsum</p>
<ul>
<li>Lorem ipsum1</li>
<li>Lorem ipsum2</li>
</ul>
</blockquote> Sorry for my English ! |
Beta Was this translation helpful? Give feedback.
0 replies
-
That's because the parser cannot determine whether the class should be applied to the list or the blockquote. You need to use the decorate syntax instead. > Lorem ipsum :
> - Lorem ipsum1
> - Lorem ipsum2
<!-- {blockquote:.is-info} --> |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
NGPixel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's because the parser cannot determine whether the class should be applied to the list or the blockquote. You need to use the decorate syntax instead.