HiI've also been testing this (been after this feature for ages!), I think your confusing the class notation with the custom attribute notation. Try this::: MyStyle
Paragraph here
:::
which will create
<div class="MyStyle">
Paragraph here
</div>or this
::: {custom-style="My Style"}
Paragraph here
:::
which I believe will give you
<div custom-style="My Style">
Paragraph here
</div>
although I'm not sure an attribute of that name will be helpful...Phil
On Tuesday, October 31, 2017 at 11:37:29 AM UTC, Agustín Martín wrote:I was trying to test the `fenced_divs` extension in pandoc 2.0.I expected that it would behave like raw html divs, and thus I also expected:::: {.custom-style="My Style"}
Testing custom style: "My Style"
Several lines.
::::to behave the same as
<div custom-style="My Style">
Testing custom style: "My Style"
Several lines.
</div>when converting from markdown to docx.However the first approach is not working, I even see the ":::: {...}" in the output document.Did I misunderstand the use case for fenced_divs?Thanks!