Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
Markdown Viewer Webext 预览

Markdown Viewer Webext 作者: Cimbali

Displays markdown documents beautified in your browser.

4.2 (100 reviews)4.2 (100 reviews)
6,604 个用户6,604 个用户
您需要 Firefox 来使用此扩展
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
Original text and formatted markdown.
关于此扩展
Markdown is a lightweight markup language which uses plain text to describe formatting information, such as # Heading, 1. numbered list, **bold**, etc. This add-on identifies markdown documents by the extension in the URL (.md, .markdown, etc.). When you navigate to a markdown document, if the content is plain text, this add-on formats it into HTML (with headings, bold text, etc.) as described in the document and displays it directly in your browser.

Features
  • Renders markdown files on the web and local files (file:// URLs).
  • Rendering is triggered through a button in the URL bar.<br />
    Automatic rendering is available optionally (requires more permissions to check pages for markdown).
  • Works securely, by rendering pages inside a sandboxed iframe.
  • Adjustable rendering style:
    • Out of the box dark mode support
    • Pick page styling from default or github-lookalike.
    • Pick code coloring from all highlight.js styles
    • Add your own custom CSS (in the addon preferences)
  • Use a separate extension page to for heavy pages and environments that try to download markdown files, with
    • Light browser footprint, by rendering pages in a separate worker thread
    • One-time file picker confirmation, to access local files
  • Prepending ext+view-markdown: to an URL opens that page in the extension for rendering.
  • Supports header anchors (i.e. links).
  • Optional markdown syntax extensions:
    • checkboxes,
    • footnotes,
    • fancy lists (e.g. roman numerals)
    • laTeX,
    • mermaid.js diagrams
    • front matters,
    • and emojis.
  • Download rendered result as static HTML page
  • Link to page source
  • Respects website security, including Content-Security-Policy headers, by not automatically injecting code into such pages even when automatic rendering is enabled. Rendering can be forced manually through the URL bar button.

⚠ On Linux and macOS, due to Firefox limitations, your browser may try to download a local markdown file instead of opening it.
Simply prepend ext+view-markdown: to the file:// URL and confirm the access, or open the markdown viewer page through the toolbar button and select the desired file from a file picker.

Permissions
This add-on requires minimal permissions to do its job. There are:
  • Storage (mandatory, not shown by Firefox), to store preferences (including your personalized CSS) in your sync profile.
  • Active tab (mandatory, not shown by Firefox), to access a page’s URL and contents for rendering, when the URL bar button is clicked.
  • Host permissions (optional, presented as “access data on all websites”), to check pages whose URLs have markdown file extensions (.md, .markdown, etc.) for renderable markdown.
评分 4.2(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
63
4
17
3
4
2
4
1
12
阅读全部 100 条评价
权限与数据详细了解

必要权限:

  • 访问您在所有网站的数据
更多信息
附加组件链接
  • 主页
  • 用户支持网站
版本
1.8.1
大小
274.21 KB
上次更新
4 年前 (2022年1月16日)
相关分类
  • 外观
  • 其他
许可证
MIT 许可证
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
1.8.1 的发布说明
Improvements of corner cases: default printing style, icon on dark backgrounds.
Cimbali 制作的更多扩展
  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

转至 Mozilla 主页

附加组件

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

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。