我使用hexo制作我的个人博客网站。一切看起来都很好。但是我发现hexo不能解析myWidget2,如果单词在双is in the middle of a sentence, have no line feeds. However, **jekyll** can easily parse them. At the same time, both of them can parse double中用line feeds来编码的话。所以关键是线馈送。
我的hexo版本是hexo: 3.7.1 hexo-cli: 1.1.0 os: Linux 4.15.0-36-generic linux x64 http_parser: 2.8.0 node: 10.11.0 v8: 6.8.275.32-node.28 uv: 1.23.0 zlib: 1.2.11 ares: 1.14.0 modules: 64 nghttp2: 1.33.0 napi: 3 openssl: 1.1.0i icu: 62.1 unicode: 11.0 cldr: 33.1 tz: 2018e
谢谢你的答复!我真的需要解决这个问题。
发布于 2020-10-16 13:46:57
我忘了我的版本的jekyll和hexo。但我发现hexo和jekyll有区别的原因。如果没有使用double `的新行,则jekyll中的显示在hexo中是正确的,但是错误的。从表面上看,正确的形式如下。
hello world还有一种没有行的方法:hello world现在可以使用double `而不是‘’。
发布于 2018-12-13 03:34:05
最好张贴标记代码来分析错误,但我使用hexo解析normally, did you forget to use newline between和内容。下面是一个例子:
Here is some thing
```
myWidget2
```
Finish如果您想将所有内容放在一个句子中,可以将`‘替换为` `。
https://stackoverflow.com/questions/52759954
复制相似问题