Git Product home page Git Product logo

Comments (4)

travs avatar travs commented on May 29, 2024

@peterski007
You're absolutely right.
I had the command incorrectly named in menu/markdown-pdf.json.
I will update with a patch (1.0.1) shortly, and you should be able to re-download.

Please let me know if this fixes the issue or not! 😁

T

from markdown-pdf.

 avatar commented on May 29, 2024

That worked but with an error output though pdf has been created. The output is below:

Window load time: 1919ms index.js:46
Converted successfully. Output in /Users/homedrive/somedocument.pdf ~/.atom/packages/markdown-pdf/lib/markdown-pdf.js:50
[2] Uncaught TypeError: Cannot read property 'getPath' of undefined

from markdown-pdf.

travs avatar travs commented on May 29, 2024

@peterski007
This is (probably) happening because the focused window is not a textEditor.
Try closing the markdown preview pane, clicking on the editor with your .md file in it, and running the convert command again.

I will be adding a check for this bug shortly.

Thanks once again, and let me know if this works!

from markdown-pdf.

travs avatar travs commented on May 29, 2024

This should not occur now, as much of the original implementation has changed.

from markdown-pdf.

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.