← All projects
Project record1 mention
Originally shared on Hacker News

mddog

mddog is a terminal-based Markdown viewer that renders Markdown in its true form (like GitHub/Obsidian) by building it out with macOS built-in engines such as CoreText and CoreGraphics and sending the output to the terminal as images.

Last shared
01 / The problem

What it addresses

Reading Markdown either requires leaving the terminal for a GUI previewer like VS Code or Obsidian, or using terminal viewers like glow and leaf that do not render it in its true form.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. mddog

    mddog is a terminal-based Markdown viewer that renders Markdown in its true form (like GitHub/Obsidian) by building it out with macOS built-in engines such as CoreText and CoreGraphics and sending the output to the terminal as images.

    Problem: Reading Markdown either requires leaving the terminal for a GUI previewer like VS Code or Obsidian, or using terminal viewers like glow and leaf that do not render it in its true form.

    Posted by @qu8n · Original source ↗

    Source text · @qu8n · · Source ↗

    So I made mddog (inspired by mdcat!)

    Submitted URL · @qu8n · · Source ↗

    https://mddog.pages.dev

    Story title · @qu8n · · Source ↗

    Show HN: View Markdown like you would on GitHub/Obsidian, right in your terminal

    Source text · @qu8n · · Source ↗

    It basically works by building out the Markdown into its real format using macOS built-in engines like CoreText and CoreGraphics, then send the outputs to the terminal as images. The result is that we can view real Markdown format right in the terminal.

    Source text · @qu8n · · Source ↗

    To read Markdown, it seems like we have two choices: (1) use a GUI like VS Code and Obsidian to preview them, which takes me away from the terminal, or (2) use a terminal Markdown viewer like glow and leaf, which doesn't render them in their true form.

    Story title · @qu8n · · Source ↗

    View Markdown like you would on GitHub/Obsidian, right in your terminal