From d823698dbd869df9355143791c93e49796af361d Mon Sep 17 00:00:00 2001 From: Alex Furer Date: Thu, 11 Sep 2025 13:58:11 +0200 Subject: [PATCH] Update README.md --- README.md | 137 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 135 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5c91447..2f2bee5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,135 @@ -# ComfyUI-AF_Enhanced_HTML_Note -An ComfyUI Note node with html capabilities. Create notes, UI's and ReadMe's directly inside the workflow, using html. +# AF Enhanced HTML Node - Usage Guide + +## Basic Section Colors + +```html + +
+

đŸŸĸ Positive Prompts

+

Your positive prompts go here...

+
+ + +
+

🔴 Negative Prompts

+

Your negative prompts go here...

+
+ + +
+

📝 Notes

+

General notes and information...

+
+ + +
+

â„šī¸ Information

+

Important information...

+
+ + +
+

âš ī¸ Warning

+

Warning or caution messages...

+
+ + +
+

🎨 Custom

+

Custom styled content...

+
+``` + +## Spacers + +```html + +
+ + +
+ + +
+ + +
+``` + +## Clickable Links + +```html + +ComfyUI GitHub + + +Click for alert + + +Custom Command +``` + +## Complete Example Template + +```html +
+

đŸŸĸ Positive Prompts

+

masterpiece, best quality, highly detailed

+ +
+ +
+ +
+

🔴 Negative Prompts

+

low quality, blurry, distorted

+ nsfw, watermark, signature +
+ +
+ +
+

â„šī¸ Model Information

+

Using: SDXL 1.0

+

Steps: 25 | CFG: 7.5

+ Model Page +
+ +
+ +
+

📝 Notes

+

Remember to:

+
    +
  1. Check image dimensions
  2. +
  3. Adjust sampling method
  4. +
  5. Fine-tune CFG scale
  6. +
+
+

Last updated: Today

+
+``` + +## Features + +- **No external dependencies** - All CSS is inlined to avoid loading issues +- **Colored sections** - 6 predefined color schemes (positive, negative, neutral, info, warning, custom) +- **Flexible spacers** - 4 different spacer sizes +- **Clickable links** - Support for external links and custom actions +- **Responsive design** - Works on different screen sizes +- **HTML support** - Full HTML formatting (lists, tables, code blocks, etc.) +- **Custom scrollbars** - Styled to match ComfyUI theme + +## Installation + +1. Create folder: `ComfyUI/custom_nodes/ComfyUI-AF_Enhanced_HTML/` +2. Add the Python file: `AF_Enhanced_HTML.py` +3. Add the init file: `__init__.py` +4. Create `web/` subfolder +5. Add the JavaScript file: `web/AF_Enhanced_HTML.js` +6. Restart ComfyUI +7. Find the node under **AF > AF - Enhanced HTML**