Git Product home page Git Product logo

markdown-pdf-1's Introduction

##markdown-pdf

Convert markdown-formatted documents to pdf, png or jpeg files without ever leaving Atom.

###Usage Just focus the window containing your markdown file and use the convert command.

The output PDF will be styled according to your currently-active theme in Atom, as well as any user styles you have added. It will appear in the same directory as the Markdown you are converting, with the same name and a different extension.

markdown-pdf

You can set parameters in the package's settings, such as page size, orientation, and output format (pdf, png or jpeg).

###How it works

The HTML provided by running the markdown through marked is prepended with the css from the markdown-preview atom package. The syntax-highlights styling is pulled from the user's currently-active theme and added in the same way.

This HTML+CSS is then fed to html-pdf, which outputs the final image (pdf, png or jpeg) doc.

The package has dependencies on tree-view and markdown-preview, but since these are included in the default atom installation, you probably won't have to worry about that.

####Heart it? Hate it? Feel free to run apm star 'markdown-pdf' or give some feedback ๐Ÿ˜„

markdown-pdf-1's People

Contributors

brianchung808 avatar cumpsd avatar hdmi avatar nicnl avatar schmurfy avatar

Watchers

 avatar

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.