v0.14.0
23 October 2026
Code fields highlight with Phiki, and templates get a highlight() function.
Added
{highlight($code, 'latte')}returns highlighted code for a template. Alattegrammar ships with thecodefieldtype, andlatteis a selectable language.
Changed
- The
codefieldtype highlights withphiki/phikiinstead oftempest/highlight, using theone-dark-protheme.FieldTypeCode::decode(), and so{$page->field}and{highlight()}, returns a complete<pre>element carrying the theme's background. A template that wraps it in<pre><code>now nests two<pre>elements: wrap it in a styled<div>instead. - Code that used
Tempest\Highlightdirectly no longer autoloads.
Comments
No comments yet. Be the first!
Loading form…