talira

QLMarkdown

A macOS Quick Look extension that previews Markdown files, with GitHub Flavored Markdown, maths and Mermaid diagrams.

open sourceGPL-3.0-onlyself-hostablefree

QLMarkdown adds Markdown previews to macOS Quick Look: press space on a .md file in Finder and see it rendered, with syntax-highlighted code, emoji, tables, GitHub-style alerts, MathJax maths and Mermaid diagrams. It renders with GitHub's cmark-gfm library plus extensions for definition lists, highlights, sub- and superscript, wikilinks, hashtags, MkDocs admonitions, heading anchors and YAML headers, and it also previews R Markdown, MDX, Quarto, Cursor rules (.mdc), API Blueprint, TextBundle and .mermaid files. A settings app picks the theme and options, a command-line tool converts Markdown to HTML with the same engine, and an experimental Shortcuts action does the same. The app is signed and notarized; the maker says it isn't meant as a standalone Markdown editor or viewer.

Problems it solves

  • preview Markdown files in Finder by pressing space
  • macOS Quick Look shows Markdown as plain text
  • see a README rendered without opening an editor
  • preview Mermaid diagrams and maths in Markdown files on my Mac
  • convert Markdown to HTML from the command line with GitHub-style rendering
  • Quick Look preview for R Markdown and Quarto files

Features

  • Quick Look previews of Markdown files
  • cmark-gfm rendering with GitHub Flavored Markdown
  • syntax highlighting with line numbers and word wrap options
  • MathJax maths and Mermaid diagrams
  • emoji shortcodes, GitHub alerts, definition lists, highlights, sub- and superscript
  • wikilinks, hashtags, MkDocs admonitions and heading anchors
  • YAML headers for R Markdown and Quarto
  • previews .rmd, .mdx, .qmd, .mdc, .apib, TextBundle and .mermaid files
  • inline local images
  • themes and options in a settings app
View 3 more
  • command-line Markdown to HTML converter
  • experimental Shortcuts action
  • signed and notarized app

Limitations

  • Not meant as a standalone Markdown editor or viewer.1
  • The Math and Mermaid extensions need external JavaScript libraries.1

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what QLMarkdown does.

  1. Syntax Highlight Quick Look extension for highlighting source code files

Compare QLMarkdown with the top 3