-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Line length formatter function for custom text outputs #7214
Labels
Milestone
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm working on a Gopher output for my Hugo blog. It'd be nice to have a function, maybe called "lineWrap" to wrap lines to a given length. This would behave similarly to
fmt -w 80
. It would just intelligently split lines for the text output and could be used as a filter function in themes.The text was updated successfully, but these errors were encountered: