Created
March 27, 2021 02:11
-
-
Save mablin7/47138642eb3720af7ce4871c74034e01 to your computer and use it in GitHub Desktop.
Joplin Crasher Plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
default: function () { | |
return { | |
plugin: function (CodeMirror) { | |
CodeMirror.defineMode('joplin-test', () => { | |
throw new Error('ERROR') | |
}); | |
}, | |
codeMirrorOptions: { mode: 'joplin-test' }, | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment