Im trying to split a markdown panel field by the # and later render each split as a markdown again. Is this posible.
Here a faux code to explain what I want to do.
I tried with the structure field but it wasn’t what I need because I can’t drag and drop images.
Thanks in advance!
<?php foreach($topic->text()->split('#') as $item): ?> <p><?php echo $item->kirbytext()?></p> <?php endforeach ?>