remarkjs / remark-react

Legacy plugin to transform to React — please use `remark-rehype` and `rehype-react` instead
https://unifiedjs.com
MIT License
524 stars 37 forks source link

Add 'toHast' options to control HAST transformation #27

Closed rhysd closed 7 years ago

rhysd commented 7 years ago

Hello again,

I implemented 'toHast' option, which will be passed to internal toHAST() function call. I added this because I want to control the transformation. Default value of the option is empty and it doesn't break current behavior :+1:

wooorm commented 7 years ago

I’m all for it!