Releases: BenjaminHoegh/ParsedownToc
Releases · BenjaminHoegh/ParsedownToc
v1.5.4
What's Changed
- Updated outdated link by @BenjaminHoegh in #23
- Update README.md by @BenjaminHoegh in #25
- More tests and small changes by @BenjaminHoegh in #24
- Fix return type of contentsList by @JiFish in #26
- fix URL option by @ArnaudLigny in #27
Full Changelog: v1.5.3...v1.5.4
v1.5.3 Release - Hotfix
What's Changed
- Fixes a bug where uniquifyAnchorID didn't keep track of anchors
- Fixes a bug where headings still generated toc data for disabled levels
Full Changelog: v1.5.2...v1.5.3
v1.5.2
What's Changed
- Code quality improvements
- Added option for custom logic for anchors.
- Added back transliterate, was missing, whoops
- Added PHP version check
- Fixed a deprecation issue in php 8
Full Changelog: 1.5.1...v1.5.2
1.5.1 Hotfix
What's Changed
- Fix for #18 by @raffaeljin
- Added version check for ParsedownExtra by @BenjaminHoegh in #20
Full Changelog: 1.5...1.5.1
1.5
Added:
- Introduced a new method
setOptions($options)
to allow users to update or set new configurations for the parser. - Explicit declaration for the
$options
property to ensure compatibility with PHP 8.2's deprecation of dynamic properties. - Added setters for each option
Modified:
- Updated the
__construct()
method to initialize default options. - Replaced
DynamicClass
to a new class alias ParsedownExtendedParentAlias to refer to the parent class, either ParsedownExtra or Parsedown, based on their availability. Thanks to @raffaelj #15 - Enhanced the
createAnchorID
method:- Integrated the
iconv
function for transliteration of header text to ASCII.
- Integrated the
- Changed Transliterate to use the PHP build-in iconv
1.4.3
1.4.2
1.4.1
1.4
1.3
1.3