Releases: wottpal/kirby-anchor-headings
Releases · wottpal/kirby-anchor-headings
v0.4.0
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
v0.3.0
anchorheadings.id.rules
not only takes regular expressions as before but also callback-functions with the help of PHPspreg_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
- 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 tosection-
. - fixed an exception which sometimes appears with PHP 7.1
- manually fixed a bug in no longer maintained phpQuery
Initial Release 🎉⚓️
v0.1.0 Small id-gen change