atom-community / markdown-preview-plus

Markdown Preview + Community Features
https://atom.io/packages/markdown-preview-plus
Other
370 stars 85 forks source link

`Sync preview` couldn't find the right position. (incompatible with <div> tag) #475

Closed KimbingNg closed 4 years ago

KimbingNg commented 4 years ago

Sync preview couldn't find the right position and sync source in the preview panel either

NOT ONLY DIV TAG, any tag can make this happen

source code:

<div>

paragraph 1

paragraph 2

</div>

Issue happens in this line.(try: Rightclick here and click `Sync preview`)

a

look at me look at me look at me

c

**It works properly only when I remove the `<div>` tag**
lierdakil commented 4 years ago

Thanks for reporting! Should be fixed in v3.11.5