Skip to content

Interpolation Off Demo ​

A live example of per-page settings for HTML Escape. This page turns interpolation escaping off in its frontmatter, so Vue evaluates {{ }} in prose again. Tag escaping is still on.

md
---
title: Interpolation Off Demo
htmlEscape:
  interpolation: false
---

This page is called "{{ $frontmatter.title }}", and one plus one is {{ 1 + 1 }}.

Tags are still escaped: Array<string> and <your-name> render as text.

On the page

This page is called "Interpolation Off Demo", and one plus one is 2.

Tags are still escaped: Array<string> and <your-name> render as text.

On the plugin page, the same {{ 1 + 1 }} shows as written.

Code released under the MIT License. BinaryNoir name and logos are trademarks of BinaryNoir. Legal · Terms · Privacy