lib/helpers/Html.php
function getMarkdownParagraph(): \Closure {
    return function($value, \Mustache_LambdaHelper $helper) {
      $args = $this->parseArguments($helper->render($value), 'markdown', ['flavor' => Markdown::$defaultFlavor]);
      return Markdown::processParagraph($args['markdown'], $args['flavor']);
    };
  }
function getMarkdownParagraph(): \Closure {
    return function($value, \Mustache_LambdaHelper $helper) {
      $args = $this->parseArguments($helper->render($value), 'markdown', ['flavor' => Markdown::$defaultFlavor]);
      return Markdown::processParagraph($args['markdown'], $args['flavor']);
    };
  }
function getMarkdownParagraph ( ) : \ Closure { return function ( $ value , \ Mustache_LambdaHelper $ helper ) { $ args = $ this -> parseArguments ( $ helper -> render ( $ value ) , 'markdown' , [ 'flavor' => Markdown :: $ defaultFlavor ] ) ; return Markdown :: processParagraph ( $ args [ 'markdown' ] , $ args [ 'flavor' ] ) ; } ; }
Returns a function converting Markdown into HTML but only parsing inline elements.
@return \Closure A function converting Markdown into HTML but only parsing inline elements.
Returns a function converting Markdown into HTML but only parsing inline elements .