Markdown (Mail)
Markdown
class Markdown (View source)
Methods
void | __construct(Factory $view, array $options = array()) Create a new Markdown renderer instance. | |
HtmlString | render(string $view, array $data = array(), CssToInlineStyles|null $inliner = null) Render the Markdown template into HTML. | |
HtmlString | renderText(string $view, array $data = array()) Render the Markdown template into HTML. | |
static string | parse(string $text) Parse the given Markdown text into HTML. | |
array | htmlComponentPaths() Get the HTML component paths. | |
array | markdownComponentPaths() Get the Markdown component paths. | |
void | loadComponentsFrom(array $paths = array()) Register new mail component paths. |
Details
void __construct(Factory $view, array $options = array())
Create a new Markdown renderer instance.
HtmlString render(string $view, array $data = array(), CssToInlineStyles|null $inliner = null)
Render the Markdown template into HTML.
HtmlString renderText(string $view, array $data = array())
Render the Markdown template into HTML.
static string parse(string $text)
Parse the given Markdown text into HTML.
array htmlComponentPaths()
Get the HTML component paths.
array markdownComponentPaths()
Get the Markdown component paths.
void loadComponentsFrom(array $paths = array())
Register new mail component paths.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/Mail/Markdown.html