mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-01-16 21:08:28 +01:00
nil check for deck in md plugin #3517
This commit is contained in:
parent
9d1c7e21b6
commit
11680561e9
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -95,7 +95,7 @@ const Plugin = () => {
|
||||
* values for what's not defined.
|
||||
*/
|
||||
function getSlidifyOptions( options ) {
|
||||
const markdownConfig = deck.getConfig?.().markdown;
|
||||
const markdownConfig = deck?.getConfig?.().markdown;
|
||||
|
||||
options = options || {};
|
||||
options.separator = options.separator || markdownConfig?.separator || DEFAULT_SLIDE_SEPARATOR;
|
||||
|
Loading…
x
Reference in New Issue
Block a user