Sha256: 44998fce818e6e738ffe1ee7b0f569f162bbb7e98a7deecff316799be4ef2a58
Contents?: true
Size: 454 Bytes
Versions: 10
Compression:
Stored size: 454 Bytes
Contents
<?php namespace MtHaml\Filter\Markdown; use MtHaml\Filter\Markdown; class MichelfMarkdown extends Markdown { private $markdown; public function __construct(\Michelf\Markdown $markdown, $forceOptimization = false) { parent::__construct($forceOptimization); $this->markdown = $markdown; } public function filter($content, array $context, $options) { return $this->markdown->transform($content); } }
Version data entries
10 entries across 10 versions & 1 rubygems