# Colourize values in markdown

**URL:** <https://discuss.elastic.co/t/colourize-values-in-markdown/156697>\
**Category:** Kibana\
**Created:** [November 14, 2018, 2:45pm UTC](https://discuss.elastic.co/t/colourize-values-in-markdown/156697 "2018-11-14T14:45:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tzn01](https://avatars.discourse-cdn.com/v4/letter/t/7bcc69/32.png) [@tzn01](https://discuss.elastic.co/u/tzn01)\
**Post date:** [November 14, 2018, 2:45pm UTC](https://discuss.elastic.co/t/colourize-values-in-markdown/156697/1 "2018-11-14T14:45:51Z")

</div>

Hi,

I want to create some nice displays with markdown, but I also want to conditionally set the colour of the displayed values, if possible.

I tried to attach IDs to the markdown values and later do some LESS magic but this won't work here as I can see:

{{ count.last.raw }}{#conditionalfontcolor}

It won't add the id to the generated paragraph so I cannot really colour this with LESS. I cannot set the colour to every p element as I have others with different conditions.

Any workaround for this?

Thanks,  
TZ.

---

<div class="post-metadata">

**Author:** ![timroes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timroes/32/19712_2.png) [@timroes](https://discuss.elastic.co/u/timroes)\
**Post date:** [November 14, 2018, 3:40pm UTC](https://discuss.elastic.co/t/colourize-values-in-markdown/156697/2 "2018-11-14T15:40:52Z")

</div>

Hi unfortunately there currently is no way to put conditional colorings in the Markdown.  
Please feel free to open a feature request for that on GitHub.

Cheers,  
Tim

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 12, 2018, 3:40pm UTC](https://discuss.elastic.co/t/colourize-values-in-markdown/156697/3 "2018-12-12T15:40:54Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
