Nodes/ComfyUI-Artha-Nodes/πŸ”± Artha Gemini Markdown
ComfyUI Node

πŸ”± Artha Gemini Markdown

Readable output without the markdown soup

By CyrostarΒ·Created 10 months agoΒ·Updated 8 months agoΒ· 0
πŸ”± Artha Gemini Markdown
    • response
    β—„responseβ€”β–Ί

    Artha Gemini Markdown is a display node, full stop. Feed it a string, and it renders that string as markdown in the ComfyUI interface so you can actually read Gemini's output instead of squinting at a wall of raw text with ** asterisks and ## headers everywhere. It's an output node, meaning it's designed to sit at the end of a chain and show you something - the ComfyUI equivalent of a "print to screen" for the Artha pipeline.

    Every Gemini node in this pack returns plain strings, and a lot of the pack's outputs are written to be human-readable - the markdown cheat-sheet outputs from Artha Gemini Camera, Light, and Scenery are literally markdown-formatted reference lists. This node is where those go when you want to see them as formatted documents rather than raw text.

    What it does

    The schema is about as minimal as a node gets:

    • response - a STRING input. Feed it any text, markdown or not.
    • response - a STRING output, passing the same text through untouched.

    That's it. There's no API key, no Gemini dependency, no network call - the node just takes the string, hands it to the pack's front-end, and the front-end renders it. The pass-through output means you can tee the display up mid-pipeline without breaking the data flow: show the markdown to yourself and continue passing the string downstream. That's the genuinely nice trick - a display node that doesn't force you to choose between seeing output and using output.

    Where it fits

    You'll reach for it in three spots:

    1. After a vision node. Artha Gemini Motion or any image-describing node returns a paragraph you want to actually read. Route it here.
    2. After the scene-settings nodes. Camera, Light, and Scenery all emit a markdown reference sheet of their dropdown options. This is the node that renders it nicely.
    3. Anywhere you want a human-readable log. Wire in a traits output from Artha Gemini Portrait or Compose to see exactly what property list went into the prompt - the best debugging move in the whole pack, honestly.

    It pairs with its sibling Artha Gemini Response, which does the same display job but strips out * and # characters instead of rendering them. Response gives you clean plain text; Markdown gives you formatting. Pick based on whether the content is meant to be read as a document or pasted into a prompt encoder.

    The only gotcha

    It's a viewer, so it won't save you from bad data. If the upstream node returned an empty string (the pack's signature failure mode - API errors get printed to the ComfyUI console and an empty string comes back), this node faithfully displays an empty box. It doesn't throw, and it doesn't tell you anything went wrong. An empty display is your clue to check the console.

    Also, being an output node means it has a force_input-style relationship with its input - wire something in and you're done; there's nothing else to configure.

    Install

    Comes with the whole πŸ”± pack:

    cd ComfyUI/custom_nodes
    git clone https://github.com/Cyrostar/ComfyUI-Artha-Nodes
    cd ComfyUI-Artha-Nodes
    pip install -r requirements.txt
    

    Restart ComfyUI, or install "Artha" via ComfyUI Manager. No key needed - this one's free, local, and safe to use even before you've set up Gemini.

    CategoryArtha/LLM/Gemini

    Inputs (1)

    NameTypeDefaultDescription
    responseSTRINGβ€”

    Outputs (1)

    NameTypeDescription
    responseSTRINGβ€”