gsh1209
gsh1209
> > replace > `.tree-item.nav-folder.mod-root>.tree-item-children.nav-folder-children > .tree-item.nav-folder` > with > `.nav-files-container>div>.tree-item.nav-folder` > This works for me. Thanks!
note 块不支持这样用。 单行note,即只要note块的标题,可以这样写 ``` {% note color:cyan note内容 %} ``` 多行note,需要这么写 ``` {% note color:cyan 标题,不需要则留空 %} note内容,第一行, note内容,第二行,个人不习惯用来手动换行,没测试过在note块里用是否有效,额外插入一个回车符换行是没问题的。 {% endnote %} ```
@thun888 出幻觉了😂,note不支持多行,多行可以用box
参考 https://github.com/xaoxuu/hexo-theme-stellar/issues/548
建议使用 hexo-renderer-markdown-it-plus,https://github.com/xaoxuu/hexo-theme-stellar/issues/548
> > 建议使用 hexo-renderer-markdown-it-plus,[#548](https://github.com/xaoxuu/hexo-theme-stellar/issues/548) > > 我是用的 hexo-renderer-markdown-it-plus,我分别执行的npm uninstall hexo-renderer-marked --save npm install hexo-renderer-markdown-it-plus --save 把配置文件中的katex enable设置成false试试
@He1o @DragonYH 看了下应该是因为 katex.min.css 没有加载成功,katex更新了,配置文件中的链接校验值不匹配被浏览器禁用了。 https://github.com/xaoxuu/hexo-theme-stellar/pull/624
> 看到之前主题有将markdown格式的图片解析成图片标签的功能,不知为何后来又移除了? 印象中这个功能当时是正则替换实现的,替换规则覆盖的不够全面,可能不容易修复就删了。 原生markdown图片有一些诡异的用法确实不好用正则替换,比如: ``` [](https://markdown.com.cn) ``` 会解析成带链接的图片: [](https://markdown.com.cn)
看起来你用的不是最新版本的代码,参考:https://github.com/xaoxuu/hexo-theme-stellar/commit/acf57d38bb6c7687617ca7e2c1321f06c32fa77c
同步了下配置更新,发现了类似的问题,文章页面全部 404。 不过我这里主要是和 nginx 与永久链接设置有关,这里发下给遇到相同问题的朋友一个参考思路。 我最初使用的 permalink 配置: ``` permalink: posts/:abbrlink.html permalink_defaults: pretty_urls: trailing_index: true # Set to false to remove trailing 'index.html' from permalinks trailing_html: true # Set to...