Closed danielepolencic closed 3 years ago
<body>
is out of scope for tweaking style by Markdown and the style of Marp CLI template cannot customize. You should create HTML manually by using @marp-team/marp-core
.
Understood, thanks for the prompt response.
UPDATE: The latest Marp CLI v1.5.0 follows the update of the base framework Marpit. It can style the slide container through ::backdrop
CSS selector.
Now you can change the black backdrop without hack:
---
style: |
::backdrop {
background: red;
}
---
I tried to search for a solution in this repository and in the marp-team/core. I could not make it work, hence the question. I want to customise the
<body>
of the presentation so that the slides are presented on a white background.I added the following directive to my markdown:
However, I cannot remove the black bars.
What should I try next?
Thanks.