Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CreateFootnoteRequest

import type { CreateFootnoteRequest } from "https://googleapis.deno.dev/v1/docs:v1.ts";

Creates a Footnote segment and inserts a new FootnoteReference to it at the given location. The new Footnote segment will contain a space followed by a newline character.

interface CreateFootnoteRequest {
endOfSegmentLocation?: EndOfSegmentLocation;
location?: Location;
}

§Properties

§
endOfSegmentLocation?: EndOfSegmentLocation
[src]

Inserts the footnote reference at the end of the document body. Footnote references cannot be inserted inside a header, footer or footnote. Since footnote references can only be inserted in the body, the segment ID field must be empty.

§
location?: Location
[src]

Inserts the footnote reference at a specific index in the document. The footnote reference must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table's start index (i.e. between the table and its preceding paragraph). Footnote references cannot be inserted inside an equation, header, footer or footnote. Since footnote references can only be inserted in the body, the segment ID field must be empty.