marked
marked copied to clipboard
Removing existing options in favor of the renderer
We have the opportunity to remove:
- highlight
- langPrefix
- headerPrefix
- heading IDs
In favor of the new renderer.
The downside to this (at least for 3 of them): lack of backward compatibility, and less convenience for users used to marked. While I did merge the renderer, I'm tentatively reimplementing a few of these options. I think the removal of these features should be discussed in another issue because it is a big decision.
cc @lepture
marked is still on the early stage. It has not released 1.0.0 yet. I think it will be ok for these big changes.
- headerPrefix and heading IDs doesn't worth the options (I thought)
- block highlight is ok with renderer. however, there is a discussion on async highlight in #301
i'd prefer less features, more extensibility. i'm +1 to removing all those options.
@chjj I am wondering why you revert the changes.
how to give blockquote regular expression like slack?