Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hexo generate stuck when a markdown file contains "------" character #1137

Closed
draveness opened this issue Mar 23, 2015 · 9 comments
Closed

Comments

@draveness
Copy link

You can try it with add these to your markdown file

--------------------------------------
|        | eval | toString | hasZero |
--------------------------------------
|   Int  |      |          |         |   
--------------------------------------
|   Add  |      |          |         |
--------------------------------------
| Negate |      |          |         |
--------------------------------------

My two file with this kind of character makes the hexo stuck

@draveness
Copy link
Author

@rexdf maybe, it is the "-" character causes the problem.

@rexdf
Copy link

rexdf commented Mar 23, 2015

是的,我猜的也是-号,应该是里面哪里的js的正则表达式写的有点儿问题。我好像遇到过很多nodejs的正则问题。

总之js处理字符好像不是那么得心应手的。特别是hexo里面各种插件添加之后,各个插件参差不齐。

@draveness
Copy link
Author

早知道你也是中国人, 我还打毛线英文....我因为这个搞了快10个小时了

@rexdf
Copy link

rexdf commented Mar 23, 2015

呵呵
我是在试探着换到hexo,结果发现问题一堆,顺便上来发个issue。你定位到根源了吗?我似乎不大想搞js,也不知道怎么调试,问题我怀疑在插件里面。 10个小时又不算啥,等人家修复,等一个星期算正常的吧。

@rexdf
Copy link

rexdf commented Mar 23, 2015

Maybe the problem is here.

@rexdf
Copy link

rexdf commented Mar 23, 2015

如果你注释掉第三行也许就好了

@draveness
Copy link
Author

我不是一个js开发者..所以我并不知道..我还好, 只有两篇blog不能发.

@rexdf
Copy link

rexdf commented Mar 23, 2015

我觉得octopress还不错啊,现在出3.0了,编程rails式的命令行了。hexo出现不能表达的特定字符组合(而且不是恶意构造的),这说明这种玩意根本不值得用啊

@leesei
Copy link
Member

leesei commented Jul 16, 2015

Probably hightlight.js issue.
#1124 plain and auto_detect option

Please open new issue if problem persists with latest build.

@leesei leesei closed this as completed Jul 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants