Using backticks (code block) in markdown template gives issues

Case:

  1. When using Overwrite a RichTextField in an automation,
  2. and in the field backticks are used to indicate a code block,
  3. the content of the code block is not correctly displayed.

Example:

Automation Action:

Example output 1:

Example output 2, using the same automation, but different Meta field text:

2 Likes

I updated the topic text to more accurately document the use case.


The reason why this issue is important:

When constructing prompts where content of referenced text or code is included, it is a recommended practice to use code blocks for that.

In my case I ran into this issue with this: