Closed ocxsBlog closed 8 years ago
@ocxsBlog I used mathjax before without problem. And can you paste your yml info of your post? (content beofre ---
)
@Xuanwo Thank you for your reply. But I don't find "your yml info of your post"? Do you mean my "_config.yml
"? or "_config.yml
" in themes? (I have two _config.yml
files ,one in global ./
, one in themes ./themes/yilia/
)
@ocxsBlog Sorry for my confusing words. I mean your md content, looks like:
title: Hexo
date: 2015-12-2 16:06:11
tags: [xxx]
categories: yyy
toc: true
---
@Xuanwo Thanks. Here are for you. :smile:
title: hexo
date: 2015-11-19 20:14:57
categories:
tags: [Computer Vision, OpenCV]
toc: true
something wrong ?
@ocxsBlog remove the space in Computer Vision
and have try ?
@Xuanwo Ok!
@ocxsBlog :tada: , have fun with Hexo !
@Xuanwo Unfortunately, it doesn't work.
@ocxsBlog Sad, change categories:
into categories: xxx
?
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 add it , something will be wrong as mentioned before. But If I remove it , everything is OK!
But if I add another latex code, it doesnot matter.
I got it, the {{
and }}
will be rendered.
maybe you can use {{%raw%}}
and {{% endraw %}}
to wrap up them.
looks like:
{{%raw%}}
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}
{{% endraw %}}
@Xuanwo It does not work, maybe something wrong in my latex code, I'll check it again. Thank you!
sorry for my miss leading, try this:
{% raw %}
content
{% endraw %}
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. :+1:
:smiley: , Happy with Hexo~
Must be the problem of double'}' so to '{{ }}', you can replace '{ }' with { }
I am getting same issue. I want to put
{{{ output.home_link }}}
in my Hexo post and I simply can't. I tried putting in the code block as well. But hexo static generation fails. Any suggestions?
I am getting same issue. I want to put
{{{ output.home_link }}}
in my Hexo post and I simply can't. I tried putting in the code block as well. But hexo static generation fails. Any suggestions?
add' '(blank) between “{{”, like this "{ {"
When I run
hexo g
, some errors happened, there are as follows.In my context, a equation using latex was written, here are shown for you.
If I deleted this ,no error happened.
But If
was written in context, no error happened too.
And the case needed to be said is that I add
in my context. Does it make something wrong ? I cannot handle this problem, Help~ Thanks in advance~
More information is shown in image.