Markdown link broken

Hello,

I tried to use the markdown language in my new template. But it does not render links right. Text is fine. Email not. Has someone had a problem like this before?

AndiLeni

Here is the code I used:

<div class="container">

  <div class="content"><?php echo $page->text()->markdown() ?></div>

</div>

If you want to render kirbytags like

(email: blabla@example.com)

you have to use the kirbytext() or short kt() methods to render kirbytext in your templates:

<div class="content"><?php echo $page->text()->kt() ?></div>

Thank you very much. This solved the problem. I thought it would be enough to use markdown(). Read this somewhere in the docs.

No, markdown() is only useful for pure markdown documents, not for rendering kirbytext.

Ok. Then it is definitely my fault. Thanks again for your help!