sirthias / pegdown

A pure-Java Markdown processor based on a parboiled PEG parser supporting a number of extensions
http://pegdown.org
Apache License 2.0
1.29k stars 217 forks source link

ANCHORLINKS part of Extensions API? #166

Closed stevenemrick closed 9 years ago

stevenemrick commented 9 years ago

Hello I'm using jbake 2.4.0 and recently upgraded to pegdown 1.5.0 in my pom file. Jbake uses pegdown extensions to define things like TABLE, HARDWRAPS, etc. You can also say just 'ALL'. What I need is the 'ANCHORLINKS' to work which I thought would happen by upgrading to 1.5.0, but then I noticed ANCHORLINKS does not appear in the api extensions

How can I reference ANCHORLINKS using the Extensions API ?

Deraen commented 9 years ago

I'm thinking the documentation you linked is just not updated. It exists in the code: https://github.com/sirthias/pegdown/blob/master/src/main/java/org/pegdown/Extensions.java#L106.

Though it's currently broken because of #161

Deraen commented 9 years ago

This has been fixed in 1.6.0. This can be closed.

stevenemrick commented 9 years ago

Excellent - thanks.