Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

Markdownify

> 前端框架
Open source

The HTML to Markdown converter for PHP

196 stars0 likes1 views
WebsiteGitHub

About

The HTML to Markdown converter for PHP

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 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHPhtmlmarkdownmarkdown-convertermarkdownify

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category前端框架
PricingOpen source

> Related tools

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