BaseBlog theme -
In the article summary excerpts the markdown is not formatting - but it is hidden.
Elsewhere it works fine (although would be nice if it supported β for emdash).
http://blog.robertstclair.net/
The excerpt()
method removes all formatting. If you need formatted text, you could use str::excerpt
with $htmlremove set to false, or str::short
, instead:
<?php echo str::excerpt($page->text()->kirbytext(), 120, false) ?>
1 Like
Thanks so much for clearing that up for me. Iβll use the description field instead for article summaries.
@texnixe:
this hint would be nice at Docs > excerpt($text, $length = 140, $mode = βcharsβ)