colineckert / obsidian-things

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

Line numbers in code block reset all to 1 in longer code blocks #131

Closed SkMag9 closed 1 year ago

SkMag9 commented 1 year ago

I have a longer script in one of my Obsidian notes and whenever I scroll down past line 32 (line 32 is no longer visible) the line numbers all reset to 1. The numbers return to normal when scrolling back up to around line 5 or 6 .

image

colineckert commented 1 year ago

hey @SkMag9 thanks for the issue. i've actually reverted to the simple/non-numbered code-blocks. this experiment failed imo and the code blocks were too buggy and too hard to maintain. reverting to the simpler and cleaner code blocks better aligns witht the Things style. Thanks!