Website ๐ contributte.org | Contact ๐จ๐ปโ๐ป f3l1x.io | Twitter ๐ฆ @contributte
This project is no longer being maintained. Please use contributte/latte. |
---|
Composer | minetro/uniparser |
---|---|
Version | |
PHP | |
License |
"texy/texy": "~2.6.0"
"erusev/parsedown-extra": "~0.7.0"
"michelf/php-markdown": "~1.5.0"
use Minetro\Uniparser\ParserFactory;
$factory = new ParserFactory();
$adapter = $factory->create('parsedown');
echo $adapter->parse($text);
uniparser.factory: Minetro\Uniparser\ParserFactory
nette.latteFactory:
setup:
- addFilter(texy, [@uniparser.factory::create('texy'), parse])
- addFilter(parsedown, [@uniparser.factory::create('parsedown'), parse])
- addFilter(markdown, [@uniparser.factory::create('markdown'), parse])
This package was maintain by these authors.
Consider to support contributte development team. Also thank you for being used this package.