Class luya\tag\TagMarkdownParser
| Inheritance | luya\tag\TagMarkdownParser ยป cebe\markdown\GithubMarkdown |
|---|---|
| Available since version | 1.0.0 |
| Source Code | https://github.com/luyadev/luya/blob/master/core/tag/TagMarkdownParser.php |
Tag Parser Markdown.
In order to fix conflicts with the TagParser the auto enabled url parser is disabled. This means the following will not genereate a link tag:
- http://luya.io
- www.luya.io
Otherwise those values would be automatiaclly converted to html link tags (www.luya.io).
Public Properties
| Property | Type | Description | Defined By |
|---|---|---|---|
| $enableNewlines | boolean | To convert all newlines to <br/>-tags. | luya\tag\TagMarkdownParser |
Protected Methods
| Method | Description | Defined By |
|---|---|---|
| parseUrl() | Disable the url parsing of markdown. | luya\tag\TagMarkdownParser |
Property Details
To convert all newlines to <br/>-tags. By default only newlines with two preceding spaces are converted to <br/>-tags.