Releases: php-collective/djot-php
Releases · php-collective/djot-php
0.1.11
Improvements
- Adds explicit syntax for creating multiple
<dd>elements for the same term in definition lists while maintaining djot spec compliance. - Tab Width in Code Blocks
By default, tabs in code blocks are preserved as-is. This can lead to inconsistent display since browsers default to 8-space tabs, and CSS tab-size isn't supported in all contexts (email clients, RSS readers, etc.).
// Convert tabs to 4 spaces in code blocks and inline code
$renderer->setCodeBlockTabWidth(4);Full Changelog: 0.1.10...0.1.11
0.1.10
Improvements
- Optimize parser and renderer performance (~25-30% faster) - #47
- Only allow
1./1)to interrupt paragraphs in significantNewlines mode - #50 - Add validation warnings with category and suggestion support - #51
Full Changelog: 0.1.9...0.1.10
0.1.9
Improvements
Full Changelog: 0.1.8...0.1.9
0.1.8
Fixes
- Fix inline formatting being stripped in table cells
Improvements
- Add highlight.js language definition for Djot syntax highlighting - #42
Full Changelog: 0.1.7...0.1.8
0.1.7
Fixes
- Fix converter blank line handling between block elements - #29
- Fix HtmlToDjot definition list conversion - #31
- Fix block elements being absorbed into nested lists - #41
Improvements
- Add fenced comment blocks (%%%) for multi-line comments - #30
- Add multiple dd support for definition lists with multiple terms - #33
- Add table row and cell attributes support - #35
- Add attribute support for definition list elements (dl, dt, dd) - #34
- Add HTML attribute extraction in HtmlToDjot converter - #36
- Add caption support for images, tables, and block quotes - #38
Full Changelog: 0.1.6...0.1.7
0.1.6
Fixes
- Fix up MarkdownToDjot and HtmlToDjot converters for all edge cases - #28
Full Changelog: 0.1.5...0.1.6
0.1.5
Improvements
- Trim leading/trailing blank lines in code and raw blocks
- Add boolean attribute shorthand syntax - #24
Full Changelog: 0.1.4...0.1.5
0.1.4
Fixes
- Fix paragraph interruption spec compliance. Apparently this was only documented but didnt have test examples in the specs.
- Fix profile filter to not filter out empty th/td elements etc
Improvements
- Add explicit BlockQuote handling to PlainTextRenderer - #16
- Change PlainTextRenderer table separator default to pipe by - #17
- Add event support to PlainTextRenderer and MarkdownRenderer - #15
- Improve MarkdownToDjot round-trip conversion with HTML tag support - #19
- Add extended task list marker support - #14
- Add SoftBreakMode enum for visible soft break rendering - #21
- Add significant newlines mode as markdown-like approach and compromise as opt-in behavior - #22
Full Changelog: 0.1.3...0.1.4
0.1.3
Improvements
- Add tab indentation support - #7
- Add support for multiple terms sharing a definition - #11
- Add Profile system for feature restriction - #10
Full Changelog: 0.1.2...0.1.3
0.1.2
Improvements
- Add MarkdownToDjot and BbcodeToDjot converters
- Add SafeMode for XSS protection in #3
- Add list item attribute support in #5
Full Changelog: 0.1.1...0.1.2