Markdown
in package
Markdown helper.
Table of Contents
Methods
- getParser() : Parser
- Get a markdown parser.
- parse() : string
- Render markdown text.
Methods
getParser()
Get a markdown parser.
public
static getParser([array<string|int, mixed> $options = [] ]) : Parser
Defaults are configured in the 'markdown' config.
Parameters
- $options : array<string|int, mixed> = []
Tags
Return values
Parserparse()
Render markdown text.
public
static parse(string $text[, array<string|int, mixed>|bool $options = [] ]) : string
Parameters
- $text : string
- $options : array<string|int, mixed>|bool = []
-
or 'true' for inline