Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nishidayuya/pandoc_binary_gem


https://github.com/nishidayuya/pandoc_binary_gem

pandoc ruby

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# PandocBinary

## Installation

Install the gem and add to the application's Gemfile by executing:

```console
$ bundle add pandoc_binary
```

If bundler is not being used to manage dependencies, install the gem by executing:

```console
$ gem install pandoc_binary
```

## Usage

After installation, we can use `pandoc` command:

```console
$ pandoc --from=gfm --to=html5 a.md > /tmp/a.html
```

And we can use `PandocBinary.executable_path` to get `pandoc` command path:

```ruby
require "pandoc_binary"

p(PandocBinary.executable_path)
#=> #
```

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/nishidayuya/pandoc_binary_gem .