{"repo":"dg/texy","free":true,"listed":false,"github":"https://github.com/dg/texy","clone":"git clone https://github.com/dg/texy.git","description":"Texy is a lightweight markup language with plain text formatting syntax engine.","language":"HTML","stars":159,"topics":["texy","php","markdown"],"license":null,"category":"productivity","readme_excerpt":"Texy! ==== Texy is a text-to-HTML engine for lightweight markup languages, written in PHP. It turns human-readable plain text into structurally valid HTML – complete with images, links, nested lists, and tables – no knowledge of HTML required. Above all, Texy is an engine. It ships with its own rich, easy-to-read markup, but nothing about that syntax is set in stone: every rule can be switched on or off, redefined, or extended with your own. You can reshape Texy to speak a different dialect entirely – even Markdown. And Texy is a typographer at heart. It swaps straight quotes for typographically correct ones, hyphens for dashes, the letter x for the dimension sign, and applies many more refinements so your text reads like it was professionally typeset. Install Texy via Composer: composer require texy/texy Texy requires PHP 8.2 or higher. Usage ----- $texy = new Texy; $html = $texy- process($text); For untrusted input, always enable safe mode, which restricts the output to a safe subset of HTML: Texy\\Configurator::safeMode($texy); $html = $texy- process($text); Documentation and Examples -------------------------- The full manual is on the homepage . The docs/ directory holds the reference for using and extending Texy: - Syntax reference – complete reference of the Texy markup language, including syntaxes that are disabled by default - Configuration – all configuration options, the Configurator presets, and security (safe mode) - Custom handlers – changing the behavior of exis","default_branch":null,"files":null,"tree":[],"storefront":"/r/dg","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dg/texy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}