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 上使用
扫码在 Android 版 Firefox 中打开此扩展
扩展元数据
屏幕截图
关于此扩展
Markdown Lens turns Markdown files into readable pages right in Firefox. Open a
How to use it
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
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
Supported file extensions:
Source code, issues and a test page with every feature
.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
- 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. - Open a Markdown file: drag it into a tab, or type its path, for example
file:///home/you/notes/README.md. - 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
tshows or hides the table of contentsrswitches between the rendered page and the raw Markdowndcycles 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 fencedmathblocks - Diagrams: Mermaid, flowchart.js (
flowblocks) and sequence diagrams (sequenceblocks) - 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 位用户)
权限与数据
更多信息