Releases: php-collective/wp-djot
Releases · php-collective/wp-djot
1.1.0
Improvements
New Features
- Comment Formatting Toolbar - Users can now format comments using a toolbar with buttons for Bold, Italic, Code, Link, Quote, and Code Block
- Write/Preview Tabs - Comment toolbar includes a Preview tab that renders Djot content via REST API before submitting
- Syntax Highlighting in Preview - Code blocks in comment preview are highlighted using highlight.js
- Add keyboard shortcuts and ESC to exit preview
- Markdown snippet importer
- Table generator (col x row) and format table functionality (auto-alignment)
Improvements
- Archive Page Excerpts - Properly render Djot content as excerpts on homepage, category, tag, and other archive pages
- Gutenberg Block Excerpts - Extract and render Djot content from Gutenberg blocks for archive page excerpts
- "Read More" Links - Fixed archive pages to properly show excerpts with "Read more" links instead of raw Djot/block markup
Bug Fixes
- Fixed tab hover styles to properly override theme button styles
- Fixed quote button to insert newline before blockquote when not at start of line
Full Changelog: 1.0.0...1.1.0
1.0.0
Stable release
- Add configurable content profiles for posts and comments
Full Changelog: 0.1.0...1.0.0
0.1.0
Initial Release
A WordPress plugin bringing Djot markup language support to your site.
Key Features
- Gutenberg Block - Native block editor support with live preview
- Shortcode - [djot]...[/djot] for classic editor users
- Content Filtering - Auto-process {djot}...{/djot} in posts/pages
- Syntax Highlighting - Built-in highlight.js with multiple themes
- Safe Mode - XSS protection for untrusted content (comments)
- WP-CLI Migration - Migrate HTML/Markdown content to Djot with rollback support
- Template Tags - djot_to_html() and the_djot() for theme developers
- Dark Mode - Automatic CSS adaptation
Full Changelog: https://github.com/php-collective/wp-djot/commits/0.1.0