hexo: template render error: parseAggregate: expected colon after dict key
When I run hexo g, some errors happened, there are as follows.
template render error: parseAggregate: expected colon after dict key
at Error.exports.TemplateError (e:\blog\Hexo\node_modules\hexo\node_modules\nunjucks\src\lib.js:51:19
·····
In my context, a equation using latex was written, here are shown for you.
be shown as equation(3): \begin{equation} G(x,y) = Ae^{- \left( \frac{{\left(x-{\mu}{x} \right)}^{2}}{2{{\sigma}{x}}^{2}} + \frac{{\left(y-{\mu}{y} \right)}^{2}}{2{{\sigma}{y}}^{2}} \right)} \tag{3} \end{equation}
If I deleted this ,no error happened.
But If
如公式(2)所示: \begin{equation} G(x) = Ae^{-x^2/2\sigma^2} \tag{2} \end{equation}
was written in context, no error happened too.
And the case needed to be said is that I add
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=default"></script>
in my context. Does it make something wrong ? I cannot handle this problem, Help~ Thanks in advance~
More information is shown in image.

About this issue
- Original URL
- State: closed
- Created 9 years ago
- Reactions: 1
- Comments: 20 (9 by maintainers)
sorry for my miss leading, try this:
the docs are here https://hexo.io/docs/tag-plugins.html#Raw
@Xuanwo sorry for replying lately. Yes, your way does work. Thank you very much. 👍
@ocxsBlog 🎉 , have fun with Hexo !