Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RDiscount to support Jekyll 4.0 via plugin #147

Open
9 tasks
davidfstr opened this issue Apr 22, 2021 · 0 comments
Open
9 tasks

RDiscount to support Jekyll 4.0 via plugin #147

davidfstr opened this issue Apr 22, 2021 · 0 comments
Labels

Comments

@davidfstr
Copy link
Owner

davidfstr commented Apr 22, 2021

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
Repository owner deleted a comment from runnyren Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant