1<?php 2 3namespace DokuWiki\Plugin\Mdpage\Markdown; 4 5use DokuWiki\Plugin\Mdpage\MarkdownRendererTrait; 6 7class GitHubFlavored extends \cebe\markdown\GithubMarkdown { 8 use MarkdownRendererTrait; 9 10 protected $renderer = null; 11 protected $rendererData = null; 12 protected $rendererContext = null; 13 14 public function __construct($renderer, $data, $context) { 15 $this->renderer = $renderer; 16 $this->rendererData = $data; 17 $this->rendererContext = $context; 18 } 19 20 protected function getDokuWikiVersion() { 21 return $rendererContext['dokuwiki_version']; 22 } 23} 24