jgm/djot.lua

wrong markup for block elements?

Closed this issue · 2 comments

ousia commented

@jgm,

I tried to add a class to a complete blockquote, such as in the following sample:

_a_{.dz}

> {.a}
>
> a
>
> a
>
> a
>
> a

But this only grants the class an an exclusive attribute to the first paragraph.

Is this really a a feature, or is it a bug?

Many thanks for your help.

jgm commented

You need to put the attribute in front of the element

{.a}
> a
>
> a
ousia commented

Many thanks for your fast reply, @jgm.

I understand how it works now.

Many thanks for your help.