Skip to content

UlyssesZh/jekyll-paru

Repository files navigation

jekyll-paru

Jekyll plugin for using Paru to render Markdown.

Installation

In the Gemfile of your Jekyll site, add:

gem 'jekyll-paru', group: :jekyll_plugins

And add the following to your _config.yml:

plugins:
  - jekyll-paru

Configuration

In _config.yml:

markdown: Paru
paru:
  # All options are optional
  exec: /path/to/pandoc
  options:
    # Look at https://github.com/htdebeer/paru/blob/master/lib/paru/pandoc_options.yaml for all options
    no_highlight: true
    shift_heading_level_by: 1
    filter:
      - pandoc-crossref
      - pandoc-katex
    metadata:
      - crossrefYaml=_data/crossref.yaml