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.

Parameters

Factory $view
array $options

Return Value

void

HtmlString render(string $view, array $data = array(), CssToInlineStyles|null $inliner = null)

Render the Markdown template into HTML.

Parameters

string $view
array $data
CssToInlineStyles|null $inliner

Return Value

HtmlString

HtmlString renderText(string $view, array $data = array())

Render the Markdown template into HTML.

Parameters

string $view
array $data

Return Value

HtmlString

static string parse(string $text)

Parse the given Markdown text into HTML.

Parameters

string $text

Return Value

string

array htmlComponentPaths()

Get the HTML component paths.

Return Value

array

array markdownComponentPaths()

Get the Markdown component paths.

Return Value

array

void loadComponentsFrom(array $paths = array())

Register new mail component paths.

Parameters

array $paths

Return Value

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/Mail/Markdown.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部