Skip to content

"Fork" of smartypants on PyPI, with improved literal code block skipping (doesn't educate <tt> tags)

License

Notifications You must be signed in to change notification settings

agriffis/python-smartypants

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

python-smartypants

SmartyPants is a tool for converting plain ASCII punctuation characters into "smart" HTML entities, such as "straight" quotes into "curly" quotes and "---" into em-dashes.

SmartyPants was originally written in Perl by John Gruber. See http://daringfireball.net/projects/smartypants/.

Chad Miller then ported it to Python (http://web.chad.org/projects/smartypants.py/), and Hao Lian packaged it and put it on PyPI (http://pypi.python.org/pypi/smartypants).

This version makes just one small tweak to the PyPI version. It adds the <tt> tag to the list of skipped tags. Since reStructuredText renders inline literals as <tt> tags, this is important so as not to introduce curly quotes into inline code snippets.

Jeff Schenck <http://jeffschenck.com/>

About

"Fork" of smartypants on PyPI, with improved literal code block skipping (doesn't educate <tt> tags)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published