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

Code highlighting is not consistent in read and preview modes #33

Open
f3ss1 opened this issue Nov 21, 2024 · 0 comments · May be fixed by #34
Open

Code highlighting is not consistent in read and preview modes #33

f3ss1 opened this issue Nov 21, 2024 · 0 comments · May be fixed by #34

Comments

@f3ss1
Copy link

f3ss1 commented Nov 21, 2024

As noted in topic, for some reason I get different code highlighting in different modes:

Live preview mode:
Live preview mode
Read mode:
Read mode

What I did try:

  • Turn off community plugins with restricted mode
  • Turn off all css snippets I have
  • Reload the app :)

OS: Ubuntu 22.04

The markdown written is exactly:

my_set = {'a', 'b', 'c'}
my_dict = dict.fromkeys(my_set, 0)
print(list(my_dict.keys()))  # Order is not guaranteed; e.g., ['b', 'c', 'a']

I believe the issue might not be related to the theme itself, but maybe someone else had this issue and fixed it somehow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant