typogrify icon indicating copy to clipboard operation
typogrify copied to clipboard

A set of Django template filters to make caring about typography on the web a bit easier.

Results 20 typogrify issues
Sort by recently updated
recently updated
newest added

Looks like typogrify is not fullly pytest 4.0 ready. Just normal build, install and test cycle: - "setup.py build": - "setupy install --root " - "pytest with PYTHONPATH pointing to...

Currently the caps filter is only able to recognize caps words written only using A-Z, which works fine for English texts, but makes problems once you change to German or...

According to https://pythonhosted.org/smartypants/ https://github.com/leohemsted/smartypants.py seems dead as well. I'm not sure what can be done about it, perhaps you could take over the maintainership?

In the following example, the color get mangled by typogriphy. File `typo.py`: ```python from typogrify.filters import typogrify print(typogrify(""" .rb {color:#B8797C; font-weight:bold; font-family: monospace;} .bb {color:#99BDC2; font-weight:bold; font-family: monospace;} """))``` The...

Fix #38. Widont shouldn't count newlines as spaces. This is achieved with a regex inspired by [this SO post](http://stackoverflow.com/a/3992881/1938621). Rather than checking for a space (which includes newlines), we check...

Currently, the following lines produces an mdash and a dash: ``` python from typogrify.filters import typogrify print(typogrify("---")) ``` prints ``` —- ``` but it really should print a single mdash---otherwise...

For example: >>> from typogrify.filters import typogrify >>> typogrify('\\') # a single backslash - correct output '\\' >>> typogrify('\\\\') # double backslash - but output is single '\'

"`C-SPAN`" would be an example, typogrify only applies caps to the "`SPAN`" part.

Here is a code for inserting french spaces following the french typographic rules. (This follow issue #5 wich has been closed when you updated the closed.) The code use the...