Releases: BenjaminHoegh/ParsedownExtended
v1.2.2 Release - Hotfix
What's Changed
- Fixes a bug where uniquifyAnchorID didn't keep track of anchors #49
- Fixes a bug where headings still generated toc data for disabled levels #50
Full Changelog: v1.2.1...v1.2.2
v1.2.1
What's Changed
- Moved keystrokes to emphasis
- Renamed marked to marking
- Added a overwrite option for
setSetting
- Changed so arrays as value in
setSetting
doesn't overwrite by default
Note:
From this point and forward, release tags will follow the guidelines of Semantic Versioning
Full Changelog: v1.2.0...v1.2.1
v1.2.0 - Huge Update!
Overview
ParsedownExtended v1.2.0 introduces advanced customization features for Markdown parsing in PHP. This release emphasizes flexibility, allowing users to configure parsing behavior and anchor ID generation to suit diverse requirements.
What's New
New
- Now cross-version compatible with both Parsedown 1.7.4 and 1.8
- Introducing new
getSetting
,getSettings
,setSetting
,setSettings
methods for enhanced control over Markdown parsing settings. (Issue #45) - Added
setCreateAnchorIDCallback
method, allowing custom logic for anchor ID generation in headings. - New Feature for Math Syntax: Ability to specify custom delimiters for math expressions, enhancing support for different MathJax and LaTeX styles.
Changes:
- Renamed
$options
to$settings
. - Implementation of Dynamic Class Alias, replacing the old dynamic parent approach for better flexibility and compatibility. (Issue #44).
- Enhanced Version Checks to ensure the parser is compatible with specific versions of PHP, Parsedown, and ParsedownExtra.
- General code cleanups for improved performance and maintainability.
Fixes issue:
- Resolved an issue with supporting MathJax display math
\[
\]
when written on a single line (Issue #42). - Fixed a bug where tasked items were incorrectly processed outside of lists.
Breaking Changes
- Requires PHP 7.4 or higher.
- Some settings has been reorganized or changed.
Full Changelog: v1.1.2...v1.2.0
Warning
This release adds significant enhancements to the ParsedownExtended library. Users are advised to thoroughly test their Markdown content with the new version, particularly when utilizing new settings and custom anchor ID generation features.*
v1.1.2 - Hotfix
Fix a typo causing composer autoloader to fail #40
v1.1.1 Hotfix
Updated version requirements to Parsedown 1.8-beta-6+
v1.1.0 Release
New Documentation Site
First of all I like to take our focus to a new documentation site with syntax information, code samples, parameter explanation and more. I hope you all enjoy it, and can't wait to hear what you think.
Release notes
- Added support for tablespan #11.
- Smartypants is now in its final state with full support for John Gruber's Smartypants
- New toggle
smart_dashes
. - New toggle
smart_quotes
. - New toggle
smart_angled_quotes
. - New toggle
smart_ellipses
. - New
substitutions
option there allow you to change any substitutions.
- New toggle
- New Typographer module inspired by markdown-it.
- Moved the shortcodes
(c)
,(r)
and(tm)
to Typographer. - Changed the
blockqoutes
option toqoutes
. - Changed the
superscript
option tosup
. - Changed the
subscript
option tosub
. - Changed the email link option to be a child of
links
and renamed it toemail_links
. - Changed the task option to be a child of
lists
. and shortened the name totasks
. - Removed unnecessary code.
Resolved issues
- Fixed a issue where smartypants was active inside code snippets and blocks.
v1.0.1 Hotfix
Fixed issue #19
1.0 Release
Im glad to say that I can finally release the first full release 1.0
What's new
- Options to disable any markdown component.
- Predefined abbreviation
- Emojis
- Blacklist headings ids
- Heading permalink
- Keystrokes
- Support for LaTeX by adding support for KaTeX.js
- Marks
- Smartypants (in the beta known as smartTypography)
- Table of content
- The ability to change the
delimiter
used in ToC - The ability to choose what headings levels are included in ToC by using
headings
in the ToC configurations - The ability to lowercase only by using
lowercase
in ToC - The ability to use
transliterate
in ToC - The ability to use
urlencode
in ToC - Task
- Support for Diagrams using ChartJS and MermaidJS