Skip to content
Sign in
Markdown Lens icon

Markdown Lens

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

Not scanned yet Browser extension Firefox 1 users

Install in

No install steps yet

Follow the steps on the source page.

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

Written by Joobi from the project's own listing. See the source page

28 Nov 2026
Version 0.2.7 released. Not scanned yet.
27 Nov 2026
Version 0.2.5 released. Not scanned yet.
24 Nov 2026Listed on Joobi from Firefox Add-ons.

Follow this listing's changes (Atom feed)