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

Let users set the common marker extensions #279

Merged

Conversation

gwincr11
Copy link
Contributor

Changes:

  • Expose the common marker extensions to the context.
  • Set a default list of ext.
  • Update docs.

@gjtorikian
Copy link
Owner

gjtorikian commented Aug 16, 2017

I'm really not sure how CI failed to install any of the gems. @jch, have you seen this before?

Edit: I think @kivikakk might have hit this too at one point? Apologies if I am utterly, utterly wrong.

@@ -12,6 +12,8 @@ class Pipeline
#
# Context options:
# :gfm => false Disable GFM line-end processing
# :commonmarker_extensions => [ ] Common marker extensions to
Copy link
Contributor

Choose a reason for hiding this comment

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

What's the [ ] doing here? I think this is meant to suggest the default, which is instead written on the next line.

Copy link
Contributor

Choose a reason for hiding this comment

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

Common marker => CommonMarker

assert_equal(doc, iframe_escaped)
end


Copy link
Contributor

Choose a reason for hiding this comment

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

One too many blank lines.

@kivikakk
Copy link
Contributor

Wow, the failures sure are extensive. I'm guessing a recent merge updated Gemfile without the lockfiles getting updated too? Though it looks like you caught that here: 2852874 Hrm.

@kivikakk
Copy link
Contributor

➡️ #280

@gjtorikian
Copy link
Owner

Can you pull in master when you get a chance @gwincr11 ? 👍

@thejandroman thejandroman force-pushed the cg-config-commonmarker-extensions branch from 2fc7d41 to 2cb3b0d Compare August 16, 2017 16:54
Changes:
  - Expose the common marker extensions to the context.
  - Set a default list of ext.
  - Update docs.
@thejandroman thejandroman force-pushed the cg-config-commonmarker-extensions branch from 2cb3b0d to dc0f98a Compare August 16, 2017 16:54
@thejandroman
Copy link

@kivikakk @gjtorikian This should be ready for a re-review.

@gjtorikian
Copy link
Owner

Looks good to me!

@gjtorikian gjtorikian merged commit 8319952 into gjtorikian:master Aug 16, 2017
@gjtorikian
Copy link
Owner

Released as 2.7.0.

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.

4 participants