Skip to content

feat(TextWrap): add Text Wrap BoxSource - #473

Open
XiaoXiaoSN wants to merge 1 commit into
mainfrom
feat/boxsource-new-textwrap
Open

feat(TextWrap): add Text Wrap BoxSource#473
XiaoXiaoSN wants to merge 1 commit into
mainfrom
feat/boxsource-new-textwrap

Conversation

@XiaoXiaoSN

@XiaoXiaoSN XiaoXiaoSN commented Jun 24, 2026

Copy link
Copy Markdown
Owner

Box Source: Text Wrap (Transform)

Adds the Text Wrap box source to Magic Box. It is disabled by default.

Details:

  • Category (Kind): Transform
  • Tag: #
  • Default Input: The quick brown fox jumps over the lazy dog ::wrap=20

Options:

  • ::wordwrap, ::wrap

Description:

Word-wrap text to a column width. ::wrap= (default 80).

Usage Examples:

  • Input:
The quick brown fox jumps over the lazy dog ::wrap=20
  • Output Box (Text Wrap):
The quick brown fox
jumps over the lazy
dog

@XiaoXiaoSN

Copy link
Copy Markdown
Owner Author

Linting/testing failed on this branch.

Error details:

Please fix the linting and testing issues and ensure 'bun run lint' and 'bun test run' pass.

@XiaoXiaoSN

Copy link
Copy Markdown
Owner Author

This PR is ready to merge!

@XiaoXiaoSN
XiaoXiaoSN force-pushed the feat/boxsource-new-textwrap branch from abaffa4 to 36ecdba Compare June 26, 2026 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant