convert_markdown method
Contents
[
Hide
]convert_markdown
Convert Markdown source to html. Result is HTMLDocument.
Returns
Conversion result HTMLDocument.
def convert_markdown(self, source_path):
...
| Parameter | Type | Description |
|---|---|---|
| source_path | str | Path to source Markdown file. It will be combined with the current directory path to form an absolute URL. |
convert_markdown
Convert Markdown source to html. Result is HTMLDocument.
Returns
Conversion result HTMLDocument.
def convert_markdown(self, stream, base_uri):
...
| Parameter | Type | Description |
|---|---|---|
| stream | io.RawIOBase | Conversion source. |
| base_uri | str | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
convert_markdown
Convert Markdown source to html. Result is HTMLDocument.
Returns
Conversion result HTMLDocument.
def convert_markdown(self, source_path, configuration):
...
| Parameter | Type | Description |
|---|---|---|
| source_path | str | Path to source Markdown file. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
convert_markdown
Convert Markdown source to html. Result is html file.
def convert_markdown(self, source_path, output_path):
...
| Parameter | Type | Description |
|---|---|---|
| source_path | str | Path to source Markdown file. It will be combined with the current directory path to form an absolute URL. |
| output_path | str | Output file path. |
convert_markdown
Convert Markdown source to html. Result is HTMLDocument.
Returns
Conversion result HTMLDocument.
def convert_markdown(self, stream, base_uri, configuration):
...
| Parameter | Type | Description |
|---|---|---|
| stream | io.RawIOBase | Conversion source. |
| base_uri | str | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
convert_markdown
Convert Markdown source to html. Result is html file.
def convert_markdown(self, stream, base_uri, output_path):
...
| Parameter | Type | Description |
|---|---|---|
| stream | io.RawIOBase | Conversion source. |
| base_uri | str | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| output_path | str | Output file path. |
convert_markdown
Convert Markdown source to html. Result is html file.
def convert_markdown(self, source_path, configuration, output_path):
...
| Parameter | Type | Description |
|---|---|---|
| source_path | str | Path to source Markdown file. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
| output_path | str | Output file path. |
convert_markdown
Convert Markdown source to html. Result is html file.
def convert_markdown(self, stream, base_uri, configuration, output_path):
...
| Parameter | Type | Description |
|---|---|---|
| stream | io.RawIOBase | Conversion source. |
| base_uri | str | The base URI of the document. It will be combined with the current directory path to form an absolute URL. |
| configuration | Configuration | The environment configuration. |
| output_path | str | Output file path. |
See Also
- module
aspose.html.converters - class
Converter - class
HTMLDocument