mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 05:22:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
	
		
			476 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
	
		
			476 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ## 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
 | |
| ```
 | 
