#markup-language #html #parser #native #html-rendering

textile

Native Rust crate for parsing and rendering into HTML the Textile markup language

3 unstable releases

Uses old Rust 2015

0.2.1 Dec 4, 2016
0.2.0 Nov 28, 2016
0.1.0 Oct 28, 2016

#28 in #html-rendering

Download history

73 downloads per month

MIT license

78KB
2K SLoC

Textile

Build Status Crate version

Native Rust crate for parsing and rendering into HTML the Textile markup language.

Documentation

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());

Development Status

  • Block elements
    • Block quotation
    • Code block
    • Heading
    • Raw HTML
    • Comments
    • Pre-formatted text
    • Disable Textile formatting block element
  • Inline elements
    • Bold text
    • Italic text
    • Subscript text
    • Superscript text
    • Strikethrough text
    • Underlined text
    • Citation
    • Inline code
    • Link
    • Image
    • Abbreviations
    • Span element
    • Disable Textile formatting inline element
  • Lists
    • Bulleted list
    • Numbered list
    • Definition list
    • Footnotes
  • Tables
  • Attributes in elements
  • CSS properties, classes and ID's in elements
  • Unicode support

Dependencies

~5MB
~124K SLoC