dioxus-markdown 0.0.1

A dynamic markdown component for the dioxus framework
Documentation
  • Coverage
  • 35.71%
    5 out of 14 items documented0 out of 8 items with examples
  • Size
  • Source code size: 121.7 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 6.93 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 1m 8s Average build duration of successful builds.
  • all releases: 1m 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • rambip

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