inline_link method

inline_link

Creates InlineLink.

Returns

The LinkReferenceDefinitionSyntax.

def inline_link(self, text, destination, title):
    ...
ParameterTypeDescription
textstrThe link text.
destinationstrThe string destination.
titlestrThe string title.

inline_link

Creates InlineLinkSyntaxNode.

Returns

The InlineLinkSyntax.

def inline_link(self, content_opening, content_closing, declaration_opening, destination, title, declaration_closing):
    ...
ParameterTypeDescription
content_openingMarkdownSyntaxTokenThe contentOpening.
content_closingMarkdownSyntaxTokenThe contentClosing.
declaration_openingMarkdownSyntaxTokenThe declarationOpening.
destinationLinkDestinationSyntaxNodeThe destination.
titleLinkTitleSyntaxNodeThe title.
declaration_closingMarkdownSyntaxTokenThe declarationClosing.

See Also