markdown-component-loader icon indicating copy to clipboard operation
markdown-component-loader copied to clipboard

Please add additional markdown-it configuration options

Open dkrutsko opened this issue 8 years ago • 1 comments

Hey there, I recently discovered your library and I think it's the best one of its kind. I am, however, having some difficulties getting it to do what I need. Specifically, the Table and Strikethrough plugins are not working. I tracked the error down to this line.

Could we please get an option to fully configure Markdown-It? Specifically, I'd like to have the ability to change commonmark to default and provide additional enable, disable and set the settings.

dkrutsko avatar Jan 05 '18 23:01 dkrutsko

Hi @dkrutsko,

Some of the options we set are because we definitely require them to be compatible with React, but a lot are to taste. I’d welcome a PR to promote some of these settings to the Webpack configuration, though I don’t see myself having the chance to build it (or the need for it!) imminently.

For reference, options that are currently set and definitely not configurable are:

  • breaks
  • the highlight function

ticky avatar Jan 10 '18 05:01 ticky