mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-20 03:13:33 +01:00
Improve readability of README.
This commit is contained in:
parent
8921902388
commit
4b7f611afe
1 changed files with 5 additions and 3 deletions
|
|
@ -7,11 +7,13 @@ When writing Coffeescript it's very common to want to preview the output of a
|
|||
certain snippet of code, either because you want to test the output or because
|
||||
you'd like to execute it in a browser console which doesn't accept Coffeescript.
|
||||
|
||||
Preview the compiled result of your coffeescript with `cf "code"` as per the
|
||||
following:
|
||||
Preview the compiled result of your coffeescript with `cf "code"`, as shown in this example:
|
||||
|
||||
```zsh
|
||||
$ cf 'if a then be else c'
|
||||
$ cf 'if a then b else c'
|
||||
```
|
||||
which would output the following:
|
||||
```zsh
|
||||
if (a) {
|
||||
b;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue