git.fiddlerwoaroof.com
Browse code

Merge pull request #1 from nickcheng/patch-1

Update README.md

Megabits_mzq authored on 06/08/2017 16:50:06
Showing 1 changed files
... ...
@@ -9,7 +9,7 @@ Original links and text preserved:
9 9
 - [Latest build here from original repo (does not contain **.app** binary and as of now does not work out of the box for Sierra)](https://github.com/SamRothCA/Today-Scripts/releases)
10 10
 - [See the wiki for a list of example scripts.](https://github.com/SamRothCA/Today-Scripts/wiki)
11 11
 
12
-###Features
12
+### Features
13 13
 
14 14
 * [Colorized Output](http://i.imgur.com/Yvj2ePG.png). Today Scripts supports colorized terminal output from your scripts, as well as bold and underline.
15 15
 * [Custom Labels](http://i.imgur.com/LL4s6Ao.png). Today Scripts has a form for setting up scripts, which gives you the option of picking a label to display instead of the script itself.
... ...
@@ -17,7 +17,7 @@ Original links and text preserved:
17 17
 * Manually Run Scripts: Scripts may be run on command by clicking on their label. You may also specify that scripts not be run automatically when Notification Center is opened.
18 18
 * Output text selection: You may highlight the output of your scripts, allowing you to copy it to the clipboard or drag it where you please.
19 19
 
20
-##Usage
20
+## Usage
21 21
 
22 22
 After building, simply copy "Today Scripts.app" wherever you'd like to store it, then open it. In Notification Center, you will see "1 New" appear on the edit button, and you may use that to add Today Scripts to your Today View in order to begin using it.
23 23
 
... ...
@@ -27,7 +27,7 @@ To start or stop a given script on demand, click its label in your list.
27 27
 
28 28
 To edit an existing script, click the "action" button to the right of its label.
29 29
 
30
-##Technical Details
30
+## Technical Details
31 31
 
32 32
 * An interpreter can be speficied using a path to any valid executable (it need not be an "interpreter" at all). The provided script is piped to the interpreter via its standard input.
33 33
 * Today Scripts emulates a 40-column terminal. When running a script, a pseudo-TTY is opened for it, and the standard output and standard error of it is set to that. The `COLUMNS` environment variable for scripts is set to `40`, and `PAGER` is set to `/bin/cat`.