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

Remove old markdown gems #1762

Merged
merged 2 commits into from
Feb 28, 2022
Merged

Conversation

epergo
Copy link
Member

@epergo epergo commented Feb 27, 2022

Contributes to #1759

Removing tests/support for bluecloth and maruku because they aren't actively maintained. Redcarpet and kramdown are better alternatives.

This doesn't remove support completely because Tilt is the one implementing their interface in the first place, here we are stopping to run tests for these old gems that aren't probably used anymore but users can still install and use them.

@epergo epergo changed the title Remove unsupported markdown Remove unsupported markdown gems Feb 27, 2022
@epergo epergo changed the title Remove unsupported markdown gems Remove old markdown gems Feb 27, 2022
markdown_templates = Tilt.lazy_map['md'].map { |klass, _require_path| klass }

markdown_templates.each do |template_name|
[
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of loading all possible markdown engines from Tilt, we require those that we support

@jkowens jkowens merged commit ae70708 into sinatra:master Feb 28, 2022
@epergo epergo deleted the ep/remote-unsupported-markdown branch February 28, 2022 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants