🔌 Dify HTML to Markdown Converter Plugin v0.1.1
Plugin Version: html_to_markdown v0.1.1
Package Size: 20K (optimized from original 16MB)
📋 Changes Since v0.2.2
🐛 Bug Fixes
- fix: resolve Python string escaping issue in CI manifest validation
- fix: improve CI debugging and error handling - Add better error handling for Dify CLI installation - Add debugging output for build process - Test binary execution before installation - Improve error messages and diagnostics
- fix: add Dify CLI installation to CI workflow - install dify-plugin-linux-amd64 binary before build tests - ensures make build command works in CI environment - resolves exit code 2 error in test build process step
- fix: update CI import tests to handle dify_plugin SSL issues - replace direct module imports with syntax validation and basic library tests - avoid SSL/gevent recursion errors during CI testing - verify class definitions exist without importing dify_plugin directly
- fix: drop Python 3.11 support to fix CI failures - remove Python 3.11 from CI matrix - update requirements.txt to specify Python >= 3.12 - resolves import compatibility issues with dify_plugin library
🛠️ Available Conversion Methods
| Method | Best For | Output Quality |
|---|---|---|
| Trafilatura | Web content extraction | ⭐⭐⭐⭐⭐ |
| Markdownify | Preserving HTML styling | ⭐⭐⭐⭐ |
| html2text | Clean, readable output | ⭐⭐⭐⭐ |
| Pandoc | Universal conversion | ⭐⭐⭐⭐⭐ |
| BeautifulSoup | Custom parsing control | ⭐⭐⭐ |
| Simple | Basic fallback | ⭐⭐ |
📤 Output Variables
The plugin returns data through Dify's standard output variables:
json: Structured object withmarkdown,conversion_info, andtitlefieldstext: Formatted text output for direct display
Usage: Access individual fields via json.markdown, json.conversion_info, json.title
📦 Installation
- Download the
.difypkgfile below - Install it in your Dify instance through the plugin management interface
- The plugin will be available as "HTML to Markdown" in your tools
🔗 Links
- Repository: https://github.com/happyjake/dify-html-to-markdown-plugin
- Issues: https://github.com/happyjake/dify-html-to-markdown-plugin/issues
- Full Changelog: v0.2.2...v0.1.1
Full Changelog: v0.2.2...v0.1.1