atx_heading method

atx_heading

Creates AtxHeadingSyntaxNode with text content.

Returns

The AtxHeadingSyntax.

def atx_heading(self, text):
    ...
ParameterTypeDescription
textstrThe heading text content.

atx_heading

Creates AtxHeadingSyntaxNode with text content and heading level.

Returns

The AtxHeadingSyntax.

def atx_heading(self, text, level):
    ...
ParameterTypeDescription
textstrThe heading text content.
levelintThe heading level value.

atx_heading

Creates AtxHeadingSyntaxNode.

Returns

The AtxHeadingSyntax.

def atx_heading(self, opening, closing):
    ...
ParameterTypeDescription
openingMarkdownSyntaxTokenThe opening token.
closingMarkdownSyntaxTokenThe closing token.

See Also