Skip to content

hito1402/macdown

 
 

Repository files navigation

MacDown

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:

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

xcode-select --install

Note: Due to an upstream bug, Xcode will fail to build certain dependencies if you use the latest version of CocoaPods (0.35 at the time of writing). To avoid the problem and build the project correctly, you need to install an older version of CocoaPods (0.34.4 is recommended), and use that to build the dependencies instead. See comment in issue #220 for detailed instructions.

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
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
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.

About

Open source Markdown editor for OS X.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 56.5%
  • C 34.8%
  • CSS 4.5%
  • GAP 1.6%
  • Shell 1.1%
  • Python 1.0%
  • Other 0.5%