denehyg / reveal.js-menu

Slide out menu for reveal.js
https://denehyg.github.io/reveal.js-menu
MIT License
281 stars 76 forks source link

Changing the Code Syntax Highlighting Theme #65

Closed jamespascoe closed 4 years ago

jamespascoe commented 4 years ago

Hi everybody,

Thank you very much for the reveal.js menu plugin - its absolutely great and is exactly what I need - thanks.

Apologies if this has been answered elsewhere, but is there any way to change the code syntax highlighting theme when selecting a different theme in the theme panel? In particular, I would like to use monokai.css when using the 'Black' theme (i.e. the default) and then switch to (for example) Xcode.css when using 'League'.

Many thanks and have a good day,

Jim

denehyg commented 4 years ago

This is currently not supported. When I get some time I'll have a look at adding it.

jamespascoe commented 4 years ago

Great - thank you very much - much appreciated.

Thanks again and have a good day.

denehyg commented 4 years ago

I just released v2.1.0 to add support for changing the highlight theme. You'll need to provide your specific theme setup in the menu configuration in your presentations. Let me know if you have any issues with it.

jamespascoe commented 4 years ago

Great - thank you very much - that's excellent - thanks - I'll give it a go.

Thanks again and take care.