ppoffice / hexo-theme-icarus

A simple, delicate, and modern theme for the static site generator Hexo.
https://ppoffice.github.io/hexo-theme-icarus/
MIT License
6.28k stars 1.54k forks source link

Numbers show different in multiline codeblock snippet #1258

Closed D4mianWayne closed 3 months ago

D4mianWayne commented 6 months ago

I have been trying to get this theme work with my markdown files and it seems that if the codeblock contains any hex numbers or decimal it just treats it like a one-line code which makes the overall codeblock look uneven. Is there any way to fix this?

To Reproduce Steps to reproduce the behavior, such as:

  1. Create a codeblock using backtick and specify language
  2. Regenerate the files and check locally:

Expected behavior I think it should just treat the integer/hex values as it is in the codeblock.

Screenshots 2023-12-30 20_52_19-Clipboard

Additional context At first, the problem felt like it was related to the syntax/language we want the highlight to be but it doesn't work that way.

ppoffice commented 5 months ago

@D4mianWayne I cannot reproduce this with the latest Icarus theme. Can you check whether you are using other code highlight plugins/extensions that may interfere with the code highlighting?

stale[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

D4mianWayne commented 3 months ago

Actually it was happening due to collision of some packages, I did a clean install and it was working as expected. Thank you!