pixel418/markdownify
最新稳定版本:v2.3.1
Composer 安装命令:
composer require pixel418/markdownify
包简介
The HTML to Markdown converter for PHP
README 文档
README
The HTML to Markdown converter for PHP
Code example | How to Install | How to Contribute | Author & Community
Code example
Markdown
$converter = new Markdownify\Converter; $converter->parseString('<h1>Heading</h1>'); // Returns: # Heading
Markdown Extra as defined by @michelf
$converter = new Markdownify\ConverterExtra; $converter->parseString('<h1 id="md">Heading</h1>'); // Returns: # Heading {#md}
How to Install
This library package requires PHP 5.4 or later.
Install Composer and run the following command to get the latest version:
composer require pixel418/markdownify
How to Contribute
- Fork the Markdownify repository
- Create a new branch for each feature or improvement
- Send a pull request from each feature branch to the v2.x branch
If you don't know much about pull request, you can read the Github article
Author & Community
Markdownify is under MIT License
It was created by Milian Wolff
It was converted to a Symfony Bundle by Peter Kruithof
It is maintained by Thomas ZILLIOX
统计信息
- 总下载量: 738.48k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 198
- 点击次数: 1
- 依赖项目数: 10
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-05-11