macOS
brew install asciidoclocal Homebrew formula metadata
sudo port install asciidocMacPorts ports tree · textproc/asciidoc/Portfile · 来源: api.github.com
安装
brew install asciidoclocal Homebrew formula metadata
sudo port install asciidocMacPorts ports tree · textproc/asciidoc/Portfile · 来源: api.github.com
sudo apk add asciidocAlpine Linux edge package indexes · asciidoc · 来源: dl-cdn.alpinelinux.org
sudo apt install asciidocDebian stable package indexes · asciidoc · 来源: deb.debian.org
sudo dnf install asciidocFedora Rawhide package metadata · asciidoc · 来源: dl.fedoraproject.org
nix profile install nixpkgs#asciidocnixpkgs package indexes · pkgs/by-name/as/asciidoc/package.nix · 来源: api.github.com
sudo pacman -S asciidocArch Linux sync databases · asciidoc · 来源: geo.mirror.pkgbuild.com
sudo zypper install asciidocopenSUSE Tumbleweed package metadata · asciidoc · 来源: download.opensuse.org
概览
Formatter/translator for text files to numerous formats
历史
The Homebrew `asciidoc` formula packages AsciiDoc.py, the legacy Python processor for the AsciiDoc lightweight markup language. The language began as Stuart Rackham's shorthand for DocBook, while the current AsciiDoc.py site now explicitly distinguishes the legacy processor from the modern AsciiDoc specification.
The official Asciidoctor history records that Stuart Rackham first conceived AsciiDoc in 2002 as a shorthand format for DocBook and launched both the language and processor as the AsciiDoc.py project. The first public AsciiDoc.py 1.0 release, SourceForge registration, and first website publication all happened on 2002-11-25.
AsciiDoc.py evolved for roughly a decade as the original processor. The official timeline records a move from SourceForge-era hosting through Google Code and then, in December 2013, transfer of the source repository to the asciidoc organization on GitHub. The AsciiDoc.py homepage describes it as highly configurable, with source syntax and backend output markups customizable through configuration files.
The later Python package line modernized the old processor. The official changelog records Python 3.5+ support in version 9.0.0 in 2020, a 10.0.0 rewrite into a proper Python package installable with `pip install asciidoc` in 2021, and version 10.2.1 in July 2024.
AsciiDoc.py spread because it made DocBook-oriented publishing possible from plain text using `asciidoc` and the `a2x` wrapper. The official homepage shows examples for HTML, XHTML, DocBook, EPUB, PDF, slides, websites, and Unix man pages, and the install page lists distro packaging in Fedora, Debian/Ubuntu, and Homebrew.
Its role changed after Asciidoctor appeared. The official history says Asciidoctor became AsciiDoc.py's successor after GitHub disabled AsciiDoc rendering in January 2013 for security concerns and then re-enabled rendering with Asciidoctor. The AsciiDoc.py homepage now recommends using a modern processor unless the AsciiDoc.py toolchain is specifically required.
Package users install `asciidoc` and `a2x` to translate `.txt` or `.adoc` sources into HTML, DocBook, man pages, EPUB, PDF, and related outputs. The user guide describes AsciiDoc as lightweight, consisting of scripts plus configuration files, with backend plugins and themes extending output generation.
AsciiDoc.py is historically important because it is the original implementation that made AsciiDoc a package-manager staple. It is also a useful case study in language/tool split: the `asciidoc` package name preserves the old Python processor even as the language specification and modern processing ecosystem moved toward Asciidoctor and the Eclipse AsciiDoc Working Group.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
a2x | cli | 全局可执行文件 | |
asciidoc | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://asciidoc-py.github.io/
安装元数据
| 软件包键 | brew:asciidoc |
|---|---|
| 版本 | 10.2.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/asciidoc |
| 主页 | https://asciidoc-py.github.io/ |
| 仓库 | https://github.com/asciidoc/asciidoc-py3 |
| 上游文档 | https://asciidoc-py.github.io/ |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://files.pythonhosted.org/packages/1d/e7/315a82f2d256e9270977aa3c15e8fe281fd7c40b8e2a0b97e0cb61ca8fa0/asciidoc-10.2.1.tar.gz |
| 依赖 | docbook, python@3.14, source-highlight |
| macOS 提供的库 | libxml2 |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
| 注意事项 | If you intend to process AsciiDoc files through an XML stage (such as a2x for manpage generation) you need to add something like: export XML_CATALOG_FILES=$HOMEBREW_PREFIX/etc/xml/catalog to your shell rc file so that xmllint can find AsciiDoc's catalog files. See `man 1 xmllint' for more. |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | asciidoc |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
asciidoc 10.2.1-1
Highly configurable text format for writing documentation
sudo apt install asciidocasciidoc-base 10.2.1-1
Minimal version of asciidoc not suitable for pdf
sudo apt install asciidoc-baseasciidoc-common 10.2.1-1
Basic data and configuration files for asciidoc
sudo apt install asciidoc-commonasciidoc-dblatex 10.2.1-1
Asciidoc package including dblatex dependencies
sudo apt install asciidoc-dblatexasciidoc-fop 10.2.1-1
Asciidoc package including fop dependencies
sudo apt install asciidoc-fopasciidoc-tests 10.2.1-1
Test framework for asciidoc
sudo apt install asciidoc-testsasciidoc
nix profile install nixpkgs#asciidocasciidoc 10.2.0-2
Highly configurable text format for writing documentation
sudo apt install asciidocasciidoc-base 10.2.0-2
Minimal version of asciidoc not suitable for pdf
sudo apt install asciidoc-baseasciidoc-common 10.2.0-2
Basic data and configuration files for asciidoc
sudo apt install asciidoc-commonasciidoc-dblatex 10.2.0-2
Asciidoc package including dblatex dependencies
sudo apt install asciidoc-dblatexasciidoc-fop 10.2.0-2
Asciidoc package including fop dependencies
sudo apt install asciidoc-fopasciidoc-tests 10.2.0-2
Test framework for asciidoc
sudo apt install asciidoc-testsasciidoc 10.2.1-r1
Text based documentation
sudo apk add asciidocasciidoc-doc 10.2.1-r1
Text based documentation (documentation)
sudo apk add asciidoc-docasciidoc-pyc 10.2.1-r1
Precompiled Python bytecode for asciidoc
sudo apk add asciidoc-pyc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.