Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
3 tasks done
suyin-long opened this issue Oct 14, 2021 · 4 comments
Closed
3 tasks done

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

suyin-long opened this issue Oct 14, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@suyin-long
Copy link

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
Copy link
Owner

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

@suyin-long
Copy link
Author

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

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

@jerryc127
Copy link
Owner

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

@suyin-long
Copy link
Author

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

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

@jerryc127 jerryc127 added the bug Something isn't working label Oct 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants