LLM documentation
The tldraw docs are available in formats built for large language models (LLMs): plain-text bundles you can hand to a coding assistant or agent, and a copy-as-markdown button on every article.
llms.txt
We publish tldraw.dev/llms.txt, following the llms.txt convention. It indexes the SDK feature articles, the examples, and the release notes, and links to several bundles of the same content. The bundles are regenerated on every docs build.
| File | Contents |
|---|---|
| llms.txt | Index with links to all resources |
| llms-full.txt | SDK feature articles, releases, and examples |
| llms-docs.txt | SDK feature articles only |
| llms-releases.txt | Release notes only |
| llms-examples.txt | Examples with full source code |
The guides in this section of the site (under /docs) aren't in the bundles. Use the copy button below for those.
Using llms.txt with AI assistants
When working with an AI coding assistant, you can provide context by including the relevant llms.txt file in your prompt or conversation. For example:
- Use
llms-docs.txtwhen asking about SDK features, APIs, or implementation patterns - Use
llms-examples.txtwhen looking for code examples or implementation references - Use
llms-releases.txtwhen asking about recent changes or migration between versions - Use
llms-full.txtwhen you need comprehensive context across all documentation
Many AI tools fetch URLs directly, so you can reference these files by URL in your prompts:
Read https://tldraw.dev/llms-docs.txt, then add a custom shape to my app.
Copy markdown button
Every article on tldraw.dev has a "Copy markdown" button in its header. Click it to copy the article as markdown, ready to paste into an LLM conversation. The copy keeps headings, code blocks, and links, and strips the site navigation.
Related
- AI integrations — Using the canvas with AI models: generated content, workflows, and agents
- Mermaid diagrams — Turning model-generated diagram text into shapes