Library which converts HTML to Markdown for your sanity and convenience. You have an existing HTML document that needs to be edited by people with good taste. You want to store new content in HTML format but edit it as Markdown. You want to convert HTML email to plain text email. You know a guy who's been converting HTML to Markdown for years, and now he can speak Elvish. You'd quite like to be able to speak Elvish. You just really like Markdown. By default, HTML To Markdown preserves HTML tags without Markdown equivalents, like span and div. To strip HTML tags that don't have a Markdown equivalent while preserving the content inside them, set strip_tags to true.

Features

  • Requires: PHP 7.2+
  • Convert HTML email to plain text email
  • Store new content in HTML format but edit it as Markdown.
  • Edit HTML documents
  • By default, HTML To Markdown preserves HTML tags without Markdown equivalents
  • Line break options

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow HTML To Markdown for PHP

HTML To Markdown for PHP Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of HTML To Markdown for PHP!

Additional Project Details

Programming Language

PHP

Related Categories

PHP HTML XHTML, PHP Markdown Editors

Registered

2023-04-26