我使用jekyll --server在本地主机上测试我的网站。
但是有几行输入,像这样:

 ___________________________________________________________________________
 | Maruku tells you:
 +---------------------------------------------------------------------------
 | String finished while reading (break on []) already read: "$ git init"
 | ---------------------------------------------------------------------------
 +---------------------------------------------------------------------------
 !/usr/lib/ruby/gems/1.8/gems/maruku-0.6.0/lib/maru/errors_management.rb:49:in `maruku_error'
 !/usr/lib/ruby/gems/1.8/gems/maruku-0.6.0/lib/maruku/input/parse_span_better.rb:402:in `read_simple'
 !/usr/lib/ruby/gems/1.8/gems/maruku-0.6.0/lib/maruku/input/parse_span_better.rb:521:in `read_inline_code'
 !/usr/lib/ruby/gems/1.8/gems/maruku-0.6.0/lib/maruku/input/parse_span_better.rb:89:in `read_span'
 !/usr/lib/ruby/gems/1.8/gems/maruku-0.6.0/lib/maruku/input/    parse_span_better.rb:46:in    `parse_span_better'
 \___________________________________________________________________________
 ___________________________________________________________________________
 | Maruku tells you:
 +---------------------------------------------------------------------------
 | Could not find ref_id = "url" for md_link(["url"],"url")
 | Available refs are []
 +---------------------------------------------------------------------------
 Not creating a link for ref_id = "url".

我不知道哪里出了问题,我应该修复哪个文件?
该站点仍然可以工作。

最佳答案

问题很可能是您的代码中包含以下内容:

Blah blah [url] blah blah.

如果要保留方括号,请对它们进行如下编码:
Blah blah \[url\] blah blah.

更多内容:http://daringfireball.net/projects/markdown/syntax#backslash

关于ruby - 丸六告诉你: what's wrong with me?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/11672025/

10-11 06:24