I discovered Marp few weeks ago and it's very useful and easy.
I began to build a company theme and want to style the part of the section div between the headerand footer divs.
In the fact I want to surrond this part with some rounded partial borders.
In order to achieve that I use :root::before and :root::after.
Theme CSS must contain attr(data-marpit-pagination) in content declaration because user expects to show the page number by paginate: true directive. Marpit will ignore the whole of content declaration if the reference to that attribute is not contained.
These two things (my aim and this constraint) are incompatible as using border needs a content: "".
Hi !
I discovered Marp few weeks ago and it's very useful and easy. I began to build a company theme and want to style the part of the
section
div between theheader
andfooter
divs. In the fact I want to surrond this part with some rounded partial borders.In order to achieve that I use
:root::before
and:root::after
.The doc (https://marpit.marp.app/theme-css?id=customize-content) says about
:root::after
:These two things (my aim and this constraint) are incompatible as using border needs a
content: ""
.Is it possible to change the behaviour by :
paginate
Thanks in advance