Skip to content

Releases: wottpal/kirby-anchor-headings

v0.4.0

19 Apr 10:21
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

Added the option anchorheadings.toplevel.only to ignore nested headings and only create anchors for h-elements in the uppermost DOM-hierarchy of the given element. ⚠ This defaults to true which differs from the previous behavior of the plugin! ⚠

v0.3.1

07 Apr 16:23
Compare
Choose a tag to compare
v0.3.1 Pre-release
Pre-release

I forked phpQuery and fixed an issue with an depreciated function in PHP 7.2. I should probably ditch this ancient dependency anyway... but I haven't found an easy workaround (despite huge regular expressions) yet. Anyone?

v0.3.0

31 Oct 21:13
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release
  • anchorheadings.id.rules not only takes regular expressions as before but also callback-functions with the help of PHPs preg_replace_callback. In this SO answer I've found out how to use this for converting upper- to lowercase which became the new default configuration.

Happy Halloween 🎃🧛‍♂️🧟‍♂️

v0.2.0

12 Aug 11:57
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release
  • Improved the default regular-expressions for ID-generation (see README.md)
  • Added option to prefix heading-IDs to prevent namespace conflicts. It defaults to false to don’t break your existing links. I’ve personally set it to section-.
  • fixed an exception which sometimes appears with PHP 7.1
  • manually fixed a bug in no longer maintained phpQuery

Initial Release 🎉⚓️

04 Aug 13:18
Compare
Choose a tag to compare
Pre-release
v0.1.0

Small id-gen change