-
-
Notifications
You must be signed in to change notification settings - Fork 4
Blockquote ignores custom attributes #244
Copy link
Copy link
Closed
Description
This syntax is valid markdown attribute declaration for Hugo:
> Paragraph
{.my-class}
This will add .my-class class to the blockquote. This worked before Enhancements for Markdown tables and blockquotes.
But I found that this behavior is broken now.
> Paragraph 1
{.bq}
> Paragraph 2
{ .bq }
> Paragraph 3
{class="bq"}
> Paragraph 4
{ class="bq" }
Test 2
<figure class="border-start ps-3 py-1 border-primary border-4">
<blockquote class="blockquote mb-0">
<p>Paragraph 1</p>
</blockquote>
</figure>
<figure class="border-start ps-3 py-1 border-primary border-4">
<blockquote class="blockquote mb-0">
<p>Paragraph 2</p>
</blockquote>
</figure>
<figure class="border-start ps-3 py-1 border-primary border-4">
<blockquote class="blockquote mb-0">
<p>Paragraph 3</p>
</blockquote>
</figure>
<figure class="border-start ps-3 py-1 border-primary border-4">
<blockquote class="blockquote mb-0">
<p>Paragraph 4</p>
</blockquote>
</figure>
<p>Test 2</p>I don't see bq class in either <blockquote> or <figure>, even though all four syntax is valid.
Maybe these lines are faulty.
PS. Table may also faulty, if blockquote lines are faulty.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels