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 block does not show the language #149

Open
nashv opened this issue Sep 6, 2023 · 2 comments
Open

Code block does not show the language #149

nashv opened this issue Sep 6, 2023 · 2 comments

Comments

@nashv
Copy link

nashv commented Sep 6, 2023

Unlike the default theme, code blocks do not show the language of the code in the upper left corner of the code block

@colineckert
Copy link
Owner

hey @nashv! so recently the styling for code blocks was simplified to be more like the default obsidian styling, so the code language now appears on the top right. here's a small example.

Screenshot 2023-09-09 at 10 07 37 AM Screenshot 2023-09-09 at 10 07 54 AM

can you ensure you're on the latest version of the theme and test? if the issue is resolved, pls close this ticket. thanks!

@S3V3N-11
Copy link

S3V3N-11 commented Nov 4, 2023

hey, after updated to 2.1.19, the code block badges disappeared in reading mode.

edit mode
image

reading mode
image

If I hover the mouse over it, copy appears.

Reading mode with things 2.1.4
image

obsidian version: 1.4.16

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

No branches or pull requests

3 participants