This gem extends the default kramdown parser to be able to output latex for use in scientific critical text editions. It mainly wraps the eledpar to work with parallel texts, and eledmac for critical footnotes.
Add this line to your application's Gemfile:
gem 'kramdown-scholar'
And then execute:
$ bundle
Or install it yourself as:
$ gem install kramdown-scholar
Usage with standalone kramdown is similar:
require 'kramdown'
require 'kramdown-scholar'
# might load content from utf8
content = File.read('article.md', encoding: 'UTF-8')
Kramdown::Document.new(content, :input => 'KramdownScholar').to_latex
TODO
- Fork
- Create a topic branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
GPLv3 — see COPYING for more information
