Skip to content

MARKDOWN SOURCE

Raw
# Project instructions: markdown-editor

Build a native Markdown editor using a pure-Rust GUI toolkit such as egui or iced. Include editing, preview, open/save, and a small number of useful editor conveniences without adding web technologies.

## Rules for this project

- This project is independent: keep all source, tests, and configuration inside `projects/markdown-editor`. Do not import or copy code from another showcase.
- Use Rust `1.98.1`, pinned in this directory's `mise.toml`.
- Manage toolchains and external build tools with `mise.toml`. Pin every Rust crate to an exact version (`=x.y.z`) in `Cargo.toml`, commit `Cargo.lock`, and use locked Cargo commands. Mise does not replace Cargo's crate manifest/lockfile.
- Provide `mise run install` and `mise run run` tasks. Add a check task and run Clippy with `all` and `pedantic` enabled; fix warnings rather than suppressing them broadly.
- Do not assume globally installed helper binaries. Keep the UI native and implement required behavior in Rust or pinned libraries; do not use a webview, browser, or shell-out Markdown renderer.
- Include tests for non-UI logic and a README with setup, controls, and supported Markdown behavior.

Project instructions: markdown-editor

Build a native Markdown editor using a pure-Rust GUI toolkit such as egui or iced. Include editing, preview, open/save, and a small number of useful editor conveniences without adding web technologies.

Rules for this project

  • This project is independent: keep all source, tests, and configuration inside projects/markdown-editor. Do not import or copy code from another showcase.
  • Use Rust 1.98.1, pinned in this directory's mise.toml.
  • Manage toolchains and external build tools with mise.toml. Pin every Rust crate to an exact version (=x.y.z) in Cargo.toml, commit Cargo.lock, and use locked Cargo commands. Mise does not replace Cargo's crate manifest/lockfile.
  • Provide mise run install and mise run run tasks. Add a check task and run Clippy with all and pedantic enabled; fix warnings rather than suppressing them broadly.
  • Do not assume globally installed helper binaries. Keep the UI native and implement required behavior in Rust or pinned libraries; do not use a webview, browser, or shell-out Markdown renderer.
  • Include tests for non-UI logic and a README with setup, controls, and supported Markdown behavior.