ComfyUI Extension
comfyui-note
Simple custom node for ComfyUI that escapes parentheses in strings to treat them as literal characters instead of syntax.
wrt122311/comfyui-note
Nodes1
On cloudLocal install
Categorytext
Stars0
Updated3 months ago
Nodes (1)
Readme
ComfyUI Escape Brackets Node
A simple custom node for ComfyUI that escapes parentheses in strings.
Functionality
This node takes a string as input, replaces all occurrences of ( with \( and ) with \), and outputs the modified string. This is particularly useful when you need to pass text containing brackets to specific prompts or processes that interpret brackets as syntax (e.g., prompt weighting) and you want them to be treated as literal characters.
Installation
- Navigate to your ComfyUI
custom_nodesdirectory. - Clone this repository into it:
git clone <your_github_repo_url> - Restart ComfyUI.
Usage
- You can find the node under the text category, named Escape Brackets Node.
- Connect a string to the
textinput. - Connect the
STRINGoutput to whatever node requires the escaped text.