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

Add support for generating line numbers. #5

Merged
merged 1 commit into from
Feb 9, 2016
Merged

Add support for generating line numbers. #5

merged 1 commit into from
Feb 9, 2016

Conversation

lowjoel
Copy link
Contributor

@lowjoel lowjoel commented Feb 9, 2016

This adds support for generating line numbers, as per Rouge output.

def formatter(css_class: default_css_class)
Rouge::Formatters::HTML.new(css_class: css_class)
Rouge::Formatters::HTML.new(css_class: css_class, line_numbers: line_numbers)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Line is too long. [85/80]

JuanitoFatas added a commit that referenced this pull request Feb 9, 2016
Add support for generating line numbers.
@JuanitoFatas JuanitoFatas merged commit bfd5798 into JuanitoFatas:master Feb 9, 2016
@JuanitoFatas
Copy link
Owner

Thanks!

@JuanitoFatas
Copy link
Owner

Released v1.0.3.

@lowjoel
Copy link
Contributor Author

lowjoel commented Feb 9, 2016

Thanks for merging 😄

@lowjoel lowjoel deleted the line-numbers branch February 9, 2016 23:43
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.

3 participants