Set background color for some words in timeline


I am creating event using timeline api.

I know timeline templates are based on Markdown.

I want to set background color for some words like this image.


I used span tag with style but my template shows html string like this.

"<span style="background-color:#f5c26b">blahblah</span>blahblah, blahblah <span style="background-color: #f5c26b;">blahblah</span>"

How can I set background color in this markdown template?



Hi @lee_json,

Timeline events are built using markdown, but HTML is not allowed, and will be stripped by the handlebars and markdown processors. There isn't currently a way to set the background color of text in a timeline event.