marked icon indicating copy to clipboard operation
marked copied to clipboard

Removing existing options in favor of the renderer

Open chjj opened this issue 11 years ago • 4 comments

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

chjj avatar Dec 04 '13 12:12 chjj

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.

  1. headerPrefix and heading IDs doesn't worth the options (I thought)
  2. block highlight is ok with renderer. however, there is a discussion on async highlight in #301

lepture avatar Dec 04 '13 15:12 lepture

i'd prefer less features, more extensibility. i'm +1 to removing all those options.

jonathanong avatar Dec 07 '13 09:12 jonathanong

@chjj I am wondering why you revert the changes.

lepture avatar Feb 17 '14 08:02 lepture

how to give blockquote regular expression like slack?

birendra-ideas2it avatar Jan 06 '16 11:01 birendra-ideas2it