macOS
brew install mdlesslocal Homebrew formula metadata
安装
brew install mdlesslocal Homebrew formula metadata
概览
Provides a formatted and highlighted view of Markdown files in Terminal
历史
mdless is a Ruby terminal Markdown viewer and pager by Brett Terpstra. It provides formatted, highlighted Markdown output in the terminal, with pager behavior, syntax highlighting support, table formatting, themes, images through helper tools, and TaskPaper-related features.
The GitHub repository was created in August 2015, and the README explains the original motivation: the author wanted a quick terminal way to view Markdown files without using `qlmanage -p` from an iTerm2 visor workflow.
The changelog shows a long-lived 1.x and 2.x project. Version 1.0.0 marked an early maturity point, version 2.0.0 switched to Redcarpet parsing and added the `~/.config/mdless/config.yml` file, and later 2.1.x releases added and refined TaskPaper, metadata, image, theme, table, Ruby compatibility, and terminal-copy behavior.
mdless spread through RubyGems and Homebrew. The README documents both `gem install mdless` and `brew install mdless`, while RubyGems reported more than 360,000 downloads and Homebrew tracked stable version 2.1.68 in 2026.
Unlike some newer Rust terminal viewers, mdless is strongly tied to the Ruby CLI ecosystem and Brett Terpstra's macOS-terminal workflow, but it remains packaged as a standalone Homebrew formula.
Typical use is `mdless [options] path` or piping Markdown into it with `cat path | mdless`. The pager is selected from `$PAGER`, `less`, `more`, `cat`, or `pager`.
The first run writes `~/.config/mdless/config.yml`, and customization uses `~/.config/mdless/mdless.theme` plus optional named theme files. The README documents persistent options for colors, links, images, syntax highlighting, TaskPaper behavior, width, wiki links, and related rendering choices.
mdless is significant as an early dedicated Markdown pager for terminal users, especially before richer Rust and Go terminal Markdown renderers became common. It made Markdown viewing feel like a natural extension of `less` instead of a browser or preview-app task.
For packagers, mdless is a classic Ruby CLI with optional external helpers: Pygments for code highlighting and imgcat or chafa for image rendering. That makes it simple to install but richer when companion tools are present.
安全态势
没有找到 mdless 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.config/mdless/config.yml~/.config/mdless/mdless.theme可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
mdless | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:mdless |
|---|---|
| 版本 | 2.1.68 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/ttscoff/mdless |
| 仓库 | https://github.com/ttscoff/mdless |
| 最后更新 | 2026-06-25T15:48:53Z |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.