Adding README.md and renaming plugin

This commit is contained in:
Chris Smith
2014-08-31 12:57:58 -05:00
parent 9be81015d0
commit 9bf5b90c81
2 changed files with 13 additions and 0 deletions

13
plugins/marked2/README.md Normal file
View File

@ -0,0 +1,13 @@
## marked2
Plugin for Marked 2, a previewer for Markdown files on Mac OS X
### Requirements
* [Marked 2](http://marked2app.com)
### Usage
* If `marked` is called without an argument, open Marked
* If `marked` is passed a file, open it in Marked

View File

@ -0,0 +1,12 @@
#
# If marked is called without an argument, open Marked
# If marked is passed a file, open it in Marked
#
function marked() {
if [ "$1" ]
then
open -a "marked 2.app" "$1"
else
open -a "marked 2.app"
fi
}