mimj / azrast
There is no license information available for the latest version (dev-master) of this package.
php rtl parsdown
dev-master
2018-10-22 06:10 UTC
Requires
- erusev/parsedown: ^1.7
- wa72/htmlpagedom: ^1.3
This package is auto-updated.
Last update: 2025-03-22 20:52:32 UTC
README
use azrast if you need markdown in RTL
Quick start
composer require mimj/azrast
$parsedown = new RtlIt(); echo $parsedown->text("از راست بنویس var foo = function (bar) { return bar++; }; console.log(foo(5)); ");
or in laravel you can use Laravel's Facade System:
add Mimj\AzRast\RtlParsdownProvider::class, in config/app.php
and :
echo \Mimj\AzRast\Facades\RtlIt::text("از راست بنویس var foo = function (bar) { return bar++; }; console.log(foo(5)); ");