gchq / gchq/CyberChef

Feature request: Wrap lines according to chars

Open
#2,028 0 comments 0 reactions 0 assignees Claimed by @ThomasNotTom View on GitHub
feature
Dominant language
JavaScript
Stars
35.8k
Forks
4.1k
Avg merge
2d 26m
Merged PRs (30d)
33

Description

**Is your feature request related to a problem? Please describe.**
I want the text to automatically insert line `\n` breaks after a specified number of characters.

**Describe the solution you'd like**
~~I didn't find a recipe for this feature, if it's already there then I apologize!~~
Add a function to limit the number of characters to line breaks, providing parameters for the number of characters, and line breaks

**Describe alternatives you've considered**
At one time I had to use the regular expression `.{x} -> $&\n`, but that was too cumbersome.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing linked pull request #2059, since the requested work is already under way. Check that the proposed operation accepts a character limit and line-break parameter and wraps text accordingly; done means the pull request implements the requested behavior and verifies it.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.