Class yii\apidoc\helpers\ApiMarkdownLaTeX

Inheritanceyii\apidoc\helpers\ApiMarkdownLaTeX » cebe\markdown\latex\GithubMarkdown
Uses Traitsyii\apidoc\helpers\ApiMarkdownTrait
Available since version2.0
Source Code https://github.com/yiisoft/yii2-apidoc/blob/master/helpers/ApiMarkdownLaTeX.php

A Markdown helper with support for class reference links.

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$renderingContext yii\apidoc\helpers\ApiMarkdownLaTeX

Public Methods

Hide inherited methods

MethodDescriptionDefined By
process() Converts markdown into HTML yii\apidoc\helpers\ApiMarkdownLaTeX

Property Details

$renderer public static property
$renderingContext protected property
protected $renderingContext null

Method Details

process() public static method

Converts markdown into HTML

public static string process ( $content, $context null, $paragraph false )
$content string
$context yii\apidoc\models\TypeDoc
$paragraph boolean
renderApiLink() protected method

protected void renderApiLink ( $block )
$block
renderBrokenApiLink() protected method

protected void renderBrokenApiLink ( $block )
$block
renderQuote() protected method

Renders a blockquote

protected void renderQuote ( $block )
$block
translateBlockType() protected method (available since version 2.0.5)

protected void translateBlockType ( $type )
$type