Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: php-collective/djot-php

0.1.11

15 Dec 22:08
1ea357f

Choose a tag to compare

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

15 Dec 08:24
afec875

Choose a tag to compare

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

11 Dec 16:42

Choose a tag to compare

Improvements

  • Add abbreviation support - #43
  • Add extension system with built-in extensions - #44

Full Changelog: 0.1.8...0.1.9

0.1.8

09 Dec 05:55

Choose a tag to compare

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

09 Dec 01:38
2555cca

Choose a tag to compare

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

08 Dec 02:23
2d3b9ea

Choose a tag to compare

Fixes

  • Fix up MarkdownToDjot and HtmlToDjot converters for all edge cases - #28

Full Changelog: 0.1.5...0.1.6

0.1.5

07 Dec 17:15

Choose a tag to compare

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

06 Dec 04:08

Choose a tag to compare

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

02 Dec 03:55

Choose a tag to compare

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

29 Nov 15:10
1a4fe7e

Choose a tag to compare

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