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

extension tasklist not found #64

Closed
chrkau opened this issue Feb 7, 2018 · 3 comments
Closed

extension tasklist not found #64

chrkau opened this issue Feb 7, 2018 · 3 comments

Comments

@chrkau
Copy link

chrkau commented Feb 7, 2018

It seems the tasklist extension is broken (or rather not available):

require 'commonmarker'

CommonMarker.render_html('foo', :DEFAULT, [:tasklist])

results in:

Traceback (most recent call last):
	2: from test.rb:3:in `<main>'
	1: from /usr/local/Cellar/rbenv/1.1.1/versions/2.5.0/lib/ruby/gems/2.5.0/gems/commonmarker-0.17.7.1/lib/commonmarker.rb:25:in `render_html'
/usr/local/Cellar/rbenv/1.1.1/versions/2.5.0/lib/ruby/gems/2.5.0/gems/commonmarker-0.17.7.1/lib/commonmarker.rb:25:in `markdown_to_html': extension tasklist not found (ArgumentError)
@kivikakk
Copy link
Collaborator

kivikakk commented Feb 8, 2018

Yep, this documentation is mistaken. (Now fixed.) tasklist isn't actually an extension rendered by the underlying library. Thanks for the report.

@kivikakk kivikakk closed this as completed Feb 8, 2018
@oliverguenther
Copy link

oliverguenther commented Feb 7, 2019

Tasklist has been merged to cmark end of 2018 (github/cmark-gfm#94). I gave it a go to try and extend the options to add tasklist, but didn't get too far. Just posting this here for visibility if anyone competent wants to give it a try.

@gjtorikian
Copy link
Owner

Thanks for the bump, @oliverguenther. I opened #94 to start looking into this.

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

No branches or pull requests

4 participants