Closed pftom closed 4 years ago
I couldn't reproduce with
{% raw %}
{{}}
{% endraw %}
<b>hello</b>
{% raw %}
{{}}
{% endraw %}
I noticed you wrap {% raw %}
with a backtick, try removing the backtick characters, it's not required, unless you want to display the whole thing (i.e. to escape {% raw %}
).
// Nope
`{% raw %}
{{}}
{% endraw %}`
// Yes
{% raw %}
{{}}
{% endraw %}
btw, why do you put the html code inside your post? Shouldn't you use backtick codeblock instead?
``` json
{
"name": "instagrammy"
...
}
```
and also those dependencies with "^0.x" can be upgraded to "^1.0.0".
Thanks a lot, We turn to another direction 😄
Expected behavior
The
{{}}
shows the raw string when use raw Tag Plugin.So it should display the following code:
{{}}
Actual behavior
After insert some html code, it display the following code:
{% raw %}{{}}{% endraw %}
How to reproduce?
{{}}
Environment & Settings
Node.js & npm version
Your site
_config.yml
(Optional)Your theme
_config.yml
(Optional)Hexo and Plugin version(
npm ls --depth 0
)Your package.json
package.json
Others
SOS!