iced-markdown-editor 0.3.0

A Word-style WYSIWYG CommonMark editor widget for Iced
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# API

| Item | Purpose |
|---|---|
| `EditorState` | Document, selection, history, settings |
| `markdown_editor(&state)` | The widget (`.toolbar(bool)`, `.status_bar(bool)`, `.view()`) |
| `Action`, `Output`, `Event`, `Command` | Message flow |
| `Paper`, `PageSize`, `Margins`, `Measure` | Page setup |
| `ZoomSettings`, `KeyBinding` | Zoom |
| `EditorStyle`, `Palette`, `Typography` | Theming |
| `ImageSettings`, `PastedImage`, `ImageRejection` | Images |
| `CodeHighlighter`, `SyntectHighlighter` | Code highlighting |
| `Features` | Switch tables, task lists, strikethrough on or off (`.features(…)`) |
| `BlockRenderer`, `RenderRequest` | Draw fenced code blocks of chosen languages, e.g. math or diagrams (`.block_renderer(…)`) |
| `normalize(&str)` | Markdown as the editor writes it |

Full reference on docs.rs.