# 使用 Homebrew 安装 html2markdown

查看 html2markdown 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:html2markdown
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install html2markdown
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:html2markdown
- **软件包管理器:** Homebrew
- **版本:** 2.5.2
- **来源摘要:** Convert HTML to Markdown
- **主页:** <https://html-to-markdown.com>
- **仓库:** <https://github.com/JohannesKaufmann/html-to-markdown>
- **最后更新:** 2026-07-27T14:32:26+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- html2markdown (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.5.2
## 项目历史与用法

html2markdown is the Homebrew-packaged command-line face of Johannes Kaufmann's html-to-markdown project, a Go implementation for turning HTML into readable Markdown. Its appeal comes from using an HTML parser and conversion rules instead of regular-expression scraping.

### 项目历史

The repository was created in 2018 and presents the project as a Go library that converts HTML to Markdown with parser-based handling for unknown input. The README emphasizes extensibility through rules and plugins, with support for GitHub-flavored Markdown features such as tables, strikethrough, and task-list items.

The release stream shows steady versioned packaging, with the 1.x series active through 2024 and the 2.x series appearing afterward. Release assets include platform archives and package artifacts, which explains why a library-oriented Go project also fits Homebrew as a CLI formula.

### 采用历史

The project is visible in Go documentation, Homebrew, and Debian's Go library packaging. That adoption pattern is common for Go conversion libraries: developers embed the library in migration tools, while package managers expose a small command-line converter for one-off document cleanup.

### 使用方式

Typical use cases are converting copied web fragments, archived pages, CMS exports, or generated HTML into Markdown for documentation systems. The README's rule and plugin APIs make it useful when a team needs repeatable conversion rules instead of a generic all-purpose document converter.

### 为什么软件包爱好者会关心

For package nerds, html2markdown is interesting because it occupies the narrow lane between heavyweight converters such as Pandoc and tiny ad hoc scripts. It packages a parser-backed Go library as an installable utility, giving shell users a focused HTML-to-Markdown tool with binaries across platforms.

### 时间线

- 2018: The html-to-markdown repository was created on GitHub.
- 2020: The v1.2.0 release continued the early 1.x line.
- 2021: v1.3.0 added nested-list focused work.
- 2023: v1.4.0 added escaping control, followed by v1.5.0 list-start work.
- 2024: v1.6.0 landed before the alpha 2.0 releases.
- 2025: v2.3.0 identified table-plugin work in the release title.
- 2026: v2.5.2 shipped with multiple platform artifacts.

### Related projects

- The README names Turndown for JavaScript and lunny/html2md as related projects. In practice, users also compare this kind of tool with Pandoc, html2text, and bespoke site-migration scripts.

### 来源

- GitHub repository and release metadata document the repository creation date and versioned release history.
- Homebrew and Debian package pages support package-manager adoption.
- The GitHub README documents parser-based conversion, rules, plugins, security caveats, and related projects.


## 安全说明

没有找到 html2markdown 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Combined YAML source

View the package source record on GitHub. [combined/html2markdown.yml](https://github.com/mxcl/pkgdb/blob/main/combined/html2markdown.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
