Advance Slides

First, search the help docs and this forum. Maybe your question has been answered! The debugging steps can help, too. Still stuck? Delete this line and proceed.

What I’m trying to do

Hello everybody, I am new to obsidian and I like the note taking part.
Now I am trying to make a simple presentation in Obsidian. I can change a Template for whole presentation and I was wondering, is there a way how to set template for specific slides?

Lets say I would like to have 1. slide black, 2-4 white, 5th black … and of course different font color too.

thanks,
V.

Things I have tried

I tried to edit frontmatter but that is something I can only do in the beginning of my note for whole presentation.