Resources

Resource extensions resolve external content through an application-provided ResourceResolver. Installing an extension never grants filesystem or network authority by itself.

Extensions

  • Import: insert escaped source code.
  • Include: expand bounded Markdown resources.
  • Source: display annotated source excerpts.
  • Embeds: resolve allowlisted rich content.

Set origin, size, recursion, and content-type limits in the resolver. Read Security before enabling resource-backed behavior on untrusted input, and Errors for resolution failures.