-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Add (truncated) preview to snippets command #3342
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
Conversation
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.
Works as intented, can be merged in my opinnion.
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.
I think this adds functionality that is useful to our member base. LGTM.
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.
Also tested as working on 4.1.2
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.
Reviewed by stephen and lorenzo.
This update changes the ?snippet command.
When the snippet command is invoked with no snippet name, but snippets do exist, it will not only show a list of all snippets, but also show a (possibly truncated to a length of 350 characters) preview.
Also changed the amount of snippets per page from 15 to 10 per page to accommodate the more space taken up.