-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Syntax highlighting #245
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
Syntax highlighting #245
Conversation
@sdras it looks nice! The only thing is line numbers are very contrasting comparing to the code itself: |
Good shout! The line highlighting isn't showing up locally so trying a few things here, one sec |
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.
Looks great now! Approved
const MOBILE_DESKTOP_BREAKPOINT = 719 // refer to config.styl | ||
const NAVBAR_VERTICAL_PADDING = parseInt(css(this.$el, 'paddingLeft')) + parseInt(css(this.$el, 'paddingRight')) | ||
const NAVBAR_VERTICAL_PADDING = | ||
parseInt(css(this.$el, 'paddingLeft')) + |
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.
parseInt(..., 10)
?
We don't have to go in this direction, but I thought it might be nice to separate from the default vuepress styles and go a little more towards the default vue docs syntax highlighting. Let me know what you think!