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

[WIP] Add markdown extension, update jekyll plugin documentation #1986

Merged
merged 1 commit into from
Oct 28, 2016

Conversation

gemfarmer
Copy link
Contributor

@gemfarmer gemfarmer commented Oct 27, 2016

WIP

Fixes issue(s) #1931

CircleCI

😎 PREVIEW

Changes proposed in this pull request:

  • Added a new default markdown, RedcarpetExt, which extends Redcarpet, and will allow us to add add block-level custom markdown in the future
  • removes unused plugins related_posts and with_pic
  • replaces markup with accessible markdown at _posts/2016-03-18-how-user-archetypes-informed-the-draft-us-web-design-standards.md. View it here

/cc @mugizico

super options.merge(config_options)
end

def header(title, level)

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

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.

Check it out

Copy link
Contributor

@gboone gboone Oct 27, 2016

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)

@gemfarmer gemfarmer changed the title Add markdown extension, update jekyll plugin documentation Add markdown extension, update jekyll plugin documentation [WIP Oct 27, 2016
@gemfarmer gemfarmer changed the title Add markdown extension, update jekyll plugin documentation [WIP [WIP] Add markdown extension, update jekyll plugin documentation Oct 27, 2016
@coreycaitlin coreycaitlin changed the title [WIP] Add markdown extension, update jekyll plugin documentation [WIP] Add markdown extension, update jekyll plugin documentation Oct 27, 2016

module Jekyll
module Converters
class Markdown::RedcarpetExt

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.

@gboone
Copy link
Contributor

gboone commented Oct 27, 2016

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?)

@mugizico
Copy link

was this post added today? @gboone

@gboone
Copy link
Contributor

gboone commented Oct 27, 2016

Nope, it's this one. Looks like the ID is everything- now.

@mugizico
Copy link

Looking at it!

@current_headers
end

def self.add(item)

Choose a reason for hiding this comment

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

Inconsistent indentation detected.

end
end

def header(title, level)

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

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.

@gemfarmer
Copy link
Contributor Author

🎉 🎉

@gemfarmer gemfarmer merged commit e8cc3f9 into dev Oct 28, 2016
@gemfarmer gemfarmer deleted the same-headers branch October 28, 2016 16:48
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.

5 participants