VolkovLabs / volkovlabs-dynamictext-panel

Business Text Panel for @grafana
https://docs.volkovlabs.io
Apache License 2.0
78 stars 14 forks source link

Markdown not rendered correctly in grafana cloud #171

Closed Breee closed 1 year ago

Breee commented 1 year ago

I'm using your plugin in grafana cloud,

my content (wrapped in backticks) :

  - description: Test {{variable "month"}} 
    price: xxx
    amount: {{ get_days @root.data }}
    details: 
{{#each  data }}
    - 'Test: {{this.day}}'
{{/each}}

should be rendered as this (On premises): correct

but is actually rendered like this (grafana cloud): false

Breee commented 1 year ago

Seems it is broken since grafana 9.5.0. If i try it locally it works with 9.4.10, all versions newer break it

mikhail-vl commented 1 year ago

@Breee Have you tried it locally and in cloud with the latest 9.5.2?

If not, I will take a look at what changed.

mikhail-vl commented 1 year ago

@Breee I just verified your code and it's correctly displayed in the latest Grafana 10:

details: 
{{#each  data }}
  - 'Test: {{this.time}}'
{{/each}}

Screenshot 2023-06-26 at 19 56 16

Let us know if there is anything else.