mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
[nettoyage]
This commit is contained in:
parent
90d4ccd001
commit
dc829a2506
2 changed files with 0 additions and 15 deletions
|
@ -1 +0,0 @@
|
||||||
custom_shortcodes: '/user/custom/shortcodes'
|
|
|
@ -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>';
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue