mjbvz / vscode-markdown-yaml-preamble

Makes yaml front matter render as a table in VS Code's built-in markdown preview:
MIT License
11 stars 5 forks source link

interferes with "scrollPreviewWithEditor" #5

Open af4jm opened 2 years ago

af4jm commented 2 years ago

I have the following in user settings:

{
    "markdown.preview.scrollEditorWithPreview": false,
    "markdown.preview.scrollPreviewWithEditor": true,
}

With this extension loaded, the scrolling often gets "stuck" on a table or HR... for example I'm several hundred lines down in a Markdown file, but I have

***

between the header and body (at line 15 of the file, many screen heights above where I'm editing), the preview auto-scrolls to the first thing under that HR instead of the part of the file I'm editing... if I disable this extension, I get the expected behavior where the first line of the preview stays in sync with the first line of the editor

mjbvz commented 2 years ago

Please share some markdown that demonstrates the issue

RokeJulianLockhart commented 1 year ago

@af4jm, https://github.com/mjbvz/vscode-markdown-yaml-preamble/issues/5#issuecomment-1115458242?

af4jm commented 1 year ago

I'm pretty sure I still see it from time to time... trying to find an example