About a year ago I started using #RMarkdown and #Xaringan to prepare presentation and I love it. Efficient, elegant, saves disk space and allows you you to easily prepare slides with a very consistent layout and style.
For an example see:
https://jekelylab.github.io/Presentation_template.html
You can use this repo https://github.com/JekelyLab/jekelylab.github.io to get started.
@jekely Quarto is even better. Just switched from Xarringan to Quarto for courses... more options...