yew-markdown

Crates.ioyew-markdown
lib.rsyew-markdown
version0.0.1
created_at2025-03-07 21:57:17.159218+00
updated_at2025-03-07 21:57:17.159218+00
descriptionA dynamic markdown component for the Yew framework
homepage
repository
max_upload_size
id1583713
size120,438
Antonin Peronnet (rambip)

documentation

README

Goal

Creating a simple library to render markdown with yew. The best rust crates are involved !

Usage

Add yew-markdown to your project:

# Cargo.toml
yew-markdown = {git="https://github.com/rambip/yew-markdown"}

If you just need to render basic markdown, you can do

use yew_markdown::Markdown;
...
    html!{
        <Markdown src={"# Markdown 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, an example of a basic markdown editor is implemented to show what is currently supported

see here

Interactivity

see here

Custom Components

see here

Commit count: 0

cargo fmt