ccoley/laravel-markdown 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ccoley/laravel-markdown

最新稳定版本:v1.0.0

Composer 安装命令:

composer require ccoley/laravel-markdown

包简介

A Parsedown wrapper for Laravel 5

README 文档

README

A Parsedown wrapper for Laravel to compile markdown to HTML.

Parsedown is fast and supports GitHub flavored markdown.

The Markdown service provider included in this package uses deferred loading, meaning that it is not loaded with every request, and is instead loaded when you first use it.

Installation

Require this package with composer using the following command:

composer require ccoley/laravel-markdown

After updating composer, add the service provider to the providers array in config/app.php

Coley\Markdown\MarkdownServiceProvider::class,

If you want to use the Markdown facade, you need to add it to the aliases array in config/app.php

'Markdown' => Coley\Markdown\MarkdownFacade::class

Example

// Regular parsing.
// Output: <p>Hello <em>Markdown</em>!</p>
echo Markdown::text('Hello _Markdown_!');

// Parse only inline elements.
// Output: Hello <em>Markdown</em>!
echo Markdown::line('Hello _Markdown_!');

For more examples, or to see Parsedown configuration options, checkout the Parsedown wiki.

统计信息

  • 总下载量: 3.7k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-08-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固