Share via


DocumentHyperlink interface

Hyperlink in a document, such as a link to a web page or an email address.

Properties

content

Hyperlinked content.

source

Position of the hyperlink.

span

Span of the hyperlink in the markdown content.

url

URL of the hyperlink.

Property Details

Hyperlinked content.

content: string

Property Value

string

Position of the hyperlink.

source?: string

Property Value

string

Span of the hyperlink in the markdown content.

span?: ContentSpan

Property Value

URL of the hyperlink.

url: string

Property Value

string