定制 davidpersson/markup 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

davidpersson/markup

Composer 安装命令:

composer require davidpersson/markup

包简介

One interface to multiple markdown parsers.

README 文档

README

Markup

---- One interface to multiple markdown parsers.

Synopsis
--------
This library provides a unified interface to several markdown implementations.
Popular implementations are already included with the library.

Copyright & License
-------------------
Markup is Copyright (c) 2012 David Persson
if not otherwise stated. The code is distributed under the terms
of the MIT License. For the full license text see the LICENSE file.

3rd Party Libraries
-------------------
The `lib` directory contains all 3rd party libraries.

Please note that only those libraries are listed here that are used as direct
dependencies. Libraries the 3rd party libraries depend on are not listed. For
information on those see the README of the respective 3rd party library. When
present the full license text of each library has been amended to the LICENSE
file.

Path                              Copyright Holder              License        Mod.
...................................................................................
lib/markdown_extra.php            John Gruber, Michel Fortin    BSD-3-clause   no
lib/markdown_extra_extended.php   John Gruber, Michel Fortin,   BSD-3-clause   yes
                                  Egil Hansen
lib/smartypants.php               John Gruber, Michel Fortin    BSD-3-clause   no

All modifications to 3rd party libraries are documented in the form of version
controlled changes. Please consult the version history for changes to the
relevant files.

Requirements
------------
PHP >=5.4.0 is required to run the code.

Installation
------------
composer require davidpersson/markup

Usage
-----
<?php

use markup\Markdown;

$html = Markdown::parse('...markdown...');

// Reconfigure the steps to pass content through
// for all subsequent parsing.
Markdown::config([
	'normalize',
	'markdownExtra'
]);

// Or provide the steps ad hoc.
$html = Markdown::parse('...markdown...', [
	'normalize',
	'markdownExtra'
]);

?>

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-03-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固