Git Product home page Git Product logo

transmuter's Introduction

This repository is no longer maintained.

I'm looking for someone with the right time and motivation to maintain Transmuter. If you are interested, please reach out at me [at] kalbas.it

Transmuter Build Status Stories in Ready

Transmuter is a command line tool to convert Markdown and Textile files into HTML or PDF, or HTML files to PDF.

It uses pygments.rb, PDFkit, Redcarpet, and RedCloth.

Click here to lend your support to: Open Source Projects and make a donation at www.pledgie.com!

Getting Started

  1. Install the Transmuter gem if you haven't already:

    $ gem install transmuter
  2. Transmuter uses pygments.rb, which requires Pygments. You can install Pygments using the Python Easy_Install tool. After installing Easy_Install, you can install Pygments as a Python egg:

    $ sudo easy_install pygments

    Pygments is also part of the Debian and Gentoo Linux distributions, and you can install it via the regular package managers. For example, in Ubuntu:

    $ sudo aptitude install python-pygments

    You can also install it from source.

  3. Transmuter also uses PDFkit, which requires WKHTMLTOPDF. The PDFKit project on GitHub has excellent installation instructions for WKHTMLTOPDF.

Usage

You can check the help facility:

$ transmute --help

Generate PDF from a Markdown file with the default CSS:

$ transmute file.md

Generate HTML from a Markdown file with the default CSS:

$ transmute file.md -t html

Generate HTML from a Markdown file with custom CSS:

$ transmute file.md -t html -s custom.css

Generate HTML from a Markdown file with several custom CSS files specified by separating the file names with spaces:

$ transmute file.md -t html -s custom1.css custom2.css

Contact

For bugs and feature request, please use Github issues, for other requests, you can contact me by email.

Don't forget to follow me on Github and Twitter for news and updates.

License

This code is free to use under the terms of the MIT license.

Copyright (c) 2014 Wael Nasreddine <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

transmuter's People

Contributors

9nonnatus avatar kalbasit avatar waffle-iron 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.