Path to this page:
./
textproc/py-smartypants,
Python with the SmartyPants
Branch: pkgsrc-2022Q4,
Version: 2.0.1nb1,
Package name: py310-smartypants-2.0.1nb1,
Maintainer: pkgsrc-userssmartypants 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:
Filesize: 23.586 KB
Version history: (Expand)
- (2022-12-27) Package added to pkgsrc.se, version py310-smartypants-2.0.1nb1 (created)