Markdown Viewer Webext EN
Cimbali · Firefox
Displays markdown documents beautified in your browser.
<all_urls>),意味着它可以读取你在任意站点的页面内容,包括已登录的页面。这是许多扩展正常工作的必要条件,但也值得你确认来源可信。
截图
简介
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.
<strong>Features</strong>
<ul>
<li>Renders markdown files on the web <em>and</em> local files (<code>file://</code> URLs).</li>
<li>Rendering is triggered through a button in the URL bar.<br />
Automatic rendering is available optionally (requires more permissions to check pages for markdown).</li>
<li>Works securely, by rendering pages inside a sandboxed iframe.</li>
<li>Adjustable rendering style:
<ul>
<li>Out of the box dark mode support</li>
<li>Pick page styling from default or github-lookalike.</li>
<li>Pick code coloring from all highlight.js styles</li>
<li>Add your own custom CSS (in the addon preferences)</li>
</ul>
</li>
<li>Use a separate extension page to for heavy pages and environments that try to download markdown files, with
<ul>
<li>Light browser footprint, by rendering pages in a separate worker thread</li>
<li>One-time file picker confirmation, to access local files</li>
</ul>
</li>
<li>Prepending <code>ext+view-markdown:</code> to an URL opens that page in the extension for rendering.</li>
<li>Supports header anchors (i.e. links).</li>
<li>Optional markdown syntax extensions:
<ul>
<li>checkboxes,</li>
<li>footnotes,</li>
<li>fancy lists (e.g. roman numerals)</li>
<li>laTeX,</li>
<li><a href="https://mermaid.js.org/syntax/examples.html">mermaid.js</a> diagrams</li>
<li>front matters,</li>
<li>and emojis.</li>
</ul>
</li>
<li>Download rendered result as static HTML page</li>
<li>Link to page source</li>
<li>Respects website security, including <code>Content-Security-Policy</code> 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.</li>
</ul>
⚠ In order to open local files, check the "Access local files on your computer" permission in the "Permissions and data" tab of the addon's settings
⚠ On Linux and macOS, due to Firefox limitations, your browser may try to download a local markdown file instead of opening it.
Simply prepend <code>ext+view-markdown:</code> to the <code>file://</code> URL and confirm the access, or open the markdown viewer page through the toolbar button and select the desired file from a file picker.
<strong>Permissions</strong>
This add-on requires minimal permissions to do its job. There are:
<ul>
<li>Storage (<em>mandatory</em>, not shown by Firefox), to store preferences (including your personalized CSS) in your sync profile.</li>
<li>Active tab (<em>mandatory</em>, not shown by Firefox), to access a page’s URL and contents for rendering, when the URL bar button is clicked.</li>
<li>Host permissions (<em>optional</em>, presented as “access data on all websites”), to check pages whose URLs have markdown file extensions (<code>.md</code>, <code>.markdown</code>, etc.) for renderable markdown.</li>
</ul>
Markdown Viewer Webext 是做什么的
Markdown Viewer Webext 是一款面向 Firefox 的外观主题类扩展,主要用来更换浏览器配色、给网页加深色模式、调整界面观感。官方对它的介绍是:Displays markdown documents beautified in your browser.在Firefox 附加组件商店(AMO)上,它当前版本 1.8.1,评分 4.18(105 人评价),约 6,804 名用户。
适合什么人用
从功能定位看,Markdown Viewer Webext 更适合长时间对着屏幕、希望降低眼睛负担的用户。如果你平时只是偶尔遇到相关需求,用浏览器自带功能也能凑合;但如果这件事每天都发生,装一个专门处理它的扩展通常比手动操作省事得多。需要注意的是它作用于所有网站,装上后建议先观察一两天,确认不影响常用站点的正常使用。
怎么安装 Markdown Viewer Webext
- 打开Firefox 附加组件商店(AMO)上的官方页面;
- 点「添加到浏览器」并确认权限提示;
- 装好后在扩展列表里固定图标,方便随时开关。
本站只做索引与介绍,安装包来自官方商店。如果商店页面提示当前地区不可用,说明该扩展未在你所在区域上架。
常见问题
Markdown Viewer Webext 是免费的吗?
Markdown Viewer Webext 在Firefox 附加组件商店(AMO)免费提供下载。它是浏览器扩展,装上就能直接用,不需要注册账号。
Markdown Viewer Webext 安全吗?
它只申请了 0 项权限,范围比较克制,没有申请「读取所有网站数据」这种大权限。
Markdown Viewer Webext 支持哪些浏览器?
当前收录的版本来自Firefox 附加组件商店(AMO),适用于 Firefox。同一个扩展在其他商店可能有对应版本,但功能与版本号不一定相同。
怎么卸载 Markdown Viewer Webext?
在扩展管理页找到 Markdown Viewer Webext,点移除即可。它在本地保存的设置会一起清掉,不会残留数据。
权限清单 来自 manifest.json 原文
接口权限 1
storage
