Skip to content

Commit

Permalink
commonmarker
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuzzwah committed Feb 29, 2024
1 parent 17fb948 commit a442498
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -6,7 +6,7 @@ gem "posix-spawn", :platforms => :ruby
gem "redcarpet", :platforms => :ruby
gem "kramdown", :platforms => :jruby
gem "RedCloth"
gem "commonmarker", "~> 1.0.4"
gem "commonmarker", "~> 0.23.10"
gem 'rdoc', '~> 6.6', '>= 6.6.2'
gem 'org-ruby', '~> 0.9.12'
gem 'creole', '~> 0.5.0'
Expand Down
2 changes: 1 addition & 1 deletion lib/github/markup/markdown.rb
Expand Up @@ -7,7 +7,7 @@ class Markdown < Implementation
"commonmarker" => proc { |content, options: {}|
commonmarker_opts = [:GITHUB_PRE_LANG].concat(options.fetch(:commonmarker_opts, []))
commonmarker_exts = options.fetch(:commonmarker_exts, [:tagfilter, :autolink, :table, :strikethrough])
Commonmarker.to_html(content, commonmarker_opts, commonmarker_exts)
CommonMarker.render_html(content, commonmarker_opts, commonmarker_exts)
},
"github/markdown" => proc { |content, options: {}|
GitHub::Markdown.render(content)
Expand Down

0 comments on commit a442498

Please sign in to comment.