You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Provide some configurations for enabling/disabling some marked features #21
Sometimes you do not want to parse and convert all markdown into html.
Maybe someone do not want links,etc. to be parsed. node-discount does it this way.
Although marked has become more extensible in the past year, it's still not perfect extensibility-wise.
Maybe someone do not want links
For example, if you don't want links parsed you could do:
marked.InlineLexer.rules.link=function(){};
This has been discussed in a lot of issues now, although this is one of the first issues that mentioned it, I'm going to close it for now. When this does happen it will be discussed.
Activity
chjj commentedon Jan 10, 2012
This is a good idea. Something I've considered for a while: #5
I want to do it in a way that allows marked to be more hackable instead of adding options. I'll leave this open for now.
chjj commentedon Jan 8, 2013
Although marked has become more extensible in the past year, it's still not perfect extensibility-wise.
For example, if you don't want links parsed you could do:
This has been discussed in a lot of issues now, although this is one of the first issues that mentioned it, I'm going to close it for now. When this does happen it will be discussed.