diff --git a/nbconvert/exporters/slides.py b/nbconvert/exporters/slides.py index 4831d42b8..450c786e3 100644 --- a/nbconvert/exporters/slides.py +++ b/nbconvert/exporters/slides.py @@ -119,12 +119,6 @@ def _template_extension_default(self): """ ).tag(config=True) - reveal_mermaid_js_url = Unicode( - help="specifies the mermaid reveal plugin url. defaults to https://unpkg.com/reveal.js-mermaid-plugin@2.2.0", - ).tag( - config=True, - ) - @default("reveal_url_prefix") def _reveal_url_prefix_default(self): if "RevealHelpPreprocessor.url_prefix" in self.config: @@ -136,6 +130,16 @@ def _reveal_url_prefix_default(self): return self.config.RevealHelpPreprocessor.url_prefix return "https://unpkg.com/reveal.js@4.0.2" + reveal_mermaid_js_url = Unicode( + help="Specifies the mermaid reveal plugin url.", + ).tag( + config=True, + ) + + @default("reveal_mermaid_js_url") + def _reveal_mermaid_js_url(self): + return "https://unpkg.com/reveal.js-mermaid-plugin@2.2.0" + reveal_theme = Unicode( "simple", help="""