syntax-tree / mdast-util-to-hast

utility to transform mdast to hast
https://unifiedjs.com
MIT License
101 stars 42 forks source link

feat: add data-meta to code #33

Closed nihgwu closed 5 years ago

nihgwu commented 5 years ago

ref https://github.com/remarkjs/remark/pull/345 https://github.com/remarkjs/remark/issues/342 add info string support to code

nihgwu commented 5 years ago

thanks

nihgwu commented 5 years ago

Sometimes we don't use this package directly, so we can't pass options to it, but I found a way to workaround https://github.com/Autodesk/react-base-table/commit/f20830c3ff2442f4d71f5331b6bc9c67443f94f5

wooorm commented 5 years ago

If something is packaging this but you can’t pass options, you could also try a PR there to support them!