Getting started
[dependencies]
iced = "0.14"
iced-markdown-editor = { version = "0.3", features = ["syntect", "images"] }
- Register the bundled fonts:
for font in FONTS { app = app.font(font); } - Keep an
EditorStatein your application state. - Forward
Actions inupdateand returnoutput.task. - Show it with
markdown_editor(&self.editor).view(). - Add
self.editor.subscription()to your subscription.
See the examples and the API documentation.