You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 12, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on May 12, 2026. It is now read-only.
Markdown preview is not scrolling along with editor #247
changed the title [-]Markdown preview is not scrolling along with editor in Mac OS[/-][+]Markdown preview is not scrolling along with editor[/+]on Feb 13, 2020
@Rokt33r I believe this requires each (top-level) elements in the generated HTML in preview has a data-line references back to its source. Do you think we have that with remarkjs yet?
I took a look at the legacy version and saw the token walk to add data-line, but could not find anything similar in the next version
Activity
Rokt33r commentedon Jan 5, 2020
It is not implemented yet. Thanks for the reminding!
[-]Markdown preview is not scrolling along with editor in Mac OS[/-][+]Markdown preview is not scrolling along with editor[/+]thien-do commentedon Aug 21, 2020
@Rokt33r I believe this requires each (top-level) elements in the generated HTML in preview has a data-line references back to its source. Do you think we have that with remarkjs yet?
I took a look at the legacy version and saw the token walk to add data-line, but could not find anything similar in the next version
Rokt33r commentedon Sep 1, 2020
@dvkndn We can access a node's actual position in raw text. I've been slowly working on it. rehypejs/rehype-react#22