-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Thanks for this helpful extension :-).
I'm using it with showdown 1.3.0 via grunt-showdown (actually via ferllings/grunt-showdown because the original repo doesn't work with showdown 1.3.0). When I try to use showdown-toc I get the following error:
Error in 2 extension-> sub-extension 0: property "type" must be a string, but undefined given
This does not appear to be grunt-showdown-specific because if I comment out showdown-toc it works fine; also I am using other showdown extensions such as showdownjs/prettify-extension.
I am using a config like this in Gruntfile.js:
showdown: {
all: {
options: {
customExtensions: ['showdown-prettify', 'showdown-toc']
},
files: [{
expand: true,
src: 'tmp/book/**/*.md',
ext: '.html'
}]
}
},
Metadata
Metadata
Assignees
Labels
No labels