dioxus-markdown

Crates.iodioxus-markdown
lib.rsdioxus-markdown
version0.0.1
created_at2025-03-07 21:47:30.062287+00
updated_at2025-03-07 21:47:30.062287+00
descriptionA dynamic markdown component for the dioxus framework
homepage
repository
max_upload_size
id1583676
size65,453
Antonin Peronnet (rambip)

documentation

README

Goal

A simple library to render markdown with dioxus, at runtime. The best rust crates are involved !

Usage

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 !"}
    }

Examples

Take a look at the different examples ! You just need trunk and a web-browser to test them.

Showcase

the example is included in ./examples/showcase

Here is an illustration:

see here

Editor

Of course, a basic markdown editor is included.

You can test for yourself here !

Interactivity

see here

Custom Components

You can define your own components in your code and call them inside markdown !

see here

Commit count: 0

cargo fmt