# Markdown Handlebar in Kibana

**URL:** <https://discuss.elastic.co/t/markdown-handlebar-in-kibana/207928>\
**Category:** Kibana\
**Created:** [November 14, 2019, 3:55pm UTC](https://discuss.elastic.co/t/markdown-handlebar-in-kibana/207928 "2019-11-14T15:55:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kilianten](https://avatars.discourse-cdn.com/v4/letter/k/bbce88/32.png) [@kilianten](https://discuss.elastic.co/u/kilianten)\
**Post date:** [November 14, 2019, 3:55pm UTC](https://discuss.elastic.co/t/markdown-handlebar-in-kibana/207928/1 "2019-11-14T15:55:15Z")

</div>

Hey! Im trying to understand Handlebar when using Visual Builder in Kibana.  
I have a few data sources named cars, cities ect. How do I access a specific array within the \_all because I want to do something different with each array.

I know this:  
{{#each \_all}}  
{{#with cars as |mydest|}}  
{{../label}} -  
{{/with}}  
{{/each}}

but is there something more like:

{{#if \_all.cars}}  
DO ONE THING  
{{#else}}  
DO ONE THING  
{{/if}}

Basically. How do I access individual data sources from within \_all without loop through \_all

Help would be appreciated!

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [November 19, 2019, 4:19am UTC](https://discuss.elastic.co/t/markdown-handlebar-in-kibana/207928/2 "2019-11-19T04:19:15Z")

</div>

You should be able to use all of handlebar's features in markdown: [https://handlebarsjs.com/builtin\_helpers.html](https://handlebarsjs.com/builtin_helpers.html)  
As for data sources, the markdown in Visual Builder only uses the result from the "Data" tab, where you get the results of an ES query.

---

<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 17, 2019, 4:19am UTC](https://discuss.elastic.co/t/markdown-handlebar-in-kibana/207928/3 "2019-12-17T04:19:16Z")

</div>

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