Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
登录
Markdown Lens 预览

Markdown Lens 作者: Evaggelos Balaskas

Render local and plain-text Markdown files as HTML, fully offline: GitHub Flavored Markdown, KaTeX math, syntax highlighting and Mermaid, flowchart.js and sequence diagrams.

可在 Android™ 版 Firefox 上使用可在 Android™ 版 Firefox 上使用
5(1 条评价)5(1 条评价)
下载 Firefox 并安装扩展
下载文件
扫码在 Android 版 Firefox 中打开此扩展

扩展元数据

屏幕截图
Markdown Lens manual test
关于此扩展
Markdown Lens turns Markdown files into readable pages right in Firefox. Open a .md file and, instead of plain text, you get a formatted page with headings, tables, code and diagrams. Everything runs on your computer: no network requests, no accounts, no data collected.

How to use it
  1. After installing, open about:addons → Markdown Lens → Permissions and turn on access to websites. Firefox asks for this separately; without it, Markdown files stay plain text.
  2. Open a Markdown file: drag it into a tab, or type its path, for example file:///home/you/notes/README.md.
  3. Raw Markdown from a website also works, as long as the server sends it as plain text (for example, the "Raw" view of a file on a Git host).

When a file is rendered, its tab shows the Markdown Lens icon. Tabs that were open before you allowed access need a reload (Ctrl+Shift+R).

On a rendered page
  • t shows or hides the table of contents
  • r switches between the rendered page and the raw Markdown
  • d cycles through the themes: Auto → Light → Dark

The same actions are available from the buttons in the top-right corner. Your theme and table of contents choices are remembered for all files. To see changes you've made to a file, reload the tab.

What it renders
  • GitHub Flavored Markdown: tables, task lists, footnotes and alerts such as > [!NOTE]
  • Syntax highlighting: with a copy button on code blocks
  • KaTeX math: $inline$, $$display$$ and fenced math blocks
  • Diagrams: Mermaid, flowchart.js (flow blocks) and sequence diagrams (sequence blocks)
  • PlantUML: blocks are shown as labelled source and never sent to a server

Supported file extensions: .md, .markdown, .mdown, .mkd and .mkdn. Pages that are already HTML are left alone. Embedded HTML is sanitized, so a Markdown file cannot run scripts.

Source code, issues and a test page with every feature
评分 5(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
1
4
0
3
0
2
0
1
0
阅读全部 1 条评价
权限与数据

必要权限:

  • 访问您在所有网站的数据

收集的数据:

  • 开发者称此扩展无需收集数据。
详细了解
更多信息
附加组件链接
  • 主页
  • 用户支持网站
  • 支持邮箱
  • 复制附加组件 ID
版本
0.2.7
大小
2.14 MB
上次更新
1 天前 (2026年11月28日)
相关分类
  • 网页开发
许可证
MIT 许可证
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

下载

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

最新版本

  • Nightly
  • Beta

商用版 Firefox

  • Enterprise

社区

  • Connect
  • Contribute
  • Developer

关注

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 隐私
  • Cookie
  • 法律

本站内容以知识共享署名-相同方式共享 v3.0 或任何更新版本授权(除非另有注明)。Android 系 Google LLC 的商标。