Behind the scenes: how we made shared docs readable by AI assistants

· He.art

A violet symbol of six curved petals, like a camera's aperture, on a black background
A violet symbol of six curved petals, like a camera's aperture, on a black background · Made by AI

When you share a chat or a doc on He.art, anyone with the link can read it, and more and more often the "anyone" is an AI assistant: someone pastes your link into Gemini or ChatGPT and asks what it says. On Nov 20, 2026 we learned that one of them could not see a word of a shared doc. This is the story of why, and of the two small changes that fixed it.

The text was there, just too far down

We asked Gemini about one of our own shared docs, and it described He.art's front page instead: the signed-out welcome, then the Wallet, and nothing of the doc.

That was puzzling at first, because He.art already writes a shared doc's text straight into the page on our server. A visitor who is not signed in gets the whole doc in the HTML, so nothing has to run in the browser before the words exist. Search engines rely on that, and so does anyone reading with JavaScript turned off.

The trouble was where in the page the text sat. He.art is one page that holds everything: the signed-out welcome, the whole app (hidden until you sign in), and the shared view. The doc's text came after all of it, about 388 KB into the page. A reader that runs no JavaScript and reads only the start of a page, which is how Gemini behaved here, stopped long before it got there.

First change: the doc comes first

The first fix moved the shared view to the very top of the page's body, before the welcome and the hidden app. In the browser nothing looks different, because the shared view is drawn above everything else anyway, but in the HTML the doc now comes first.

We shipped it that evening and asked Gemini again. It still saw only the front page.

Second change: the styles move out

Looking again, we found that the body itself did not begin until 292 KB into the page. Above it, in the page's head, sat one stylesheet of about 275 KB: every rule for every screen in He.art, written inline. Moving the doc to the top of the body had not helped much when the body started so far down.

So the second fix, shipped the same night, takes that stylesheet out of a shared page and serves it as a file of its own. Its name is made from its contents (a short fingerprint of the rules, something like /_app/<fingerprint>.css), which lets browsers keep it for a year: when the rules change, the name changes with them, so nobody is ever served stale styles. The signed-in app keeps its styles inline, as before.

Today, Nov 25, 2026, the shared doc we first tried begins its text about 18 KB into the page, where it used to be about 388 KB in.

Check a page of your own

You can see this for yourself. Open a doc you have shared, while signed out (a private window works), and view the page's source (in Chrome, Ctrl+U on Windows or Option+Command+U on a Mac). Just under the opening of the body you will find the doc's title and then its text, before anything else He.art draws.

Try it

Write a doc in He.art, share it the way our guide to sharing shows, and paste the link into your favorite assistant. It should now read your words, not our front page.

More from the blog