- Description:
This key toggles whether long lines wrap to the next line in Code Inputs.
Setting this key to
truewill wrap lines that exceed the width of the code area to the next line without adding a line break character.By default, this key is
false(i.e., long lines extend horizontally and require horizontal scrolling).- Appears in:
└── _inputs └── * └── Code Input └── options └── soft_wrap- Type:
boolean- Default value:
false- Examples:
In this example, we have configured a code input to enable soft line wrapping for better readability of long lines.
Copied to clipboard_inputs: markdown_content: type: code label: Markdown options: soft_wrap: true{ "_inputs": { "markdown_content": { "type": "code", "label": "Markdown", "options": { "soft_wrap": true } } } }