Skip to content

anhar/macdown

 
 

Repository files navigation

MacDown

Total downloads Build Status

MacDown is an open source Markdown editor for OS X, released under the MIT License. The author stole the idea from Chen Luo’s Mou so that people can make crappy clones.

Visit the project site for more information, or download MacDown.app.zip directly from the latest releases page.

License

MacDown is released under the terms of MIT License. You may find the content of the license here, or inside the LICENSE directory.

You may find full text of licenses about third-party components in the LICENSE directory, or the About MacDown panel in the application.

The following editor themes and CSS files are extracted from Mou, courtesy of Chen Luo:

  • Mou Fresh Air
  • Mou Fresh Air+
  • Mou Night
  • Mou Night+
  • Mou Paper
  • Mou Paper+
  • Tomorrow
  • Tomorrow Blue
  • Tomorrow+
  • Writer
  • Writer+
  • Clearness
  • Clearness Dark
  • GitHub
  • GitHub2

Development

Requirements

If you wish to build MacDown yourself, you will need the following components/tools:

  • OS X SDK (10.8 or later)
  • Git
  • Bundler

You may also need to install Xcode’s command line tools with the following command:

xcode-select --install

Note: Due to multiple upstream bugs, Xcode may fail to build certain dependencies if you use the CocoaPods with versions lower than 0.39. Please upgrade CocoaPods, or use Bundler to execute a local version (as suggested above) instead.

An appropriate SDK should be bundled with Xcode 5 or later versions.

Environment Setup

After cloning the repository, run the following commands inside the repository root (directory containing this README.md file):

git submodule init
git submodule update
bundle install
bundle exec pod install

and open MacDown.xcworkspace in Xcode. The first command initialises the dependency submodule(s) used in MacDown; the second one installs dependencies managed by CocoaPods.

Refer to the official guides of Git and CocoaPods if you need more instructions. If you run into build issues later on, try running the following commands to update dependencies:

git submodule update
bundle exec pod install

Discussion

![Gitter](https://badges.gitter.im/Join Chat.svg)

Join our Gitter channel if you have any problems with MacDown. Any suggestions are welcomed, too!

You can also file an issue directly on GitHub if you prefer so. But please, search first to make sure no-one has reported the same issue already before opening one yourself. MacDown does not update in your computer immediately when we make changes, so something you experienced might be known, or even fixed in the development version.

MacDown depends a lot on other open source projects, such as Hoedown for Markdown-to-HTML rendering, Prism for syntax highlighting (in code blocks), and PEG Markdown Highlight for editor highlighting. If you find problems when using those particular features, you can also consider reporting them directly to upstream projects as well as to MacDown’s issue tracker. I will do what I can if you report it here, but sometimes it can be more beneficial to interact with them directly.

Tipping

If you find MacDown suitable for your needs, please consider giving me a tip through PayPal. Or, if you prefer to buy me a drink personally instead, just send me a tweet when you visit Taipei, Taiwan, where I live. I look forward to meeting you!

About

Open source Markdown editor for OS X.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 56.9%
  • C 34.4%
  • CSS 4.5%
  • GAP 1.6%
  • Shell 1.1%
  • Python 1.0%
  • Other 0.5%