Skip to content
providerkit
GitHub

MarkdownLabels

Defined in: react/src/markdown.tsx:42

Every word the renderer shows or reads out. Pass only the ones to change.

copied: string;

Defined in: react/src/markdown.tsx:48

The copy button for a moment after the code was copied.


copy: string;

Defined in: react/src/markdown.tsx:44

The copy button on a code block.


copyFailed: string;

Defined in: react/src/markdown.tsx:50

The copy button when the browser refused to copy.


copyFailedHelp: string;

Defined in: react/src/markdown.tsx:52

Read out when the browser refused to copy. The code is selected at that point.


copying: string;

Defined in: react/src/markdown.tsx:46

The copy button while the browser is writing to the clipboard.


footnoteBack: string;

Defined in: react/src/markdown.tsx:62

The link from a footnote back to where the text cites it.


footnotes: string;

Defined in: react/src/markdown.tsx:60

The hidden heading above a text’s footnotes.


image: string;

Defined in: react/src/markdown.tsx:56

Shown for a blocked image that has no alt text.


newTab: string;

Defined in: react/src/markdown.tsx:54

Read out with a link that opens in a new tab. An empty string says nothing.


source: (marker, title) => string;

Defined in: react/src/markdown.tsx:58

What a screen reader calls a citation, from its marker and its source’s title.

Parameter Type
marker string
title string

string