Skip to content

Release v0.1.1

Latest

Choose a tag to compare

@github-actions github-actions released this 26 May 00:35

🔌 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 with markdown, conversion_info, and title fields
  • text: Formatted text output for direct display

Usage: Access individual fields via json.markdown, json.conversion_info, json.title

📦 Installation

  1. Download the .difypkg file below
  2. Install it in your Dify instance through the plugin management interface
  3. The plugin will be available as "HTML to Markdown" in your tools

🔗 Links

Full Changelog: v0.2.2...v0.1.1