Michel Fortin

Aaron Swartz aaronsw at gmail.com
Mon Dec 6 00:49:47 EST 2004


After a minor experiment, it appears you can integrate Markdown by
changing this function in includes/Parser.php:

include_once "markdown.php";

[...]

        function internalParse($text,$linestart,$args=array(),$isMain=true) {

                $text = $this->replaceInternalLinks ( $text );
                $text = $this->replaceInternalLinks ( $text );

                return Markdown($text);
        }

There are also a bunch of other little functions and you'd probably
want to copy them over too to get all the features, but this seems to
work.


More information about the Markdown-discuss mailing list