Repository navigation
0.1.0
First release of the CakePHP 5 plugin for Carve, the sibling of laravel-carve, symfony-carve and tempest-carve. Requires CakePHP 5.2+, PHP 8.2+ and markup-carve/carve-php ^0.1.14.
Features
CarveRendererrenders HTML, plain text and Markdown, formats and lints Carve, and imports Markdown, HTML, Djot and BBCode.render()returns aRenderedCarvewith the table of contents, frontmatter and warnings.- The engine's render options are configurable under the
Carvekey: safe mode (true,false,'strict'), profiles withonDisallowed, static mode, soft breaks, smart typography, symbols, source lines and file includes confined toincludeRoot. - Named presets (
default,comment,trusted, plus your own) and extensions (table of contents, heading permalinks, mentions, wikilinks, custom instances). - Optional render cache through CakePHP
Cache, keyed on the source, the effective options and the engine version. CarveHelperfor templates andCarveViewfor.crvtemplate files.CarveValidationas a validator provider: profile violations, lint findings with rule filters, and plain-text length limits.CarveBehaviorrenders a source field into HTML, plain-text and TOC fields on save.bin/cake carve render,convert,formatandlintcommands.
Full Changelog: https://github.com/markup-carve/cakephp-carve/commits/0.1.0