-
Notifications
You must be signed in to change notification settings - Fork 85
Opening a preview causes ex-mode to malfunction #86
Comments
@chaserhkj Thanks for the post :D On the first issue I can't see any errors that would relate to MPP. Does this problem only happen after syncing? and in which direction? Does On the second issue, the reason why sync is failing is actually not a bug but because with
will no longer work, you should use this:
I hope that's not a deal breaker. It is very possible in an upcoming release we'll add support back in for the original style, but we don't have any date for that yet. But if that's some thing that is important to you then please let me know :D I'll update you when I've look more in to the |
Regarding the math mode, I wrote several issues in markdown-it-math: |
@chaserhkj Thanks so much for your patience :D I'm still investigating the |
Ok so for reference I have isolated the problem to a particular commit. Everything is working fine at https://github.com/Galadirith/markdown-preview-plus/commit/fa1015b9355d7db388dad13aef4756c176c06508 but not at https://github.com/Galadirith/markdown-preview-plus/commit/7697921502586256ef4c4f0ea210a08a7c6f17f6 after #70 was merged. Going back through the commits of #70 it turns out the issue was introduced by https://github.com/Galadirith/markdown-preview-plus/compare/fb4d3faf4a7c0461dc7758980139ad84cc7142b2...c0583b3b14adb74ab51503211e609687a2d52510. So to summarise that, it appears that the problem was introduced when |
So far I am not able to reproduce any problems with |
Ok wow so this is going down a rather interesting path :D So I have now isolated the exact line that is causing a problem in Now it seems that So still more work to do but we're getting ever closer still :D |
WAITWAITWAIT. |
Maybe it is the polyfills in https://github.com/runarberg/markdown-it-math ? |
Nvm it maybe somewhere else 👍 |
@leipert I think you were really close. I don't think its the polyfill used by
If I simply set Ok great found the source :D lets think about how to resolve this. |
I will write to the ascii2mathml maintainer. |
Thanks @leipert :D As a suggestion, it looks like @runarberg maintains both |
@Galadirith I just opened a lazyload PR and wrote an issue in ascii2mathml. If you have anything to add to those, go a head (your english is faster than mine ;) ) |
Oh my goodness, @runarberg has already merged, wow, and checked locally @chaserhkj this fix will roll out on Sunday, thanks for your patience :D |
@Galadirith #95 is on the way |
@leipert awesome :D |
@Galadirith actually you need |
On atom Sorry for late reply and feedback, for I am not close enough to network yesterday, but thank all of you for the quick and fine work you've done! ^_^ |
Testing with sync preview feature, I encountered some wierd issues.
:w
command, it failed with the following errorsNot only did ex-mode go wrong, vim-mode is not acting well after this, either. Things like
dd
ing a line would leave a d in the place of the deleted line and other wierd things would happen.I am not sure about where this issue belong, but since it's triggered by this new feature in MPP, I'm submitting it here.
In the example above, I couldn't get anything beyond the first displayed math block synced through this feature. ( Only the 1st 2 headings and the 1st paragraph could be synced )
The text was updated successfully, but these errors were encountered: