Crate textile [−] [src]
Native Rust crate for parsing and rendering into HTML the Textile markup language.
Installation
Put this into Cargo.toml
:
[dependencies]
textile = "*"
Usage
extern crate textile; let html = textile::render("h1. *Header*"); assert_eq!(html, "<h1><strong>Header</strong></h1>".to_string());
Modules
parser |
Functions
render |
Renders Textile string into HTML string. |