Markdown-to-HTML-rs

Crates.ioMarkdown-to-HTML-rs
lib.rsMarkdown-to-HTML-rs
version0.1.0
created_at2019-01-27 16:38:52.855205+00
updated_at2019-01-27 16:38:52.855205+00
descriptionA simple Markdown->HTML parser.
homepagehttps://github.com/Baidicoot/markdown-rs
repositoryhttps://github.com/Baidicoot/markdown-rs
max_upload_size
id110951
size8,259
(Baidicoot)

documentation

https://github.com/Baidicoot/markdown-rs

README

Markdown-to-HTML-rs

This is a simple rust crate to parse (somewhat strict) markdown into HTML, and is partly a rustification of Parse-MD.js. Currently it can parse most aspects of markdown.

Accepted syntax:

  • Headers are available via the # syntax:
# H1
## H2
etc...
  • Emphasis works using both underscores (_) and asterixis (*):
*emphasis*
_also emphasis_
**strong emphasis**
__also strong emphasis__
  • Lists are available through ordered (1. etc) or unordered (- or *) syntax:
+ This is an unordered List
- As is this

1. But this isn't
2. This is ordered

NB. List nesting is unsupported.

  • Code is set through backticks and fenced backticks.
  • Horizontal breaks are accessed through triple hashes, equals or hyphens.
###
===
---
  • Line breaks are currently unavailable.

License

markdown.rs is licensed under the MIT License.

Commit count: 0

cargo fmt