[nettoyage]

This commit is contained in:
Julien Gomes Dias 2021-02-07 18:09:32 +01:00
parent 90d4ccd001
commit dc829a2506
2 changed files with 0 additions and 15 deletions

View file

@ -1 +0,0 @@
custom_shortcodes: '/user/custom/shortcodes'

View file

@ -1,14 +0,0 @@
<?php
namespace Grav\Plugin\Shortcodes;
use Thunder\Shortcode\Shortcode\ShortcodeInterface;
class RTLShortcode extends Shortcode
{
public function init()
{
$this->shortcode->getHandlers()->add('rtl', function(ShortcodeInterface $sc) {
return '<div dir="rtl">'.$sc->getContent().'</div>';
});
}
}