ekalinin / typogr.js

Typography utils for javascript
MIT License
297 stars 20 forks source link

custom skips? #31

Open blaenk opened 9 years ago

blaenk commented 9 years ago

The markdown renderer I use puts some things I don't want to process in a <p class="mathjax"></p> tag, so it'd be nice to be able to specify something like p.mathjax as an ignore pattern, though it seems like you're actually doing this by parsing the html and not by using selectors, so maybe if we were able to add to the re_skip_tags pattern.