Skip to content

Commit

Permalink
- more inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
franz haas committed Mar 5, 2024
1 parent 6a79d05 commit d698462
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions nbconvert/exporters/slides.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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="""
Expand Down

0 comments on commit d698462

Please sign in to comment.