For AI agents: an LLM-friendly Markdown version of every page is available by appending .md to its URL or by sending an Accept: text/markdown request header. The full documentation index is at https://www.ankr.com/docs/llms.txt
Skip to main content

Markdown twins now carry complete code samples

Docs Team

If you read our docs as Markdown rather than HTML, some code samples were arriving incomplete. Every import line in a JavaScript or TypeScript sample was being dropped from the Markdown twin and from llms-full.txt. That is fixed, and the API Reference twin now resolves instead of returning an error.

Docs

  • Code samples are complete again. The Markdown twin of each page (<page-url>index.md) and the concatenated llms-full.txt are generated from the page source. The step that removes page-level component imports was also reaching into fenced code blocks and deleting sample lines that happened to start with import. Tutorials were hit hardest: the crowdfunding dApp walkthrough lost the first lines of most of its files, so copying a sample out of the Markdown gave you code that would not run. The HTML pages were never affected.
  • The API Reference Markdown twin resolves. llms.txt listed api-reference/index.md, but the twin was being written to a different path, so that one entry returned an error. It now sits at the URL the index advertises.

Worth checking on your side

If you cached our Markdown twins or llms-full.txt, refetch them. Anything you generated from a cached copy of a tutorial may be missing import lines. Nothing about the HTML docs, the RPC methods, error codes or rate limits changed.