Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 750 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 750 Bytes

Trextile Build Status Code Climate

Trextile is a lightweight Textile to HTML conversion library written in JavaScript. You can find a demo here.

Getting started

The interface to Trextile is incredibly simple. It consumes a Textile string, and outputs HTML using the toHtml method.

var html = new Trextile('my *textile* string').toHtml();

// prints "<p>my <strong>textile</strong> string<p>"
console.log(html);

TODO

  • Tables
  • Attributes
  • Nested ordered and unordered lists