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

Enhance Syntax highlighter #170

Open
4 tasks
ff6347 opened this issue Mar 23, 2020 · 2 comments
Open
4 tasks

Enhance Syntax highlighter #170

ff6347 opened this issue Mar 23, 2020 · 2 comments
Assignees

Comments

@ff6347
Copy link
Member

ff6347 commented Mar 23, 2020

@ff6347
Copy link
Member Author

ff6347 commented Mar 23, 2020

Took a look at some options mostly concerning the alternating row colors.
On the example you send me you re using highlight.js which does all kind of JS magick to create the lines. The end result is an ol > li setup for creating the alternating row colors.

The options in jekyll are all based on the markdown parser. Rouge (which we are currently using, commonmark or redcarpet). As far as I could see none has alternating row colors build in.

Means for the alternating colors we would have to do some magick with the possible markdown parsers or switch to hightlight.js

I would not want to switch to highlight.js

@ff6347
Copy link
Member Author

ff6347 commented Mar 23, 2020

The other things can be done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants