dg/texy

Texy converts plain text in easy to read Texy syntax into structurally valid (X)HTML. It supports adding of images, links, nested lists, tables and has full support for CSS. Texy supports hyphenation of long words (which reflects language rules), clickable emails and URL (emails are obfuscated against spambots), national typographic single and double quotation marks, ellipses, em dashes, dimension sign, nonbreakable spaces (e.g. in phone numbers), acronyms, arrows and many others. Texy code can optionally contain HTML tags.

Installs: 69 191

Dependents: 13

Stars: 102

Watchers: 17

Forks: 16

Open Issues: 5

Language: HTML

v2.6 2014-06-20 18:38 UTC

README

Downloads this Month Build Status Latest Stable Version License

Texy is text-to-HTML formatter and converter library written in PHP. It allows you to write structured documents (with images, links, nested lists, tables) without knowledge or using of HTML language. You write documents in humane easy-to-read plain text format and Texy! converts it to structurally and valid HTML code.

Texy formats text in accordance with typographic rules. It replaces quotes with typographic correct quotes, hyphens with em-dash, converts letter x to dimension sign etc.

The best way to install Texy is to use a Composer:

php composer.phar require texy/texy

Documentation and Examples

Refer to the 'examples' directory for examples. Texy documentation is available on the homepage http://texy.info.