KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
338B

  1. <?php
  2. require "lib/markdown.php";
  3. class Markdown extends Modules {
  4. public function __init() {
  5. $this->addAlias("markup_text", "markdownify", 8);
  6. $this->addAlias("preview", "markdownify", 8);
  7. }
  8. static function markdownify($text) {
  9. return Markdown($text);
  10. }
  11. }