LLM fragment loader which converts various formats to Markdown.
Project description
llm-fragments-markitdown
LLM fragment loader which converts various formats to Markdown.
Installation
Install this plugin in the same environment as LLM.
llm install llm-fragments-markitdown
Usage
Use the fragment loader like this:
llm -f md:path/to/file.html
llm -f md:https://simonwillison.net/2025/Apr/7/long-context-llm/
This will use the MarkItDown library to convert the argument into Markdown.
While this supports various formats out-of-the-box, more can be added as optional dependencies, for example:
llm install markitdown[all] # Installs all optional dependencies
llm install markitdown[pdf, youtube-transcription] # Installs just the PDF and YouTube transcript readers.
Development
To contribute to this tool, use uv. The following command will establish the venv and run tests:
uv run pytest
To run llm-fragments-markitdown locally, use:
uv run llm-fragments-markitdown
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llm_fragments_markitdown-0.1.0.tar.gz.
File metadata
- Download URL: llm_fragments_markitdown-0.1.0.tar.gz
- Upload date:
- Size: 40.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a890424f1bc5fe7e6c987a5446f0e499b1b726bebeb89d89ea72035763ff076
|
|
| MD5 |
a619d9c38ccdefe1cd5dad9ae26b4d09
|
|
| BLAKE2b-256 |
55f46244331cadd7795be64ac6186e173b56e1ecd3debf7200fce0e7978e34a6
|
Provenance
The following attestation bundles were made for llm_fragments_markitdown-0.1.0.tar.gz:
Publisher:
publish.yml on wolfmanstout/llm-fragments-markitdown
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llm_fragments_markitdown-0.1.0.tar.gz -
Subject digest:
3a890424f1bc5fe7e6c987a5446f0e499b1b726bebeb89d89ea72035763ff076 - Sigstore transparency entry: 203436978
- Sigstore integration time:
-
Permalink:
wolfmanstout/llm-fragments-markitdown@3848d81825117d4d3b206270bb9733437b8b7de9 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/wolfmanstout
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3848d81825117d4d3b206270bb9733437b8b7de9 -
Trigger Event:
release
-
Statement type:
File details
Details for the file llm_fragments_markitdown-0.1.0-py3-none-any.whl.
File metadata
- Download URL: llm_fragments_markitdown-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7498025904fea13aa79f12f60d17cadbd5a76cf8a54892c0561cbac33a0c182
|
|
| MD5 |
5cf17b196de0d3e0d7329cff41c657df
|
|
| BLAKE2b-256 |
946dd8197ffe92c69342c95b929067abfabb71ecf8a4b3d3e8660f3e28195ee2
|
Provenance
The following attestation bundles were made for llm_fragments_markitdown-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on wolfmanstout/llm-fragments-markitdown
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llm_fragments_markitdown-0.1.0-py3-none-any.whl -
Subject digest:
b7498025904fea13aa79f12f60d17cadbd5a76cf8a54892c0561cbac33a0c182 - Sigstore transparency entry: 203436981
- Sigstore integration time:
-
Permalink:
wolfmanstout/llm-fragments-markitdown@3848d81825117d4d3b206270bb9733437b8b7de9 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/wolfmanstout
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3848d81825117d4d3b206270bb9733437b8b7de9 -
Trigger Event:
release
-
Statement type: