jerryc127 / hexo-theme-butterfly

🦋 A Hexo Theme: Butterfly
https://butterfly.js.org
Apache License 2.0
7.05k stars 1.27k forks source link

使用beautify后出现的问题? #693

Closed suyin-long closed 2 years ago

suyin-long commented 2 years ago

I want to create a Bug report

Butterfly Information

Butterfly Version: hexo-theme-butterfly@3.8.4

Platform: Windows 10 20H2

Browser: Chrome、Microsoft Edge、Firefox

Expected behavior

在使用beautify后Markdown文件可以正常渲染

Actual behavior

在开启beautify后,如果遇到即是H1~H6之间的标题又是有序或无需的列表的内容是会出现显示异常,如下图: 1 在typora中显示的样式,正常显示,如下图: 2 关闭beautify功能后,也是正常显示,如下图: 3

Steps to reproduce the behavior

  1. 使用hexo-theme-butterfly主题
  2. 启用beautify功能
  3. 在Markdown文件中写入即是H1~H6之间的标题又是有序或无需的列表的内容
  4. 运行hexo clean && hexo g && hexo s后在浏览器查看显示效果

Screenshots

截图如上述内容

Website

现在还没有部署到服务器,只是本地测试的结果

Describe the bug

jerryc127 commented 2 years ago

1.2 没错啊 你是说哪里出错?

suyin-long commented 2 years ago

1.2 没错啊 你是说哪里出错?

1和2应该和对应的锚点标签对齐才对啊,毕竟是一行的内容,如图: 示例

jerryc127 commented 2 years ago
  1. 请确保自己diy的css 会不会把主题原有的覆盖了,而导致样式出错
  2. 确保1后,你可以推上去 地址发来
suyin-long commented 2 years ago
  1. 请确保自己diy的css 会不会把主题原有的覆盖了,而导致样式出错
  2. 确保1后,你可以推上去 地址发来

测试地址:https://suyin-blog.cn/2020/323EH2Y/