Skip to main content

Questions tagged [markup]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
156 views

Change markup depending on category of an entry

I am trying to output a news section, where I want to display the news categories as classes of the article. That works fine. But I also want to change the markup for a certain category out of the ...
romadev's user avatar
  • 63
2 votes
2 answers
1k views

Adding a cite tag within the blockquote tag using redactor's WYSIWYG?

I have a rich text field that needs to have the cite tag within. See here: It is currently ouputting as: <blockquote> This is the quote. </blockquote> Whereas I need to work in an ...
Jay's user avatar
  • 1,042
6 votes
2 answers
824 views

Parse a line of Markdown, without <p>

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 ...
Avant la lettre's user avatar