markdown.parser

Set your own markdown parser handler

Default

Kirby uses Parsedown as its Markdown parser by default. If you switch on markdown.extra, it will use Parsedown Extra.

Example

c::set('markdown.parser', function($text) {

  // load your own markdown parser and 
  // parse the text
  // return the parsed text afterwards
  return $text;

});