↧
Answer by Matt Stein for Parse a line of Markdown, without
If you're here looking for a Craft 3 answer, the Wordsmith plugin offers the same ability to only parse inline and not include paragraph tags:{{ entry.title|markdown(inlineOnly=true) }}
View ArticleAnswer by carlcs for Parse a line of Markdown, without
Have a look at the Parsedown plugin by P&T, it provides a line mode to not output any wrapping <p> tags.{{ entry.title|parsedown('line') }}
View ArticleParse a line of Markdown, without
Is there a way to parse a line of Markdown within Twig – without the surrounding <p> tags?I see there is a StringHelper method called ParseMarkdownLine that does exactly what I'd like, but I...
View Article