# Escaping handlebars in template

**URL:** https://community.silverbullet.md/t/escaping-handlebars-in-template/1694
**Category:** General
**Created:** [January 25, 2025, 4:08pm UTC](https://community.silverbullet.md/t/escaping-handlebars-in-template/1694 "2025-01-25T16:08:52Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![bent0n](https://community.silverbullet.md/user_avatar/community.silverbullet.md/bent0n/32/604_2.png) [@bent0n](https://community.silverbullet.md/u/bent0n)
#### Post date: [January 25, 2025, 9:28pm UTC](https://community.silverbullet.md/t/escaping-handlebars-in-template/1694/5 "2025-01-25T21:28:45Z")

</div>

You need to use `escapeDirective` for this.

More details [here](https://community.silverbullet.md/t/keep-raw-querry-on-new-page-from-template/981/2).

---

_[View the full topic](https://community.silverbullet.md/t/escaping-handlebars-in-template/1694)._
