A simple library to render markdown with dioxus, at runtime. The best rust crates are involved !
Add dioxus-markdown to your project:
# Cargo.toml
dioxus-markdown = {git="https://github.com/rambip/dioxus-markdown"}
If you just need to render basic markdown, you can do
use dioxus_markdown::Markdown;
...
rsx!{
Markdown {src:"# Mardown power !"}
}
Take a look at the different examples ! You just need trunk and a web-browser to test them.
the example is included in ./examples/showcase
see here
Of course, a basic markdown editor is included.
You can test for yourself here !
see here
You can define your own components in your code and call them inside markdown !
see here