Formatting
Inline markdown and placeholder animation, built into the input.
Examples
Inline markdown
Wrap text in **bold**, *italic*, or ***both***, use Cmd+B / Cmd+I, and start a line with - or * for auto-formatted lists.
Markdown / plain-text toggle
Switch the input between its markdown and plain-text variants with useMarkdownMode. Toggling is non-destructive — the text is kept, only its rendering changes (decoration on, list bullets normalize to •). The a-large-small (ALargeSmall) icon is the conventional control.
Rich paste to markdown
With markdown on, paste from Slack, Notion, Google Docs, GitHub, or any web page and it converts to clean markdown source — nested lists, bold, italic, links, and code. Bullets normalize to •, and Slack's text/markdown (with proper nesting) is preferred over its flattened plain text.
Nothing pasted yet — copy a list or formatted text and paste it above.
Rotating placeholders
Pass an array of strings to placeholder to cycle through them with a smooth animation.