Skip to content

rambip/yew-markdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

ROADMAP

  • implement note reference and image reference
  • publish as a crate as soon as it is stable

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published