ruby – 马鲁古告诉你:我怎么了?

前端之家收集整理的这篇文章主要介绍了ruby – 马鲁古告诉你:我怎么了?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我使用jekyll – 服务器来测试我的网站在本地主机.
但是有几行输入,像这样:
___________________________________________________________________________
 | 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

原文链接:https://www.f2er.com/ruby/271526.html

猜你在找的Ruby相关文章