Componette

Componette

contributte

contributte / uniparser

๐Ÿ’€ [DEPRECATED] Universal text parser (Texy, Markdown, Parsedown, ...) for Nette Framework (@nette). Use contributte/latte.

download-cloud-line composer require minetro/uniparser

Website ๐Ÿš€ contributte.org | Contact ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป f3l1x.io | Twitter ๐Ÿฆ @contributte

Disclaimer

โš ๏ธ This project is no longer being maintained. Please use contributte/latte.
Composer minetro/uniparser
Version
PHP
License

Dependencies

TexyAdapter

"texy/texy": "~2.6.0"

ParsedownAdapter

"erusev/parsedown-extra": "~0.7.0"

MarkdownAdapter

"michelf/php-markdown": "~1.5.0"

Usage

Standalone

use Minetro\Uniparser\ParserFactory;

$factory = new ParserFactory();

$adapter = $factory->create('parsedown');

echo $adapter->parse($text);

Latte

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])

Development

This package was maintain by these authors.


Consider to support contributte development team. Also thank you for being used this package.

No release at this moment. Try to create first one.

bar-chart-fill

Statistics

download-cloud-fill
9467
star-fill
3
bug-fill
0
flashlight-fill
2d
price-tag-2-line

Badges

guide-fill

Dependencies

php (>=5.4.0)
Componette Componette felix@nette.org