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

Apply better scroll-sync when Marpit polyfill is disabled #50

Merged
merged 6 commits into from
Jun 17, 2019

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Jun 14, 2019

Add the support of better scroll-sync when Marpit polyfill is disabled.

Rendered DOMs on preview have the correct calculated position when polyfill is not applied. So we can annotate to DOM for more accurately scroll-sync by line as same as VS Code default.

@yhatt yhatt merged commit e58bc61 into master Jun 17, 2019
@yhatt yhatt deleted the better-line-sync branch June 17, 2019 15:03
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

Successfully merging this pull request may close these issues.

1 participant