PHP Trait cebe\markdown\inline\LinkTrait
This trait conflicts with the HtmlTrait. If both are used together,
you have to define a resolution, by defining the HtmlTrait::parseInlineHtml
as private so it is not used directly:
php
use block\HtmlTrait {
parseInlineHtml as private parseInlineHtml;
}
If the method exists it is called internally by this trait.
Also make sure to reset references on prepare():
php
protected function prepare()
{
reset references
$this->references = [];
}
Mostra file
Open project: cebe/markdown
Protected Properties
Property |
Type |
Description |
|
$references |
|
a list of defined references in this document. |
|
Protected Methods
Method Details
consumeReference()
protected method
identifyReference()
protected method
lookupReference()
protected method
parseImage()
protected method
Parses an image indicated by ![.
parseLink()
protected method
Parses a link indicated by [.
parseLinkOrImage()
protected method
parseLt()
protected method
renderEmail()
protected method
renderImage()
protected method
renderLink()
protected method
renderUrl()
protected method
replaceEscape()
protected method
Remove backslash from escaped characters
Property Details
$references protected_oe property
a list of defined references in this document.