Examples Tour
The examples in examples/ are the recommended reading order: the
numbered 1–6 sequence plus one supplemental demo. Each file header repeats
its number and prerequisites:
simple: bare window plus stock find. Start here.hooks: a custom hook (Ctrl+Dduplicate-line, list continuation, live word-count status) without overlapping battery territory.syntax: a hand-writtenSyntaxHighlighterwith custom theme tags.prompt: goto-line bottom bar plus a live-filtered command palette, both onctx.promptwith no frontend code.markdown: the battery pattern: oneenable_markdown()call plus a stockSearchHook(needs--features markdown).vim: the full modal system on hooks alone; read last.context_menu(supplemental, afterhooks): the expandable right-click menu — built-in edit rows plus hook-contributed UPPERCASE/separator actions.
Run any of them with cargo run --example <name> (add --features markdown for the markdown demo).