./textproc/py-smartypants, Python with the SmartyPants

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2021Q1, Version: 2.0.1, Package name: py38-smartypants-2.0.1, Maintainer: pkgsrc-users

smartypants can perform the following transformations:
* Straight quotes (" and ') into "curly" quote HTML entities
* Backticks-style quotes (``like this'') into "curly" quote HTML entities
* Dashes (-- and ---) into en- and em-dash entities
* Three consecutive dots (... or . . .) into an ellipsis entity

This means you can write, edit, and save your posts using plain old ASCII
straight quotes, plain dashes, and plain dots, but your published posts (and
final HTML output) will appear with smart quotes, em-dashes, and proper
ellipses.

smartypants does not modify contents in some HTML element. Typically, these
tags are used to display text where smart quotes and other "smart punctuation"
would not be appropriate, such as source code or example markup.


Master sites:

SHA1: 73f663d2370b33328a7c3490cb4c9fdf0146c5ee
RMD160: 2fbe33dcca0235f808c7937e3aa602c13972bfdc
Filesize: 23.586 KB

Version history: (Expand)