MacDown Documentation

repository·master·Indexed 26 days ago

https://github.com/macdownapp/macdown

An open source Markdown editor for macOS featuring a split-pane interface for real-time previewing. Documentation covers installation via manual download or Homebrew Cask, development environment setup, and detailed guides on Markdown syntax, rendering preferences, and editor customization. Includes support for Mermaid and Graphviz diagrams, TeX-like math syntax, and custom CSS styling.

Tokens
2.5K
Snippets
9
Records
18
Agent score
95%

What's inside MacDown

  1. Configure Markdown syntax and rendering in MacDown

    master

    MacDown supports the original Markdown syntax and allows you to enable or disable various popular non-standard syntaxes.

    • To toggle non-standard syntaxes, use the Markdown preference pane.
    • To specify extra HTML rendering options, use the Rendering preference pane.
  2. Set up the MacDown development environment

    master

    To build MacDown from source, ensure you have the following requirements installed:

    Requirements

    • OS X SDK (10.14 or later)
    • Git
    • Bundler
    • Xcode 5 or later (includes appropriate SDK)
    • Note: If compilation fails, you may need to install Command Line Tools (CLT) using xcode-select --install.

    Environment Setup Steps

    After cloning the repository, execute these commands in the repository root to initialize submodules and install dependencies:

    1. Initialize submodules: git submodule update --init
    2. Install Ruby dependencies: bundle install
    3. Install CocoaPods dependencies: bundle exec pod install
    4. Build the markdown highlighter: make -C Dependency/peg-markdown-highlight

    Finally, open MacDown.xcworkspace in Xcode to begin development.

    Updating Dependencies

    If you encounter build issues later, try updating the dependencies with:

    git submodule update
    bundle exec pod install
    git submodule update --init
    bundle install
    bundle exec pod install
    make -C Dependency/peg-markdown-highlight
  3. Enable Graph Visualization in MacDown

    master

    To use Mermaid or Graphviz diagram rendering in MacDown, you must manually enable them in the application settings:

    1. Open MacDown.
    2. Navigate to Preferences....
    3. Select the Rendering tab.
    4. Check the boxes for Mermaid and/or Graphviz.