-
Notifications
You must be signed in to change notification settings - Fork 36
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
feat: Use bullets to format details #617
Conversation
…":"3.6"}}) (#618) Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
@@ -191,6 +182,50 @@ wrap_footer <- function(footer, setup, lines = setup$max_footer_lines, ellipsis | |||
map_chr(split, paste, collapse = " ") | |||
} | |||
|
|||
wrap_footer_bullet <- function(footers, setup, lines = setup$max_footer_lines, ellipsis = TRUE) { |
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.
Could we use cli for this?
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.
In principle, yes. Not sure how to keep the #
comments.
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.
Oh good point.
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.
The previous implementation actually somehow made it work, with catching a cli message, but then I also want to limit the number of lines I show.
Closes #582.
Needs more cleanup (code consolidation).