hana+nils hana+nils

Tree Methods

Tree Methods converts field values to HTML and helps adapting the resulting markup by changing headline hierarchy, wrapping and filtering elements, manipulating tag names, add classes or other attributes. The main purpose of the plugin is to take the field markup, that usually is a static string returned by a formatter, and help web designers to tailor it the way they need it and to apply typographic tweaks.

<?= $page->text()->toTree()->level(3) ?>
Version
2.0.0
License
MIT
Stars
22
Supports
K4 K3
Latest releases
More