Open SkepticMystic opened 2 years ago
Hey, thanks for this plugin :)
I've noticed that, in LP mode, the embedded note title pushes the rest of the note downwards, which misaligns the line numbers from their corresponding lines
In this img, the start of the yaml --- should be at line 1, but is showing at line 4.
---
I had the same issue with Breadcrumbs, and used this solution to fix it: https://github.com/SkepticMystic/breadcrumbs/blob/7edc8ed25f2467da7e4810038085c58bcfe4a2cb/src/Views/TrailView.ts#L229
Basically, get the height of the embedded title, and add that to the height of the gutter
Hey, thanks for this plugin :)
I've noticed that, in LP mode, the embedded note title pushes the rest of the note downwards, which misaligns the line numbers from their corresponding lines
In this img, the start of the yaml
---
should be at line 1, but is showing at line 4.I had the same issue with Breadcrumbs, and used this solution to fix it: https://github.com/SkepticMystic/breadcrumbs/blob/7edc8ed25f2467da7e4810038085c58bcfe4a2cb/src/Views/TrailView.ts#L229
Basically, get the height of the embedded title, and add that to the height of the gutter