inline_image method

inline_image

Creates InlineImageSyntaxNode.

Returns

The InlineImageSyntax.

def inline_image(self, alt_text, href, title):
    ...
ParameterTypeDescription
alt_textstrThe alternative text.
hrefstrThe URL of image.
titlestrThe title.

inline_image

Creates InlineImageSyntaxNode.

Returns

The InlineImageSyntax.

def inline_image(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