Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] template #21

Open
individual-it opened this issue Feb 15, 2024 · 7 comments
Open

[feature] template #21

individual-it opened this issue Feb 15, 2024 · 7 comments
Labels
enhancement New feature or request P2 Medium Priority

Comments

@individual-it
Copy link
Member

Having a template system would be great, so that the whole presentation has a particular look.
Maybe even have a system where one can choose per slide from a pre-defined templates

@koebel
Copy link
Contributor

koebel commented Feb 15, 2024

Indeed, I guess there are two types of templates that could be useful for the user:

  • content templates (title slide, slide with few bullet points, slides with more text, slides with pictures, ...)
  • design templates (definition of fonts, colours, etc.)

@grgprarup grgprarup added enhancement New feature or request P3 Low Priority labels Feb 16, 2024
@koebel
Copy link
Contributor

koebel commented Feb 27, 2024

For slides where custom design templates are used, changing the OC theme from light to dark mode or vice versa shouldn't affect how the slides (background colour, font colour, etc. ), only UI elements of web.
see also #17 (comment)

@koebel koebel added P2 Medium Priority and removed P3 Low Priority labels Mar 18, 2024
@koebel
Copy link
Contributor

koebel commented Mar 18, 2024

shall we split this into two separate issues? I personally think the content templates have higher priority than the design templates... the later is kind of connected to this issue

@saw-jan
Copy link
Member

saw-jan commented Mar 18, 2024

shall we split this into two separate issues? I personally think the content templates have higher priority than the design templates... the later is kind of connected to this issue

^ @grgprarup Could you help to decide on it?

@grgprarup
Copy link
Contributor

shall we split this into two separate issues? I personally think the content templates have higher priority than the design templates... the later is kind of connected to this issue

^ @grgprarup Could you help to decide on it?

IMO there is no need for separation in this issue. This issue will focus on the templating system, and implement the different types of templates for slides as examples in content templates (#21 (comment)). For the latter, we have an open issue #10

@koebel
Copy link
Contributor

koebel commented Mar 18, 2024

ok, let's add the aspect of custom themes to #10

I guess this is the core of this feature request is this:

As a user
I want to choose for each slide in my presentation an appropriate template (content type) from a given set of templates
So that I can create a presentation where each slide suits the content I want to present
As a power user
I want to create my own templates (additional content types and/or modifying the standard templates provided) 
So that I can create presentations that are more specific to the needs of the content I (my company / organisation) wants to present

A template should define the elements that will be displayed for slides of the given content type as well as their position (e.g. is presentation title or logo displayed on this slide type, and if so where, how big, etc.)

by types content types we're talking about things like

  • title slide
  • subtitle slide
  • slide with bullet point list
  • slide with text and image
  • two columns text slide
  • image slide
  • multi image slide
  • ...

The chosen template should be specified for each slide in the .md file through a text variable and optionally by defining a default type as a global variable that would apply as default for all slides if no template is specified for a particular slide, but not in the UI of the presentation viewer

@individual-it @grgprarup please comment

@individual-it
Copy link
Member Author

This project can be used for the templates (content types): https://github.com/JankariTech/revealjs-awesoMD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P2 Medium Priority
Projects
None yet
Development

No branches or pull requests

4 participants