You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there some way to add support for line wrapping of the output changelog file?
I'd like my output changelog to have a maximum line length of 120 characters, however while my individual fragments are wrapped at 120 chars, the generated changelog also contains links to issues, which means the actual line ends up being much longer.
I suppose that this might be doable with the changelog template file, but I'm not sure how would I do this, any suggestions?
Note that I'm aware that there will need to be a way to distinguish between intentional newlines, and newlines due to some line width wrapping in the fragments. This might be pretty difficult, and so instead, what could be done is just expect the fragments to not be line wrapped at all, so any newlines are treated as intentional, and then wrap the lines at some specified line length.
This way the final changelog will be properly formatted with correct line wrapping, and even though the change fragments won't be able to include wrapping, that's usually not that big of an issue in comparison to not having the actual output changelog wrapped.
Ideally, I'd love to see a config option for this making it very easy to handle line wrapping, but I'm not sure how doable this is, as the template file is user-controlled so the resulting output may have some intentional longer lines etc.
The text was updated successfully, but these errors were encountered:
Is there some way to add support for line wrapping of the output changelog file?
I'd like my output changelog to have a maximum line length of 120 characters, however while my individual fragments are wrapped at 120 chars, the generated changelog also contains links to issues, which means the actual line ends up being much longer.
I suppose that this might be doable with the changelog template file, but I'm not sure how would I do this, any suggestions?
Note that I'm aware that there will need to be a way to distinguish between intentional newlines, and newlines due to some line width wrapping in the fragments. This might be pretty difficult, and so instead, what could be done is just expect the fragments to not be line wrapped at all, so any newlines are treated as intentional, and then wrap the lines at some specified line length.
This way the final changelog will be properly formatted with correct line wrapping, and even though the change fragments won't be able to include wrapping, that's usually not that big of an issue in comparison to not having the actual output changelog wrapped.
Ideally, I'd love to see a config option for this making it very easy to handle line wrapping, but I'm not sure how doable this is, as the template file is user-controlled so the resulting output may have some intentional longer lines etc.
The text was updated successfully, but these errors were encountered: