Nevenall / remark-terms

Remark plugin to add parsing of single and double curly braces to mark special terms.
MIT License
5 stars 2 forks source link

remark@next (13) #8

Open wooorm opened 4 years ago

wooorm commented 4 years ago

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 plugin remark-gfm. Keep an eye out for that plugin, which might serve well as inspiration, and feel free to ask me questions!

jacargentina commented 3 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 ?

wooorm commented 3 years ago

@jacargentina meanwhile, remark-directive might be an alternative