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

✨ Replacing reveal.html #8

Closed
matthewturk opened this issue Apr 22, 2024 · 2 comments
Closed

✨ Replacing reveal.html #8

matthewturk opened this issue Apr 22, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@matthewturk
Copy link

Is your feature request related to a problem? Please describe.

I'd like to have a bit finer grained control over the way reveal.html is constructed.

Describe the solution you'd like

We can specify the .css files that replace the themes, but being able to replace the template would be really useful in some contexts as well. For instance, this might allow adding plugins that are not of general interest, or having template slides that are always included, etc.

Describe alternatives you've considered

I believe that there are some operations that need modification of the HTML to work, but I'm also currently investigating how much of this can be done via injection in HTML blocks or just directly in the CSS themes. So far I'm not able to do everything quite yet.

Thank you for considering this!

@matthewturk matthewturk added the enhancement New feature or request label Apr 22, 2024
@ebullient
Copy link
Owner

This is me handing you a dangerous thing. ;)

In settings, you can configure a "Theme directory", which is a folder in your vault that will be added to the search path when looking for slide and highlight themes.

If you create an html directory in that, you can copy reveal.html and/or embed.html, and customize them. They are mustache templates, and you can definitely break the planet, and if I fix something you'll have to resolve the difference..

@matthewturk
Copy link
Author

Oh, outstanding! Thank you so much @ebullient ! I appreciate you trusting me/us with this dangerous thing and I'll do my best to live up to that. :)

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

No branches or pull requests

2 participants