macOS
brew install smartypantslocal Homebrew formula metadata
安装
brew install smartypantslocal Homebrew formula metadata
sudo apk add smartypantsAlpine Linux edge package indexes · smartypants · 来源: dl-cdn.alpinelinux.org
sudo apt install python3-smartypantsDebian stable package indexes · python3-smartypants · 来源: deb.debian.org
概览
Typography prettifier
历史
SmartyPants is John Gruber's typography filter for turning plain ASCII punctuation into typographic HTML entities. In package-manager culture it is a small but durable text-processing command, tied to early weblog tooling and the same Daring Fireball ecosystem that produced Markdown.
The official project page records SmartyPants 1.0 as released on November 13, 2002. It began as a free web publishing plug-in for Movable Type and later supported Blosxom, BBEdit, and Unix-style command-line use.
SmartyPants became useful wherever plain text was converted to web output. The official history added Blosxom, BBEdit, command-line use, and automatic integration with Markdown in Movable Type; the supplied package metadata shows later packaging in Homebrew, Alpine, Debian, and Ubuntu variants.
The tool converts straight quotes, backtick quote notation, dash sequences, and three dots into smart quote, dash, and ellipsis HTML entities while avoiding code-like HTML blocks such as `pre`, `code`, `kbd`, and `script`.
Package maintainers care because SmartyPants is a classic tiny text filter: old Perl, web-publishing conventions, command-line use, and compatibility behavior all matter more than churn. It is also historically adjacent to Markdown, which makes it familiar to documentation and static-site toolchains.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
smartypants | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:smartypants |
|---|---|
| 版本 | 1.5.1 |
| 软件包管理器 | Homebrew |
| 主页 | https://daringfireball.net/projects/smartypants/ |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
python3-smartypants 2.0.0-4
smart-quotes plugin for pyblosxom (Python 3 version)
https://github.com/justinmayer/smartypants.py
sudo apt install python3-smartypantspython3-smartypants 2.0.0-3
smart-quotes plugin for pyblosxom (Python 3 version)
http://web.chad.org/projects/smartypants.py/
sudo apt install python3-smartypantssmartypants 2.0.1-r6
Translate plain ASCII punctuation characters into “smart” typographic punctuation HTML entities
https://github.com/leohemsted/smartypants.py
sudo apk add smartypantssmartypants-doc 2.0.1-r6
Translate plain ASCII punctuation characters into “smart” typographic punctuation HTML entities (documentation)
https://github.com/leohemsted/smartypants.py
sudo apk add smartypants-docsmartypants-pyc 2.0.1-r6
Precompiled Python bytecode for smartypants
https://github.com/leohemsted/smartypants.py
sudo apk add smartypants-pyc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.