A tiny script with a very loose grip on the pen.
Make words feel a little more alive.
Text-aware
CMS-ready
Reversible
Color-variable friendly
The basic move
Point at copy. Doods handles the markup.
We Deliver HVAC Solutions
That Fuel Ambition
The target can live inside a child element. Its original emphasis, capitalization, and surrounding layout remain intact.
Live playground
Change the attributes, not the layout.
Every control below writes the same bare custom attributes you will add in Webflow.
Good ideas become loud ideas when you mark them up.
The marks
A small drawer full of gestures.
Name one explicitly with doods-dood. The auto system uses
circles for compact words and three underline shapes for wider phrases.
Stack the idea
More than one mark? Number the whole family.
Keep the first set unnumbered. Then append -2, -3, and so on to every companion attribute. Gaps are fine; the scanner discovers every target independently.
Draw under this
and around that.
doods-target-2="around"
Attribute reference
Five attributes. Plain HTML.
doods-target
Literal word or phrase to find in descendant text.
requireddoods-match
first, last, all, or a one-based index.
firstdoods-dood
Sketch name. Leave blank or use auto for a smart fit.
autodoods-color
Any CSS color, including var(--your-color).
currentColordoods-style
Extra inline CSS declarations applied directly to the SVG.
blankStatic-host ready
Build once. Serve one file.
<script defer src="https://doods.nvm.work/doods.iife.js"></script>
The production build also includes an ES module at doods.nvm.work/doods.es.js. Both bundles are dependency-free and served globally from Cloudflare.