summaryrefslogtreecommitdiff
path: root/Base/usr/share/man/man1/TextEditor.md
blob: 0e8c2ae49899a0f91050e1ef2862c2d856b90cf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
## Name

TextEditor - SerenityOS text editor

[Open](file:///bin/TextEditor)

## 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
```