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 218 forks source link

Add isSetext() to HeaderNode to allow distinction between Atx and Setext header styles #186

Closed vsch closed 9 years ago

vsch commented 9 years ago

This has no effect on anyone who does not care about the difference but allows syntax highlighting to provide different styles for the two types of headers.

Changes made to parser. No tests were modified.