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
Using
{% raw %}{{ date }} {{ time }}{% endraw %}
is the solution.