bast / cicero

:microphone: Serving presentation slides written in Markdown.
https://cicero.xyz
GNU Affero General Public License v3.0
55 stars 17 forks source link

Change slide ratio #55

Closed arnfinn closed 5 years ago

arnfinn commented 6 years ago

I would like to make a 16:9 presentation. Is that possible through Cicero? With Remark it is something like this:

var slideshow = remark.create({ ratio: "16:9" });

Sidenote: Are there still places you have to use 4:3?

bast commented 6 years ago

Cool! I did not know about this. I will look at it.

bast commented 6 years ago

I think we should default to 16:9 but offer the option to turn to 4:3.

bast commented 6 years ago

Or the other way? Default 4:3 with option for 16:9? @robertodr

robertodr commented 6 years ago

I don't have a strong opinion on this. I guess 16:9 is more common than 4:3 nowadays, so should probably be the default?

arnfinn commented 6 years ago

I guess keeping 4:3 on v2 so you do not break old presentations?

bast commented 6 years ago

It's good suggestions and I will consider it but I just figured out that you can do it already - undocumented feature. If your talk is called mytalk.md you can add a file called mytalk.conf which contains:

ratio: "16:9"

And it will do the right thing :-)

arnfinn commented 6 years ago

Works like a charm:) Thanks!

bast commented 6 years ago

I will reopen as a reminder to myself to document this better.

bast commented 5 years ago

In the latest version this became a non-issue since the configuration can be fully customized using *.body.html. Documentation coming up.