Copy for LLMs
Give this documentation, or a Google Doc, to an LLM as clean Markdown
LLMs such as Claude or ChatGPT read Markdown far better than a copied web page or a Word-style document: headings, lists, tables and code blocks keep their structure, and no navigation, styling or long URLs waste the context window. This site, and the Google Docs we write alongside it, can both be handed to an LLM as Markdown.
Copy a page of this site
Section titled “Copy a page of this site”- Copy for LLMs: the button under the title of every page copies the page as Markdown (title, description and content). Paste it into the LLM.
- View as Markdown: every page is also served as a Markdown file: replace the trailing slash of the page address with
.md, so…/some-page/becomes…/some-page.md. - llms.txt:
llms.txtlists every page of the site with a link to its Markdown file, following the llms.txt convention. Give its address to an LLM or agent that can browse. - llms-full.txt:
llms-full.txtis the whole site in one Markdown file, for a tool that should read all of it at once. - OpenAPI documents: the API reference is generated from three OpenAPI files, which an LLM or agent can read directly:
events.json,customer-api.jsonandcontacts-api.json.
Export a Google Doc as Markdown (Google Docs Copy for LLMs)
Section titled “Export a Google Doc as Markdown (Google Docs Copy for LLMs)”Specs, analyses and meeting notes often start in Google Docs. To give one to an LLM, or to move it into this documentation, export it as Markdown with the Better Google Docs Copy Chrome extension (its project is called “Google Docs Copy for LLMs”):
- Install it from the Chrome Web Store.
- Open the Google Doc and click Copy for LLM.
- The first time, sign in with your Google account and allow access. The extension reads the document through the Google Docs API and its comments through the Google Drive API.
- Choose whether to copy the selected text or the whole document, then paste the Markdown where you need it.
What it adds over a plain copy:
- Comments: comment threads come along with the passage they were left on, so the LLM sees the review discussion too.
- Images: Google’s very long image URLs are replaced with short references, so they do not fill the context window.
- Options (right-click the extension icon, then Options): heading style (ATX
# Headingor Setext), comment format (XML tags, blockquote or quoted context) and whether resolved comments are included.
The extension runs in the browser and only talks to Google’s APIs. Before pasting a document into an external LLM, check that it holds no customer data, credentials or other information that must not leave the company.
Without the extension
Section titled “Without the extension”Google Docs can export Markdown itself, without comments:
- Whole document: File → Download → Markdown (.md).
- A selection: turn on Tools → Preferences → Enable Markdown, then use Edit → Copy as Markdown.
Move a Google Doc into this documentation
Section titled “Move a Google Doc into this documentation”- Export the doc as Markdown as described above (leave comments out, or resolve them first).
- Save it as a new
.mdfile undersrc/content/docs/, withtitleanddescriptionfront matter. - Add the page to the
sidebarinastro.config.mjs, and open a pull request.