A server-side Markdown editor with shareable links backed by SQLite.
Default wrap (long lines wrap to fit the block):
async function fetchDoc(hash: string) { return await fetch(`/api/documents/${hash}`).then((r) => (r.ok ? r.json() : null)); }Disable wrapping with nowrap after the language — long lines scroll horizontally:
async function fetchDoc(hash: string) { return await fetch(`/api/documents/${hash}`).then((r) => (r.ok ? r.json() : null)); }Hover any code block to toggle wrap on/off.
| Format | Description |
|---|---|
| Print-ready document | |
| RTF | Universal rich text |
| Word | Microsoft Word (.doc) |
| HTML | Standalone web page |
Use
***on its own line to insert a page break in PDF/Word exports.