Living Papers API Inspector

This page loads an exported API module as a dynamic JavaScript import:

const { default: api } = await import(`../living-papers/api.mjs`);

The page then queries the API for paper content. For example, to extract a figure and caption it invokes:

api.figureImage(index)
api.figureCaption(index)


Article: