MarkdownLabels
Defined in: react/src/markdown.tsx:42
Every word the renderer shows or reads out. Pass only the ones to change.
Properties
Section titled “Properties”copied
Section titled “copied”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
Section titled “copyFailed”copyFailed: string;Defined in: react/src/markdown.tsx:50
The copy button when the browser refused to copy.
copyFailedHelp
Section titled “copyFailedHelp”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
Section titled “copying”copying: string;Defined in: react/src/markdown.tsx:46
The copy button while the browser is writing to the clipboard.
footnoteBack
Section titled “footnoteBack”footnoteBack: string;Defined in: react/src/markdown.tsx:62
The link from a footnote back to where the text cites it.
footnotes
Section titled “footnotes”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
Section titled “newTab”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
Section titled “source”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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
marker |
string |
title |
string |
Returns
Section titled “Returns”string