Skip to content

totechite/mossy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mossy

A toy library for parsing and compiling Markdown.
Build Status

Usage

Add this to your Cargo.toml:

[dependencies]
mossy = "0.1.2"

and this to your crate root:

extern crate mossy;

Example

extern crate mossy;
use mossy::App;

let md_text = r"
mossy
================
A toy library for parsing Markdown.

## Specification
It's based [CommonMark].   

LICENSE
----------------
MIT

[CommonMark]: https://spec.commonmark.org/0.28/
".to_string();

let html: String = App::exec(md_text);

Specification

It's based CommonMark.

Supported Markdown syntaxes

  • Heading
  • List
  • Code block
  • Link label

and some inline-elements.

LICENSE

MIT

About

A toy library for parsing and compiling Markdown.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages