I have a little problem trying to use footnotes in an additionally defined textarea (named intro).
c::set('markdown.extra', true); is part of the config and I’ve have updated markdown as suggested in this post Markdown (Extra) Footnotes don’t render as HTML but text
Markdown is defined in the blueprint for both the normal and additional textarea:
intro: label: Intro type: markdown text: label: Text type: markdown
[^1] and [^1]: in the normal text field works, but not the one labeled
intro. Both are included in the template using kirbytext()
<?= $page->intro()->kirbytext() ?> <?= $page->text()->kirbytext() ?>
From what I’ve seen in the code, it looks like only fields with a label named “Text” go through markdown conversion? I don’t want to use an additional/external plugin if at all avoidable. Any solutions?
thanks for your help