
## atx_heading {#str}

Creates AtxHeadingSyntaxNode with text content.


### Returns 


The AtxHeadingSyntax.


```python
def atx_heading(self, text):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| text | str | The heading text content. |


## atx_heading {#str-int}

Creates AtxHeadingSyntaxNode with text content and heading level.


### Returns 


The AtxHeadingSyntax.


```python
def atx_heading(self, text, level):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| text | str | The heading text content. |
| level | int | The heading level value. |


## atx_heading {#aspose.html.toolkit.markdown.syntax.MarkdownSyntaxToken-aspose.html.toolkit.markdown.syntax.MarkdownSyntaxToken}

Creates [`AtxHeadingSyntaxNode`](/html/python-net/aspose.html.toolkit.markdown.syntax/atxheadingsyntaxnode).


### Returns 


The AtxHeadingSyntax.


```python
def atx_heading(self, opening, closing):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| opening | [`MarkdownSyntaxToken`](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtoken) | The opening token. |
| closing | [`MarkdownSyntaxToken`](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtoken) | The closing token. |



### See Also
* module [`aspose.html.toolkit.markdown.syntax`](../../)
* class [`AtxHeadingSyntaxNode`](/html/python-net/aspose.html.toolkit.markdown.syntax/atxheadingsyntaxnode)
* class [`MarkdownSyntaxFactory`](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxfactory)
