Open wooorm opened 4 years ago
Error: Cannot read property 'indexOf' of undefined
Maybe i'm getting that error because of @woorm explanation; any chance to adapt the plugin to new remarkjs ?
@jacargentina meanwhile, remark-directive
might be an alternative
Hi!
remark is switching to a new parser (and compiler) internally (micromark,
remarkjs/remark#536
), which will break this plugin. This plugin seems a bit similar in style to strikethrough. There is a micromark extension and mdast extension for that already, and soon there will be a wrapper remark pluginremark-gfm
. Keep an eye out for that plugin, which might serve well as inspiration, and feel free to ask me questions!