russross / blackfriday

Blackfriday: a markdown processor for Go
Other
5.41k stars 596 forks source link

Ignore underscore conditionally with the IgnoreUnderscore extension #685

Open dmitrytorba opened 3 years ago

dmitrytorba commented 3 years ago

This PR adds an extension IgnoreUnderscore that can be used to skip processing all underscores. Similar to NoIntraEmphasis this extension can be used by users to control the rendering behavior of underscores.

BTW, thanks for the project! Its a very useful tool.

enahs commented 2 years ago

@dmitshur can you please review this PR 🙏