langchain-jostack-mdparse
A LangChain Document Loader for jostack-mdparse.
Installation
pip install langchain-jostack-mdparse
Quick Start
from langchain_jostack_mdparse import MarkdownExtractLoader
# Load a single file
loader = MarkdownExtractLoader("README.md")
docs = loader.load()
# Load with options
loader = MarkdownExtractLoader(
"docs/guide.md",
heading_level="1,2",
strip_html=True,
split_sections=True,
)
docs = loader.load()
# Load multiple files
loader = MarkdownExtractLoader(["a.md", "b.md"])
docs = loader.load()
Parameters Reference
| Parameter | Type | Default | Description |
|---|---|---|---|
file_path |
str | Path | List |
— | (Required) Path to Markdown file(s) |
split_sections |
bool |
True |
Split output into per-section Documents |
| format | str | "text" | Output format. Values: json, text, html. Default: json |
| quiet | bool | False | Suppress console logging output |
| heading_level | str | None | Filter by heading levels (comma-separated, e.g. '1,2,3'). Default: all levels |
| sections | str | None | Extract only sections matching the given heading text (comma-separated). Case-insensitive substring match |
| include_frontmatter | bool | True | Include YAML/TOML frontmatter in output. Default: true |
| strip_html | bool | False | Strip inline HTML tags from Markdown content |
| include_code_blocks | bool | True | Include fenced code blocks in output. Default: true |
| include_toc | bool | False | Add a generated table of contents to the output |
| flatten_lists | bool | False | Flatten nested lists into a single level |
| section_separator | str | None | Separator between sections in text output. Use %section-title% for heading text. Default: none |
| normalize_links | bool | False | Convert relative links to absolute using the source file path |
| detect_tables | bool | False | Detect and extract Markdown tables as structured data |
Development
pip install -e .
make test
make lint
License
Metadata
Release files for langchain-jostack-mdparse 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| langchain_jostack_mdparse-0.4.0.tar.gz | 17.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| langchain_jostack_mdparse-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.0 kB
Release files / langchain_jostack_mdparse-0.4.0.tar.gz
| Download URL | langchain_jostack_mdparse-0.4.0.tar.gz |
|---|---|
| Size | 17.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db1f6fe1a6723085155808cf7e6bc4911c6b7c111d5c1fa6d9c65a9e62fcc162
|
|
BLAKE2b-256 checksum How to use checksums |
4bfdaf623dc4bbe505b585d17247d2c3168974a3f50cae06728c8a942942876a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 7, 2026.
Transparency logRelease files / langchain_jostack_mdparse-0.4.0-py3-none-any.whl
| Download URL | langchain_jostack_mdparse-0.4.0-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e3f974489f316453b15da37ce76e1783f7615616b0f499ec26f591db1f2c8ea
|
|
BLAKE2b-256 checksum How to use checksums |
8288400de1d089d1aa850d82d14ba357e8879d83ca95c2fbc4df0ba4afe186e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 7, 2026.
Transparency log