Skip to content

RDiscount to support Jekyll 4.0 via plugin #147

@davidfstr

Description

@davidfstr

Jekyll 4.0 removes support for the RDiscount Markdown processor from the core, relying on the wider community to create a plugin for processors like RDiscount. This issue tracks efforts to create a jekyll-rdiscount processor plugin for Jekyll 4.0 so that RDiscount can again be used in the latest version of Jekyll.

Requirements:

  • Insofar as possible, maintain support for the same API that RDiscount used when integrating with Jekyll 3.x and below. In particular the following configuration blob should still work:

Screen Shot 2021-04-22 at 8 09 39 AM

Design / Tasks:

  • Create repository for plugin at davidfstr/jekyll-rdiscount.
  • Depend on rdiscount >= 2.2.0.2 (the current version of RDiscount, to ease migration).
  • Define a class Jekyll::Converters::Markdown::rdiscount class, with that exact case, to allow the following config in _config.yml to work:
    • markdown: rdiscount (equivalent to the old API)
  • Plugin does read rdiscount: top-level section from _config.yml (equivalent to the old API) to specify things like flags.
  • Write docs, for plugin itself:
group :jekyll_plugins do
  gem 'jekyll-rdiscount'
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions