Source of file IMarkdownRenderer.php
Size: 0,736 Bytes - Last Modified: 2021-12-23T10:56:55+00:00
/var/www/docs.ssmods.com/process/src/src/Renderer/IMarkdownRenderer.php
1234567891011121314151617181920212223242526 | <?php namespace UndefinedOffset\Markdown\Renderer; /** * Interface IMarkdownRenderer * @package UndefinedOffset\Markdown\Renderer */ interface IMarkdownRenderer { /** * Performs the necessary checks to determine if the markdown renderer is supported on the system (eg, check * necessary libraries are available etc) * @return mixed True if the renderer is supported, or string error message detailing why the renderer * isnt supported */ public function isSupported(); /** * Returns the supplied Markdown as rendered HTML * @param string $markdown The markdown to render * @return string The rendered HTML */ public function getRenderedHTML($markdown); } |