p3k/blade-markdown-directive
Composer 安装命令:
composer require p3k/blade-markdown-directive
包简介
README 文档
README
This adds a Laravel Blade directive to render the enclosed text as Markdown.
Installation
First require this project using Composer:
composer require p3k/blade-markdown-directive
Add the following to your config/app.php file in the providers section:
p3k\MarkdownServiceProvider::class,
Usage
Now in any .blade.php file, you can use the @markdown directive to render Markdown.
<div>
@markdown($description)
</div>
统计信息
- 总下载量: 32
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: CC0-1.0
- 更新时间: 2017-06-28