gpt4 book ai didi

jekyll - 我如何告诉 Jekyll/Maruku 哪个帖子有 Markdown 语法错误?

转载 作者:行者123 更新时间:2023-12-02 04:32:30 26 4
gpt4 key购买 nike

如何让 Jekyll/Maruku 告诉我哪个文件存在 Markdown 语法错误?

构建警告只告诉我这么多:

$ jekyll --safe

Configuration from /homne/me/_config.yml
Building site: /homne/me -> /homne/me/_site

___________________________________________________________________________
| Maruku tells you:
+---------------------------------------------------------------------------
| Could not find ref_id = "md_entityhellip" for md_link([md_entity("hellip")],"md_entityhellip")
| Available refs are ["png", "2", "3", "4", "5", "6"]
+---------------------------------------------------------------------------
!/home/eoin/.rvm/gems/ruby-1.9.3-p385/gems/maruku-0.6.1/lib/maruku/errors_management.rb:49:in `maruku_error'
!/home/eoin/.rvm/gems/ruby-1.9.3-p385/gems/maruku-0.6.1/lib/maruku/output/to_html.rb:716:in `to_html_link'
!/home/eoin/.rvm/gems/ruby-1.9.3-p385/gems/maruku-0.6.1/lib/maruku/output/to_html.rb:970:in `block in array_to_html'
!/home/eoin/.rvm/gems/ruby-1.9.3-p385/gems/maruku-0.6.1/lib/maruku/output/to_html.rb:961:in `each'
!/home/eoin/.rvm/gems/ruby-1.9.3-p385/gems/maruku-0.6.1/lib/maruku/output/to_html.rb:961:in `array_to_html'
\___________________________________________________________________________
Not creating a link for ref_id = "md_entityhellip".Successfully generated site: /homne/me -> /homne/me/_site

最佳答案

下一版本的 Jekyll 将通过 MaRuKu 提供更好的错误报告,并包含导致错误的文件的路径。

当前master branch GitHub 上的版本应该足够稳定,您可以将其用于测试目的。如果您决定测试一下,我们将欢迎您提供反馈。谢谢!

关于jekyll - 我如何告诉 Jekyll/Maruku 哪个帖子有 Markdown 语法错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14910400/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com