-
Notifications
You must be signed in to change notification settings - Fork 311
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
[WIP] Add markdown extension, update jekyll plugin documentation #1986
Conversation
super options.merge(config_options) | ||
end | ||
|
||
def header(title, level) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Method has too many lines. [11/10]
@@ -1,65 +0,0 @@ | |||
module Jekyll |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gboone this doesn't appear to be used anywhere. I removed it and the related posts section still works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It definitely wasn't me who added that ;) (OK it was, I admit it)
|
||
module Jekyll | ||
module Converters | ||
class Markdown::RedcarpetExt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use nested module/class definitions instead of compact style.
97c3d21
to
9ca776d
Compare
Looks like the tests are failing here because of a post that probably has a new # href now. (That means it's working, I think?) |
was this post added today? @gboone |
Nope, it's this one. Looks like the ID is |
Looking at it! |
@current_headers | ||
end | ||
|
||
def self.add(item) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inconsistent indentation detected.
f7d81c2
to
aa0028f
Compare
end | ||
end | ||
|
||
def header(title, level) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Method has too many lines. [12/10]
end | ||
|
||
def self.add(item) | ||
if @current_headers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use 2 (not 3) spaces for indentation.
b593bad
to
1412d46
Compare
🎉 🎉 |
WIP
Fixes issue(s) #1931
😎 PREVIEW
Changes proposed in this pull request:
RedcarpetExt
, which extends Redcarpet, and will allow us to add add block-level custom markdown in the futurerelated_posts
andwith_pic
_posts/2016-03-18-how-user-archetypes-informed-the-draft-us-web-design-standards.md
. View it here/cc @mugizico