For some reason markdown is not being parsed from my field in the admin panel.
So all my text is on one line, and not split into paragraphs after creating a new line. Is there something I’m missing?
Thanks
For some reason markdown is not being parsed from my field in the admin panel.
So all my text is on one line, and not split into paragraphs after creating a new line. Is there something I’m missing?
Thanks
Are you using the standard content field, or do you have a custom blueprint and template set up with additional fields?
If the latter is the case, you probably need to use the markdown filter in the template. Something like this:
{{ page.header.field|markdown }}
Also see the documentation: https://learn.getgrav.org/themes/twig-filters-functions#markdown
Hope this helps!
Well I feel stupid now lol - didn’t even see that, and was looking for ages! Thanks so much, it works fine now
You’re welcome, glad it helped!