Skip to content

Let users set the common marker extensions#279

Merged
gjtorikian merged 1 commit into
gjtorikian:masterfrom
gwincr11:cg-config-commonmarker-extensions
Aug 16, 2017
Merged

Let users set the common marker extensions#279
gjtorikian merged 1 commit into
gjtorikian:masterfrom
gwincr11:cg-config-commonmarker-extensions

Conversation

@gwincr11

Copy link
Copy Markdown
Contributor

Changes:

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

@gjtorikian

gjtorikian commented Aug 16, 2017

Copy link
Copy Markdown
Owner

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.

Comment thread lib/html/pipeline/markdown_filter.rb Outdated
#
# Context options:
# :gfm => false Disable GFM line-end processing
# :commonmarker_extensions => [ ] Common marker extensions to

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

➡️ #280

@gjtorikian

Copy link
Copy Markdown
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
Copy Markdown

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

@gjtorikian

Copy link
Copy Markdown
Owner

Looks good to me!

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

Copy link
Copy Markdown
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