Skip to content

Releases: samwilson/commonmark-shortcodes

0.6.1

14 Sep 11:26
995e70c

Choose a tag to compare

  • Add PHP 8.4 to CI.
  • Improve tests.
  • Add .gitattributes and ignore all non-essential files in the exported archive.

0.6.0

01 Jun 03:11
e366879

Choose a tag to compare

  • Make it possible to escape closing braces in inline shortcodes by prefixing them with a backslash (it was already possible to escape pipes in this way).

0.5.1

12 Apr 13:22
944474e

Choose a tag to compare

  • Fix bug with shortcodes that have matching prefixes.

0.5.0

26 Jan 08:10
0899b75

Choose a tag to compare

  • Revert the switch to ShortcodeInline/ShortcodeBlock because it's much easier if the callbacks don't have to know what sort
    of node they're receiving. This release restores the previous behaviour of just providing a Shortcode object to both block and inline
    nodes.

0.4.0

17 Jan 10:32
7aa2293

Choose a tag to compare

  • Split Shortcode into ShortcodeInline and ShortcodeBlock, and require the relevant one to be used in the shortcode callback.
  • Improve documentation in README.md.

0.3.1

26 Sep 02:43
97852f4

Choose a tag to compare

  • Allow trailing spaces after the closing braces of a one-line block shortcode.

0.3.0

26 Jun 01:26
78d3247

Choose a tag to compare

  • Switch to pipe-separated attributes. The HTML-style is too limiting in what's allowed in attribute names, and makes unnamed attributes too messy.

0.2.1

17 Apr 05:46
96a1b9d

Choose a tag to compare

  • Fix parsing of inline shortcodes.

0.2.0

17 Apr 03:46
9939b56

Choose a tag to compare

  • Allow block shortcodes to terminate on the same line, e.g. {{{pagebreak p=7}}} (with or without attributes).

0.1.0

16 Apr 13:03
65718b1

Choose a tag to compare

  • First release.