Show HN: Mdc – just another Markdown viewer with ToC and CLI support

4 months ago 4

A modern, lightweight desktop application for viewing Markdown files with an auto-generated table of contents. Built with Tauri, React, and TypeScript.

  • 📄 Clean Markdown Rendering: Beautifully rendered Markdown with GitHub-flavored markdown support
  • 📋 Auto-generated Table of Contents: Automatically generates navigation from your document headers
  • 🎨 Modern UI: Clean, responsive design with dark/light mode support
  • 🖱️ Easy File Selection: Click-to-select interface for choosing Markdown files
  • Fast & Lightweight: Built with Tauri for optimal performance
  • 🔄 File Switching: Quick file switching with the floating file selector button
brew tap zoetin45/tap brew install mdc
  1. Download the latest release from the releases page
  2. Install the appropriate package for your platform:
    • macOS: Download and mount the .dmg file, then drag MDC to Applications
    • Windows: Run the .msi installer
    • Linux: Install the .deb or .AppImage file

Launch with file selection

Click anywhere on the welcome screen to select a Markdown file to view.

Launch with specific file

mdc path/to/your/document.md

When viewing a document, click the file icon in the top-right corner to select a different Markdown file.

git clone https://github.com/zoetin45/mdc.git cd mdc pnpm install
  • Frontend: React + TypeScript + Vite
  • Styling: Tailwind CSS + Tailwind Typography
  • Desktop Framework: Tauri
  • Markdown Rendering: react-markdown + remark-gfm
  • Backend: Rust

MIT License - see LICENSE file for details.

Read Entire Article