Skip to content

Enable Rouge plaintext lexer with :guess_lang opt - #573

Merged
gettalong merged 2 commits into
gettalong:masterfrom
ashmaroli:enable-css-class
Jan 23, 2019
Merged

gettalong merged 2 commits into
gettalong:masterfrom
ashmaroli:enable-css-class

Conversation

@ashmaroli

Copy link
Copy Markdown
Contributor

Utilize :guess_lang highlighter-option from kramdown-2.0 to enable Rouge's plaintext lexer
(This avoids having to maintain multiple options for same result)

Resolves #572

@gettalong
gettalong self-requested a review January 23, 2019 18:56
@gettalong gettalong self-assigned this Jan 23, 2019

@gettalong gettalong left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thank you for this pull request - I actually had the same 20 minutes ago 😄

Comment thread lib/kramdown/converter/syntax_highlighter/rouge.rb Outdated
@ashmaroli

Copy link
Copy Markdown
Contributor Author

I actually had the same 20 minutes ago

Thanks for the compliment. Feels awesome to know that I'm close to your skill level 😉 😃

@gettalong
gettalong merged commit 0dca254 into gettalong:master Jan 23, 2019
@ashmaroli
ashmaroli deleted the enable-css-class branch January 24, 2019 02:11
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.

2 participants