havenshen/enjelly-down

一个Markdown解析器,基于Laravel5.*以上版本插件。
106 1
Install
composer require havenshen/enjelly-down
Latest Version:v1.1
License:MIT
Last Updated:Jun 21, 2016
Links: GitHub  ·  Packagist
Maintainer: HavenShen

enjelly-down

Latest Stable Version Total Downloads License

本版本基于 SegmentFault/HyperDown - markdown解析器,为laravel封装了一个package,laravel5.1.*以上版本可用.

安装

  1. 安装包文件
composer require havenshen/enjelly-down

配置

Laravel 应用

  1. 注册 ServiceProvider:
HavenShen\EnjellyDown\EnjellyDownProvider::class,
  1. (可选)添加外观到 config/app.php 中的 aliases 部分:
'EnjellyDown' => HavenShen\EnjellyDown\Facades\EnjellyDown::class,

6.使用

/*
* 传入解析内容文本
*/
\EnjellyDown::markdown('需要解析内容文本');

License

MIT

Related Packages

ojessecruz/simple-blog

A Laravel lightweight blog to quickly publish and share ideas.

180 1
reg2005/laravel-email-database-log

A simple database logger for all outgoing emails sent by Laravel website.

955 2
relaticle/ink

Filament-native content publishing for blog, docs, and AI-citable articles. Head...

1,077 13
yansongda/laravel-parsehtml

Convert Html To Markdown With Laravel

3,008 4