1. In HTML Syntax

Using

{ and }

seems to be the most convenient way. The issue arises when you need to insert {{ something }} inside a code block.

2. Double Curly Brackets Inside a Code Block When .md Files are Converted to HTML

image

Using

{% raw %}{{ date }} {{ time }}{% endraw %}

is the solution.