We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, thanks for your great library. I started using slides and noticed this lists formatting. Can they be formatted nicer way via NewTermRenderer call?
slides
NewTermRenderer
The text was updated successfully, but these errors were encountered:
@muesli please let me know if there's a better way here, but I know you can adjust the style config for the list items as follows:
config := glamour.DarkStyleConfig config.Item = ansi.StylePrimitive{ BlockPrefix: " • ", } renderer, err := glamour.NewTermRenderer( glamour.WithStyles(config), glamour.WithWordWrap(width), )
Then again, that takes away the option for auto-detecting the terminal theme your user might prefer (light vs dark)
Sorry, something went wrong.
No branches or pull requests
Hi, thanks for your great library. I started using
slides
and noticed this lists formatting. Can they be formatted nicer way viaNewTermRenderer
call?The text was updated successfully, but these errors were encountered: