Closed kevin-lee closed 8 years ago
Similarly, using DEFINITIONS
and ANCHORLINKS
together enables STRIKETHROUGH
.
new PegDownProcessor(DEFINITIONS | ANCHORLINKS)
This is part of a bigger issue - see my newly raised issue here: https://github.com/sirthias/pegdown/issues/161
@tcreswick Nice, you can fix it and pull-request. :smile:
Have created pull request https://github.com/sirthias/pegdown/pull/162 for this.
Cool! :+1:
Duplicate of #161.
If
STRIKETHROUGH
is set,ANCHORLINKS
is also enabled.So the following code enables both
STRIKETHROUGH
andANCHORLINKS
although I didn't setANCHORLINKS
. I had to enableDEFINITIONS
(orFENCED_CODE_BLOCKS
) as well otherwiseSTRIKETHROUGH
doesn't work.