What does this tool do
The Text Writer is a Markdown editor with a formatting toolbar. Write, format, and edit documents with bold, italic, headings, lists, and more. Live preview renders Markdown as HTML. Open local files and save as .md or .txt. No account required—everything runs in your browser.
How to use it
- Write — Type in the editor. Use the toolbar for bold, italic, headings, lists, links, and code.
- Preview — See the rendered Markdown in the preview panel. Updates as you type.
- Open — Load a local .md or .txt file from your device.
- Save — Download the document as .md or .txt.
- Count — View word, character, and line counts in the status area.
How it works
Formatting is applied via applyFormat() which inserts or wraps selected text with Markdown syntax. Preview uses the marked library to parse Markdown and render HTML. Files are read with the File API and saved via blob URLs and download links. All processing runs client-side; no server stores your content.
All computation runs entirely in your browser. No data is sent to any server.
Use cases & examples
- Notes — Quick Markdown notes and to-do lists.
- Drafts — Draft blog posts or docs before publishing.
- README — Edit README files locally.
- Documentation — Write technical docs in Markdown.
- Export — Save as plain text for sharing.
Example
Type **bold** and *italic* → Renders as bold and italic.
Type # Heading → Renders as a level-1 heading.
Limitations & known constraints
- Markdown flavour — Uses CommonMark-compatible Markdown; some extended syntax may not be supported.
- Preview — Renders in an iframe; complex CSS or scripts may not apply.
- File size — Very large files may slow the editor.
- No cloud sync — Files stay on your device; no automatic backup.