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
Fix missing scroll anchor id on text node type
Somehow the ast.Text node type went missing with the previous change
causing scroll-to-edit not work as intended.
More scroll accuracy improvements
Added a fallback for node types where it is not possible to set the
scroll anchor id tag directly, setting the id on the previous element in
the tree where this is possible.
Support display of images in documents not located in the project root
This commit adds support for displaying images with a relative path seen
from the document, and not only from the project root. Previously mpls
would not be able to show images used in markdown files in sub
directories of the project root. e.g if your markdown file was located
in a sub directory of the project root called docs together with some
images, mpls would not find the images since they would be referenced
with either ./ or just the filenames, and thus miss the docs folder in
the path. This commit fixes this.
Ignore editorChangedFocus if the URI is the same
Before this change, opening a new document would
immediately be followed by a reload of the
document that was just opened because the editor
would also change focus.