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 again
Installs: 573 300
- php: >=7.1
- latte/latte: ^2.6 || ^3.0.2
- nette/tester: ^2.0
- phpstan/phpstan: ^0.12
- tracy/tracy: ^2.4
- dg/texy: *
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 https://texy.info.
Do you like Texy? Are you looking forward to the new features?