HugoGranstrom / nimiSlides

A Reveal.js theme for nimib for making slideshow presentations in Nim
https://hugogranstrom.com/nimiSlides
MIT License
78 stars 5 forks source link

Credit in the corner #7

Open HugoGranstrom opened 2 years ago

HugoGranstrom commented 2 years ago

Having the ability to add for example an Author: Hugo Granström in the lower right corner that is visible on all slides.

pietroppeter commented 1 year ago

I noticed that Quarto (which btw is a new framework by RStudio which I think is going to be big) has in its template the possibilty to add a logo in the corner and a footer: https://quarto.org/docs/presentations/revealjs/

the source for that demo is obviosuly a markdown file with frontmatter but somewhere in quarto source code there should be the changes they did to revealjs to produce that: https://github.com/quarto-dev/quarto-web/blob/main/docs/presentations/revealjs/demo/index.qmd

HugoGranstrom commented 1 year ago

I noticed that Quarto (which btw is a new framework by RStudio which I think is going to be big) has in its template the possibility to add a logo in the corner and a footer: https://quarto.org/docs/presentations/revealjs/

Ohhh, I've not heard about Quarto before but it looks dope and kinda similar to nimiSlides except it's the usual code in markdown instead of markdown in code. I think this is where it's added. And as I understand it, they aren't just adding it to to HTML because it doesn't get included if the user chooses to convert it to PDF (see this). It doesn't look too complicated but would involve a nbCodeToJs.

pietroppeter commented 1 year ago

well, Quarto does a lot more. Aims to be a cross language publishing system for documents, websites, books, presentations, whatever. The scope if you want is more similar to nimib. As far as I understand is an evolution of RMarkdown for general audience (not only R folks). It also uses a lot of pandoc under the hood.

From what I have seen Quarto looks really nice and they just recently started to promote it. RStudio is really a great company (B Corp and home to Hadley Wickham and a number of other great fellows) and it is trying to widen its scope from R users. It would also be a great place to have a nim champions inside (one can hope). :)

HugoGranstrom commented 1 year ago

well, Quarto does a lot more. Aims to be a cross language publishing system for documents, websites, books, presentations, whatever. The scope if you want is more similar to nimib. As far as I understand is an evolution of RMarkdown for general audience (not only R folks). It also uses a lot of pandoc under the hood.

Ahhh, yeah that makes more sense :+1: nimib is more elegant though :sunglasses: and more maintainable and easier to extend as well I would guess ;)

From what I have seen Quarto looks really nice and they just recently started to promote it. RStudio is really a great company (B Corp and home to Hadley Wickham and a number of other great fellows) and it is trying to widen its scope from R users. It would also be a great place to have a nim champions inside (one can hope). :)

Yes Nim everywhere would be nice :D

HugoGranstrom commented 1 year ago

A footer has been implemented and can be used using footer("Footer text"). It can be used as a credits although it currently is centered. If there is demand for it, I could add a optional parameter to set the alignment of it.