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. *Textile markup language*"); assert_eq!(html, "<h1><strong>Textile markup language</strong></h1>".to_string());
Modules
parser |
Parser module for Textile language. |
Structs
RenderOptions |
Options for rendering Textile markup language. |
Functions
render |
Renders Textile string into HTML string with default options.
Accepts |
render_with |
Renders Textile string into HTML string with specified options.
Accepts |