hexo-theme-quiet icon indicating copy to clipboard operation
hexo-theme-quiet copied to clipboard

Code block not displayed correctly

Open ahdbk opened this issue 2 years ago • 5 comments

Hey all, Love the work you are doing with your theme. I've installed the theme on my blog and I have this problem. The code bloc is not displayed correctly

Any hint or idea how to fix it ?

Thanks image

ahdbk avatar Oct 09 '22 15:10 ahdbk

Check whether your configuration file is configured according to the

# 我的配置
highlight:
  enable: false
  line_number: false
  auto_detect: true
  tab_replace: ''
  wrap: true
  hljs: true
prismjs:
  enable: false
  preprocess: true
  line_number: true
  tab_replace: ''

79W avatar Oct 10 '22 09:10 79W

Yes I have the same configuration and I installed all the required package for Less compilation :/

ahdbk avatar Oct 11 '22 10:10 ahdbk

Yes I have the same configuration and I installed all the required package for Less compilation :/

Can you give me your code warehouse or your MD article file? I'll try to help you solve this problem.

79W avatar Oct 11 '22 14:10 79W

Thanks for your help This is the link for my repo https://github.com/ahdbk/ahdbk.github.io and this is an example of an md file https://github.com/ahdbk/ahdbk.github.io/blob/master/source/_posts/tp-dotnet.md

ahdbk avatar Oct 11 '22 20:10 ahdbk

I have looked at your code and found that the Quiet theme lacks the necessary javascript files. I have submitted a pr to you or you can clone the theme code again

79W avatar Oct 12 '22 05:10 79W