Is there a way to escape liquid template rendering in Jekyll markdown pages?
I have the following fenced code block in a markdown file:
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Example Title</title>
</head>
<body>
<div id="app">
{% raw %}
{{ content }}
{% endraw %}
</div>
</body>
</html>
```
which renders to:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Example Title</title>
</head>
<body>
<div id="app">
</div>
</body>
</html>
I'm not sure why, but Jekyll is processing the content between the {% raw %}
tags. I would like to retain the {{ content }}
block as-is, without being rendered.
I've also tried the approach of using a {
as a page variable and accessing it via the following:
{{ page.lcb }}{ content }}