Skip to content

Commit 052ab30

Browse files
committed
Add missing plugin
1 parent 0338e02 commit 052ab30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/markdown-to-draft.spec.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,11 +541,12 @@ describe('markdownToDraft', function () {
541541

542542
return true
543543
}
544-
var frontmatter_yamlWrapper = function (remarkable) {
544+
var frontmatterYamlWrapper = function (remarkable) {
545545
remarkable.block.ruler.before('hr', 'yaml_frontmatter', blockRule)
546546
}
547547
var markdown = '---\nsomeMetadata: content\n---';
548548
var conversionResult = markdownToDraft(markdown, {
549+
remarkablePlugins: [frontmatterYamlWrapper],
549550
blockTypes: {
550551
yaml_frontmatter: function (item) {
551552
return {

0 commit comments

Comments
 (0)