gjtorikian / html-pipeline

HTML processing filters and utilities
MIT License
2.27k stars 382 forks source link

Improves syntax highlight filter #325

Closed JuanitoFatas closed 4 years ago

JuanitoFatas commented 4 years ago

I recently upgraded a project from 3rd party syntax highlight filter to HTML::Pipeline::SyntaxHighlightFilter. Found the syntax highlight is not working anymore (missing highlight class from pre element. Fixed in dc42b12.

Hence opened this Pull Request ☺️

1) Remove unused class assignment 2f7dc1b
2) Fix css scope added to pre element dc42b12
3) Improve documentations c594b66

Please let me know if the commit message does not explain well.

gjtorikian commented 4 years ago

Thank you! Releasing this out as a bugfix now.