Yes, markdown with --- can be converted into slides and PDF.
---
By using the separator, we can create a markdown document that split the content into slides.
I tried using markdown slide for years.