> ## Documentation Index
> Fetch the complete documentation index at: https://superdoc-caio-pizzol-docs-ai-core-preset.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Footnote extension

export const SourceCodeLink = ({extension, path}) => {
  const githubPath = path || `packages/super-editor/src/editors/v1/extensions/${extension.toLowerCase()}`;
  const githubUrl = `https://github.com/superdoc-dev/superdoc/tree/main/${githubPath}`;
  return <div>
      <p>
        <a href={githubUrl} target="_blank" rel="noopener noreferrer">
          View on GitHub →
        </a>
      </p>
    </div>;
};

Render Word footnote references as superscript markers with automatic numbering.

Footnotes imported from Word documents display as clickable superscript numbers (e.g., <sup>1</sup>, <sup>2</sup>) that correspond to footnote content at the bottom of the page.

<Info>
  Footnote references are managed automatically during Word document import and export. There are no commands to programmatically create footnotes.
</Info>

## Word export

Footnote references export as native Word footnotes:

```xml theme={null}
<w:r>
  <w:footnoteReference w:id="1"/>
</w:r>

<!-- In footnotes.xml -->
<w:footnote w:id="1">
  <w:p>
    <w:r><w:t>Footnote text content</w:t></w:r>
  </w:p>
</w:footnote>
```

## Source code

<SourceCodeLink path="packages/super-editor/src/editors/v1/extensions/footnote/footnote.js" />
