Skip to content

Releases: samwilson/commonmark-shortcodes

0.5.1

12 Apr 13:22
944474e
Compare
Choose a tag to compare
  • Fix bug with shortcodes that have matching prefixes.

0.5.0

26 Jan 08:10
0899b75
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare
  • Fix parsing of inline shortcodes.

0.2.0

17 Apr 03:46
9939b56
Compare
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
Compare
Choose a tag to compare
  • First release.