1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 16:37:47 +00:00

Base: Move GUI application man pages into their own subsection

We do not want to move POSIX utilities into subsections since they have
standard names, but we can do whatever we want with Applications :^).
This is particularly advantageous as many applications contain several
images, which declutters the man1 directory.
This commit is contained in:
kleines Filmröllchen 2023-01-07 17:18:04 +01:00 committed by Linus Groh
parent b89be9610d
commit 66a68a9523
45 changed files with 46 additions and 11 deletions

View file

@ -0,0 +1,31 @@
## Name
![Icon](/res/icons/16x16/app-text-editor.png) 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
```