0.0
The project is in a healthy, maintained state
Provides binaries for Pandoc
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Development

>= 0
 Project Readme

PandocBinary

Installation

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

$ bundle add pandoc_binary

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

$ gem install pandoc_binary

Usage

After installation, we can use pandoc command:

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

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

require "pandoc_binary"

p(PandocBinary.executable_path)
#=> #<Pathname:/home/yuya/.anyenv/envs/rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/pandoc_binary-2.10/libexec/pandoc-linux-amd64>

Contributing

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