Comments (15)
Cool that it works now. About the &test
, it's because a the &
should be replaced by &
A regex should solve this 😏
from markdownlivepreview.
It creates the group over and over again, which is weird.
- What build of sublime text are you using?
- could you give the content of your file (i tried with a fairly big file, every thing was working)
from markdownlivepreview.
Hi,
I'm using latest version (build 3126) of ST3. Tested attached file with Windows as well as MacOS version.
Because files content is confidential, I replaced it with dummy text.
But effect stays the same.
from markdownlivepreview.
I've tried with your file, but St does not crash...
Can you re do the manip (so plugin_host crashes), open up the console, and type:
view.settings().get('markdown_preview_enabled')
You should have True
.
view.settings().get('markdown_preview_id')
You should have an integer.
Thanks for your time, I really appreciate it. 👍
from markdownlivepreview.
Please find infos attached.
SC did not crash this time, but behave similar.
First file (ZIP) contains console log, at the very end, you'll find output of requested commands (true, 71).
After causing strange behavior, markdown preview does not even open up any more for file used.
But it works like a charm for an other (very small) test file.
I've even restarted ST3, but without any success, markdown preview does not fire up.
Thanks for YOUR time, because I am the beneficiary of your work :-)
from markdownlivepreview.
You say that MarkdownLivePreview does not do anything with large file: can you have a look in the console after trying to run the command?
Something that might affect it: what plugins do you have?
The only time that MLP is creating a new view is when the markdown view is modified (that on_modified
is fired). The problem might be coming from a plugin that would edit the file as soon as you open them.
Try do disable every plugin except MLP, and see if you still have this issue. To do this quickl:
- go to
Preferences -> Package Settings -> Package Control -> Settings - User
- copy the list
installed_package
- open your settings
- paste the list in the
ignored_packages
one.
from markdownlivepreview.
Thank you, that solved the issue.
I've disabled all other packages, now it works like expected.
Now I need to find the cause for this, because I depend on some of these plugins...
Anyhow, thank you for support and great tool!
from markdownlivepreview.
Hi,
found the (most likely) reason for the probem: "AutoWidth" (https://packagecontrol.io/packages/AutoWidth) plugin.
After disabling it everything works like a charm again.
from markdownlivepreview.
Strange behavior occurs again....
But I think I found the root cause:
As soon you are trying to use someting like xxxx&xxx (without blanks), previewer stops working.
Simple test:
create markdown file (test.mdown) containing content below - works as expected:
test & test
now change content of file to no longer separate word and & by blank:
test &test
parser goes nuts.
(This is not a rare case, because such constructs are often used in web-adresses....)
Maybe this is of help!
from markdownlivepreview.
Yepp, great it works now.
But replacing & by & would not work in normal text (e.g. bread&breakfast would look... interesting in this case)
from markdownlivepreview.
But replacing & by & would not work in normal text (e.g. bread&breakfast would look... interesting in this case)
I don't really understand...
from markdownlivepreview.
Hm.
It seems it is still related to my Windows-Installation.
On my Mac, system behaves (now, after disabling AutoWidth) as expected.
(Or did you fix it recently? Have seen your "fix escaping of the &..." comment)
Sorry for bothering!
from markdownlivepreview.
So, it's not working on window? (just to make sure we're talking about the same thing: this is about the escaping of &
right?)
Sorry for bothering!
You're not bothering me at all!
from markdownlivepreview.
It seems your fix has solved that also.
Works in Windows as well as on Mac now.
A big "Thank You!"
from markdownlivepreview.
Works in Windows as well as on Mac now.
Cool! Thanks to you also!
from markdownlivepreview.
Related Issues (20)
- Sync scrolling not working HOT 1
- Images not loaded correctly.
- Support for language specific code blocks.
- Feature Request: Open MarkdownLivePreview automatically when a Markdown file is opened.
- Some code is display error
- there is nothing in the preview part HOT 10
- Show coloring code in preview HOT 1
- How to adjust CSS
- Support for super and subscript? +1
- Closing unsaved document silently should be forbidden
- Not search open MarkdownLivePreview:open preview HOT 4
- Add support for images, or at least fail gracefully HOT 2
- Github authentication error
- Doesn't work with ST4: command pallet doesn't show the option for 'Preview' HOT 1
- Open a preview option is not coming and an error message No module named `MarkdownLivePreview`
- Please make use of the new api `new_html_sheet` of Sublime Text 4
- Close command? HOT 1
- Printing?
- Gitlab API authentication failed. Please check your gitlab's token. HTTP status code 401. HOT 1
- Unable to preview the markdown. HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from markdownlivepreview.