1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:27:35 +00:00

TextEditor: Add help documentation

This commit is contained in:
Brendan Coles 2021-01-16 15:06:20 +00:00 committed by Andreas Kling
parent 20f53c7462
commit aa8cb35b90
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,28 @@
## Name
TextEditor - SerenityOS text editor
## Synopsis
```**sh
$ TextEditor [--preview-mode mode] [file]
```
## 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: File to edit
## Examples
```sh
$ TextEditor /home/anon/Documents/emoji.txt
```