ladybird/Base/usr/share/man/man1/TextEditor.md
ry755 9cec9fb1e8 Base: Update TextEditor man page to include line and column arguments
This documents the feature in c2872766f2322aa38490160b571059f05e7dcb2d
2021-05-08 09:54:53 +02:00

29 lines
605 B
Markdown

## Name
TextEditor - SerenityOS text editor
## Synopsis
```**sh
$ TextEditor [--preview-mode mode] [file[:line[:column]]]
```
## Description
TextEditor is a text document editor for SerenityOS featuring a preview mode
which allows automatic live rendering of HTML and Markdown documents.
## Options
* `--preview-mode mode`: Preview mode, one of 'none', 'html', 'markdown', 'auto'
## Arguments
* `file[:line[:column]]`: File to edit, with optional starting line and column number
## Examples
```sh
$ TextEditor /home/anon/Documents/emoji.txt
$ TextEditor /home/anon/Documents/emoji.txt:5:12
```