Here is a small css snippet that can be used to hide the YAML frontmatter, as a workaround until it is fixed in the Slides plugin:
section.present > .frontmatter,
section.present .copy-code-button {
display: none;
}
It also hides copy buttons from code blocks.
3 Likes
Thank you, that is a good work around for hiding the front matter. Now I just need the slides to show Dataview query data, some of which comes from the frontmatter itself.
You can comment out a YAML header with percent symbols so that it doesn’t appear at all during a presentation.
%%---
key: value
key2: value2
key3: [one, two, three]
key4:
- four
- five
- six
---%%
Angel
3 Likes