Cssproperties are not applied to slides

Steps to reproduce

Add a cssproperties Property to a markdown page
Start the presentation
inspect the devtools

Did you follow the troubleshooting guide? Y

Expected result

The slides-container should assume the specified classes

Actual result

The class is assumed by the markdown view only

Environment


Additional information

I’m not part of the team, but cssclasses are applied to the to both the .markdown-source-view (Source mode and Live Preview) and .markdown-preview-view (Reading view) elements (see Using cssclasses in snippets for a basic intro).

I don’t see those elements in reveal, slides-container, etc.

This may be a feature request.

confirm what ariehen stated.

I have fixed this bug/implemented this feature in a fork of the custom slides plugin (created a couple of weeks ago by somebody else). I can’t link the code so - next time :slight_smile:

Now it also supports slide numbers. I will probably try to polish it a bit - I don’t like how the CSS is injected - now that I have the ability to replace the Reveal instance.

Thanks for your attention!

There is a plugin that people use in place of the core one (which is very limited).

Maybe you can contribute your code there obsidian://show-plugin?id=slides-extended

Thank you!

I have tried it, but it had other bugs (such as adding a .md extension to embedded .excalidraw files - hence losing their value), that I decided to be worse (and more difficult to fix) than the Slides core plugin.

Maybe next time! :slight_smile:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.