Skip to content

Add optional Parsedown support to Latte#33

Merged
f3l1x merged 8 commits into
masterfrom
claude/add-parsedown-support-GHNuo
Dec 14, 2025
Merged

Add optional Parsedown support to Latte#33
f3l1x merged 8 commits into
masterfrom
claude/add-parsedown-support-GHNuo

Conversation

@f3l1x
Copy link
Copy Markdown
Member

@f3l1x f3l1x commented Dec 14, 2025

No description provided.

claude and others added 8 commits December 14, 2025 09:04
Add ParsedownExtraAdapter, ParsedownFilter and ParsedownExtension
to support markdown parsing via erusev/parsedown-extra package.
The dependency is optional (suggested in composer.json).
- Add unit tests for ParsedownExtraAdapter, ParsedownFilter and ParsedownExtension
- Add FakeParsedownExtra fixture for testing
- Fix ParsedownFilter to handle Text content type and set output to Html
- Add documentation for ParsedownExtension in .docs/README.md
- Consolidate .PHONY declarations in Makefile
- Update phpstan.neon to PHP 8.2 and add ignoreErrors for optional ParsedownExtra dependency
- Update ruleset.xml to use contributte/qa ruleset-8.2.xml
- Update phpstan.yml to use PHP 8.3
- Update codesniffer.yml to use PHP 8.3
- Update coverage.yml to use PHP 8.3
- Fix PHP version in versions table (dev requires PHP 8.2+)
- Align table formatting
Replace LR\Filters::escapeHtmlAttr with LR\HtmlHelpers::escapeAttr
as the Filters class was restructured in Latte 3.1.
Use stdClass objects instead of reference variables
to comply with coding standard rules.
Required for LR\HtmlHelpers::escapeAttr which replaced
LR\Filters::escapeHtmlAttr in Latte 3.1.
@f3l1x f3l1x merged commit 3818a60 into master Dec 14, 2025
8 checks passed
@f3l1x f3l1x deleted the claude/add-parsedown-support-GHNuo branch December 14, 2025 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants