Firefox 瀏覽器附加元件
登入
Markdown Viewer Webext 預覽

Markdown Viewer Webext 作者: Cimbali

Displays markdown documents beautified in your browser.

4.2(101 筆評分)4.2(101 筆評分)
6,605 位使用者6,605 位使用者
下載 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.
由 1 位評論者給出 4.2 分
登入後即可幫此擴充套件評分
目前沒有評分

已儲存星等

5
64
4
17
3
4
2
4
1
12
閱讀全部 101 條評論
權限與資料了解更多

必要權限:

  • 存取您所有網站中的資料
更多資訊
附加元件網址
  • 首頁
  • 技術支援網站
版本
1.8.1
大小
274.21 KB
最近更新
4 年前 (2022年1月16日)
相關分類
  • 外觀
  • 其它
授權條款
MIT License
版本紀錄
  • 瀏覽所有版本
新增至收藏集
檢舉此附加元件
1.8.1 版的發行公告
Improvements of corner cases: default printing style, icon on dark backgrounds.
前往 Mozilla 官網

附加元件

  • 關於
  • Firefox 附加元件部落格
  • 擴充套件工作坊
  • 開發者交流中心
  • 開發者政策
  • 社群部落格
  • 討論區
  • 回報 Bug
  • 評論撰寫指南

瀏覽器

  • Desktop
  • Mobile
  • Enterprise

產品

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

除另有註明外,本站內容皆採用創用 CC 姓名標示—相同方式分享條款 3.0 或更新版本授權大眾使用。