Made it possible not to give a filename
This commit is contained in:
@@ -1,13 +1,19 @@
|
||||
# rackedit
|
||||
|
||||
`rackedit` opens a simple Racket editor window for a file. It can be used from
|
||||
DrRacket, from a Racket program, or from the Racket command line.
|
||||
`rackedit` opens a simple Racket editor window, optionally with a file. It can be
|
||||
used from DrRacket, from a Racket program, or from the Racket command line.
|
||||
|
||||
The package exports one procedure:
|
||||
The package exports one procedure. With no filename, `rkdt` opens an empty editor:
|
||||
|
||||
```racket
|
||||
(require rackedit)
|
||||
|
||||
(rkdt)
|
||||
```
|
||||
|
||||
Pass a filename to open an existing file:
|
||||
|
||||
```racket
|
||||
(rkdt "notes.rkt")
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user