ladybird/Base/usr/share/man/man1/TextEditor.md

32 lines
683 B
Markdown
Raw Normal View History

2021-01-16 15:06:20 +00:00
## Name
![Icon](/res/icons/16x16/app-text-editor.png) TextEditor - SerenityOS text editor
2021-01-16 15:06:20 +00:00
[Open](file:///bin/TextEditor)
2021-01-16 15:06:20 +00:00
## Synopsis
```**sh
$ TextEditor [--preview-mode mode] [file[:line[:column]]]
2021-01-16 15:06:20 +00:00
```
## 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
2021-01-16 15:06:20 +00:00
* `file[:line[:column]]`: File to edit, with optional starting line and column number
2021-01-16 15:06:20 +00:00
## Examples
```sh
$ TextEditor /home/anon/Documents/emoji.txt
$ TextEditor /home/anon/Documents/emoji.txt:5:12
2021-01-16 15:06:20 +00:00
```