You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have checked from the CSS Inspector that the variable --shiki-code-comment is correct. However, the comments in any code (I've checked python and js) show in color #000001. It's not evident to me where this is set and why it overrides the --shiki-code-comment variable.
This is true for live preview and reading mode. In source mode, the comment color is correct. In addition, non-supported languages (tested fortran), shows the comments in the correct color (I have the same token colors for shiki + normal code)
To Reproduce
Steps to reproduce the behavior:
Set the comment color
Check on a note with code that is supported by the plugin.
Expected behavior
Comments are show in all modes in the color specified with variable --shiki-code-comment
Screenshots
Fortran live preview (correct comment color)
JS source mode (correct comment color)
JS live preview (WRONG COMMENT COLOR)
Occurs on
Windows
macOS
Linux
Android
iOS
Plugin version
0.3.2 (I had the same issue with the previous version, thought it might change with the update).
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Additional: I just noticed this happens with line numbers also. And it seems to me, that the variable --ec-codeFg somehow overrides this color (at least that's the only one in my setup that I see showing color #000001.
Ok, I tested a bit. Does seem to come from my setup. I use my own theme, and when I switched to my previous one (with same plugins, same snippets), the color is correct. I will investigate further, but it seems this was a false alarm.
Describe the bug
I have checked from the CSS Inspector that the variable
--shiki-code-comment
is correct. However, the comments in any code (I've checked python and js) show in color#000001
. It's not evident to me where this is set and why it overrides the--shiki-code-comment
variable.This is true for live preview and reading mode. In source mode, the comment color is correct. In addition, non-supported languages (tested fortran), shows the comments in the correct color (I have the same token colors for shiki + normal code)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Comments are show in all modes in the color specified with variable
--shiki-code-comment
Screenshots
Fortran live preview (correct comment color)
JS source mode (correct comment color)
JS live preview (WRONG COMMENT COLOR)
Occurs on
Plugin version
0.3.2 (I had the same issue with the previous version, thought it might change with the update).
Additional context
N/A
The text was updated successfully, but these errors were encountered: