GithubHelp home page GithubHelp logo

Comments (4)

RickStrahl avatar RickStrahl commented on August 20, 2024

Hmmm... I am a habitual Ctrl-s'er and I haven't seen that myself.

I'm guessing what's happening is that there might be multiple refreshes overlapping. The way the preview works is that it renders a temporary HTML file in the same folder as the markdown file which is rendered and then immediately deleted. If there are overlapped updates it's possible that a secondary render gets its HTML file deleted.

I just played around with this here though and I can't make that happen. Even rapid fire Ctrl-s on a very large MD file works.

Any more hints on what's happening when it doesn't work? Very slow machine by any chance?

from markdownmonster.

RickStrahl avatar RickStrahl commented on August 20, 2024

I've made a change so that the rendered HTML file isn't deleted until the document is closed. This should avoid any issues with the file not being there and also allowing you to navigate back and forth.

The downside of this fix is that if MM crashes there will be left over html files (which do get cleaned up next time you open and properly close the file).

It's in 0.29.

from markdownmonster.

ButchersBoy avatar ButchersBoy commented on August 20, 2024

.29 looks much better

from markdownmonster.

RickStrahl avatar RickStrahl commented on August 20, 2024

Cool.

IAC, leaving the file around is probably a better idea anyway so you can navigate links and come back with back button - that wasn't working before because the file wasn't there anymore.

Thanks.

from markdownmonster.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.