百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
M

Markdownify

> 前端框架
开源

适用于 PHP 的 HTML 到 Markdown 转换器

196 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

适用于 PHP 的 HTML 到 Markdown 转换器

Markdownify

The HTML to Markdown converter for PHP

Code example | How to Install | How to Contribute | Author & Community

Code example

Markdown

php
$converter = new Markdownify\Converter;
$converter->parseString('
Heading
');
// Returns: # Heading

Markdown Extra as defined by @michelf

php
$converter = new Markdownify\ConverterExtra;
$converter->parseString('
Heading
');
// Returns: # Heading {#md}

How to Install

This library package requires PHP 5.4 or later and is compatible with PHP 8.5.

Install Composer and run the following command to get the latest version:

bash
composer require pixel418/markdownify

How to Contribute

  1. Fork the Markdownify repository
  2. Create a new branch for each feature or improvement
  3. 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

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

PHPhtmlmarkdownmarkdown-convertermarkdownify

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架