David Enderson70 downloadsEdit plain text files in a minimal editor that provides optional line numbers.
A clean, simple Obsidian plugin for editing plain text files.
.md to .txt, or to whichever extension you pick if more than one is configured. Right-click a text file and choose Convert to markdown note to go the other way. The extension changes, along with which editor opens the file. The file's contents is not modified during this change..txt by default. You can configure additional file extensions in Settings, as long as they are not already used by another plugin. When more than one extension is configured for use and you create a new plain text file, a dialog asks which extension you would like to use.Undo history, search and replace, and touch input behave the same as when editing normal markdown notes.
| Setting | Default | Notes |
|---|---|---|
| File extensions | txt |
Comma-separated. Restart Obsidian, or disable and re-enable the plugin, for this setting to take effect. |
| Font | Monospace font | Or Obsidian's regular text font. Line numbers stay monospace. Individual files can override this from the tab's more-options menu. |
| Show line numbers | Off | Applies to open files immediately. |
| Line endings for new files | macOS & Linux (LF) | Existing files keep their own line endings. |
| Spellcheck | Follow the Obsidian setting | Or force it on or off for text files only. |
| Auto-correction | Off | iPhone, iPad, and Android only. Desktop apps do not offer this. |
| Auto-capitalization | Off | iPhone, iPad, and Android only. |
| Inline predictions | Off | iPhone, iPad, and Android only. The gray suggested text that iOS shows as you type. |
If another plugin already handles one of the configured extensions, this plugin shows a notice and leaves that extension to the other plugin.
If you love this plugin, you could buy me a coffee to support my work. Or just send an email my way. Like most carbon-based life forms, I love a hearty compliment! Email: [email protected]