-
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
Description
What do you need?
Overview
Supporting dict style configuration of revealjs_script_plugins that manage plugins to load in presentation.
Current implements
revealjs_script_plugins is defined as list of definition dict.
revealjs_script_plugins = [
{
"src": "revealjs/plugin/highlight/highlight.js",
"name": "RevealHighlight",
},
]This has risk to conflict names.
revealjs_script_plugins = [
# Which is work ?
{
"src": "revealjs/plugin/highlight/highlight.js",
"name": "RevealHighlight",
},
{
"src": "revealjs/plugin/highlight/highlight2.js",
"name": "RevealHighlight",
},
]Approach
This configuration may be good defined as dict with name as key.
revealjs_script_plugins = {
"RevealHighlight": {
"src": "revealjs/plugin/highlight/highlight.js",
}
}