diff --git a/plugins/shortcode-custom/Prismjsshuser.php b/plugins/shortcode-custom/Prismjsshuser.php new file mode 100644 index 0000000..d1544b8 --- /dev/null +++ b/plugins/shortcode-custom/Prismjsshuser.php @@ -0,0 +1,16 @@ +shortcode->getRawHandlers()->add('shuser', function(ShortcodeInterface $sc) { + $content = trim($sc->getContent(), "\n "); + return '
'.$content.'
';
+ });
+ }
+}
+?>