colineckert / obsidian-things

An Obsidian theme inspired by the beautifully-designed app, Things.
MIT License
707 stars 60 forks source link

Code block does not show the language #149

Open nashv opened 1 year ago

nashv commented 1 year ago

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

colineckert commented 1 year ago

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 commented 10 months ago

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