XT - A PHP Markdown to HTML Processor
XT is a PHP Markdown to HTML converter.
Unlike others, its output is line-by-line, minimizing memory and processor usage. As a side effect, it has differences compared to the original:
- Multi-line special formatting must be idented. For example:
~~~Markdown
- Item
-
Item with
multiple lines - Another item ~~~ - There's no support for identifiers right now. Once it happens, identifiers can only be used after their definition, as the parser doesn't know about what's below the current line it's processing. - There's no support for Setext headers for the same reason above. - Because it's couterproductive using a lot of inline HTML mixed with Markdown text, there's a limit of a few tags supported in that case. Use block HTML instead if you must use complex HTML.
In the near future, it'll have access to external metadata/variables defined by PHP, for easy usage of metadata from a CMS like my own ArticlesCMS.
Download
Just clone or download from the project's page on GitHub.
Bugs and Suggestions
File a bug or suggestion here.