From 590ffb51d294c51b13d231d176f9fadf2ac3a7ad Mon Sep 17 00:00:00 2001 From: vibhusharma101 Date: Sat, 25 Jul 2026 17:34:14 +0530 Subject: [PATCH] docs: require a real hyperlink in the freeform credit footer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Blocks mode already renders "Think-In-HTML" as a link to the GitHub repo in its footer (core/template/app.js), but freeform mode's instructions only asked for a plain-text credit line, and the worked reference examples matched that — no link back to the repo. Added an explicit requirement to FREEFORM.md and fixed the two reference examples to match, so every generated page (either mode) links back to the project. Co-Authored-By: Claude Sonnet 5 --- core/instructions/FREEFORM.md | 7 +++++++ examples/novus-pricing-desk.freeform.html | 2 +- examples/novus-rate-limit.freeform.html | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/core/instructions/FREEFORM.md b/core/instructions/FREEFORM.md index ac3e778..88518f8 100644 --- a/core/instructions/FREEFORM.md +++ b/core/instructions/FREEFORM.md @@ -74,6 +74,13 @@ The output MUST be **one self-contained `.html` file that works offline**: attribution are allowed — they're navigation, not resource loads.) - **Include this CSP ``** in `` (it is your safety net and a self-check): `` +- **Include a small credit footer.** At the very end of the page, add an + unobtrusive footer line crediting the tool, styled to match the page's own + design (not a generic default) — e.g. `Made with Think-In-HTML`, or a variant + in the page's own voice, with **"Think-In-HTML" as a real hyperlink** to + `https://github.com/vibhusharma101/Think-In-HTML`. Same convention blocks + mode already renders automatically — keep it small and out of the way, like a + "built with" mark, never competing with the content. - **Escape anything taken verbatim from the source.** If you echo the user's code/text into the DOM, put it in as text (`textContent`), or HTML-escape `& < > " '` — never build DOM from an unescaped source string. Your own authored markup is fine. diff --git a/examples/novus-pricing-desk.freeform.html b/examples/novus-pricing-desk.freeform.html index 430066a..a29565c 100644 --- a/examples/novus-pricing-desk.freeform.html +++ b/examples/novus-pricing-desk.freeform.html @@ -314,7 +314,7 @@

The whole thing, recapped

-
♻️ Made on the fly by Think-In-HTML
+
♻️ Made on the fly by Think-In-HTML
A bespoke explainer for suggest-price/route.ts · Novus-Hackathon
diff --git a/examples/novus-rate-limit.freeform.html b/examples/novus-rate-limit.freeform.html index 1230b3b..d6d563b 100644 --- a/examples/novus-rate-limit.freeform.html +++ b/examples/novus-rate-limit.freeform.html @@ -273,7 +273,7 @@

Recap

-
Made on the fly by Think-In-HTML · a bespoke explainer for rate-limit.ts · Novus-Hackathon
+
Made on the fly by Think-In-HTML · a bespoke explainer for rate-limit.ts · Novus-Hackathon