Apply Smartypants to Blocks?

Hi!

I might be missing something in the documentation, but is there a way to apply smartypants formatting to blocks? When I apply it like this $page->field()->toBlocks()->smartypants() no blocks appear… and doing it before toBlocks() just spits out the raw block data.

I think you have to apply the smartypants method on the relevant text fields in each block snippet. It is a field method, after all. I wonder if there is a way to apply it more globally.

that makes sense! it would be useful to apply to all text on the site because that’s usually what i do anyway. :stuck_out_tongue:

I’ve run into this, too.

Opened a request for improved smartypants support: Improve smartypants support · Kirby Feedback

Upvote that request to increase its likelihood of being done!