MarkdownFileReader
Overview
MarkdownFileReader is a class in Aspose.Words FOSS for Python.
Reads Markdown (.md) files and yields one Paragraph per line.
This class provides 5 methods for working with MarkdownFileReader objects in Go programs.
Available methods include: __init__, load_bytes, load_file, load_stream, to_light_document.
All exported members are accessible to any Go application after adding the package via go get github.com/aspose-pdf-foss/aspose-pdf-foss-for-go.
Methods
| Signature | Description |
|---|---|
__init__() | |
load_file(filepath: Union[str, Path]) | Load a .md file from filepath. |
load_stream(stream: BinaryIO) | Load from a binary stream. |
load_bytes(data: bytes) | Load from raw bytes. |
to_light_document() → ldm.Document | Build a light_document_model.Document from the loaded Markdown. |