⌖ Markdown tools for modular docs.
Project description
Powerful markdown tools for modern documentation
Build, manage, and scale your documentation workflows.
What is Splitme?
Splitme is a comprehensive Python toolkit designed to streamline your Markdown workflow. Whether you're managing documentation, writing technical content, or maintaining a knowledge base, Splitme provides essential utilities to make working with Markdown files easier and more efficient.
Core Features:
- Text Splitting: Break down large Markdown files into manageable sections based on headings or custom rules.
- Link Management: Convert between inline and reference-style links, validate URLs, and identify broken links.
- Content Analysis: Analyze document structure, extract metadata, and ensure consistent formatting.
- Documentation Tools: Generate configurations for static site generators like MkDocs and maintain organized documentation.
Quick Start
Installation
Install from PyPI using your preferred package manager.
pip
Use pip (recommended for most users):
pip install -U splitme
pipx
Install in an isolated environment with pipx:
❯ pipx install splitme
uv
For the fastest installation use uv:
❯ uv tool install splitme
Using the CLI
Text Splitting
Split large Markdown files into smaller, organized sections:
splitme \
--split.i tests/data/markdown/readme-ai.md \
--split.o docs/examples/split-sections-h2
Link Validation
Check for broken links in your documentation:
splitme --check-links.input tests/data/markdown/pydantic.md
You will see a summary of the broken links in your terminal:
Markdown Link Check Results
┏━━━━━━━━┳━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Status ┃ Line ┃ Link ┃ Error ┃
┡━━━━━━━━╇━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ ✓ │ 2 │ https://img.shields.io/github/actions/workflow/status/pydantic/pydantic/ci.yml?b… │ │
│ ✓ │ 3 │ https://coverage-badge.samuelcolvin.workers.dev/pydantic/pydantic.svg │ │
│ ✓ │ 4 │ https://img.shields.io/pypi/v/pydantic.svg │ │
│ ✓ │ 5 │ https://img.shields.io/conda/v/conda-forge/pydantic.svg │ │
│ ✓ │ 6 │ https://static.pepy.tech/badge/pydantic/month │ │
│ ✓ │ 7 │ https://img.shields.io/pypi/pyversions/pydantic.svg │ │
│ ✓ │ 8 │ https://img.shields.io/github/license/pydantic/pydantic.svg │ │
│ ✓ │ 9 │ https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/pydantic/p… │ │
│ ✓ │ 18 │ https://pydantic.dev/articles/logfire-announcement │ │
│ ✓ │ 24 │ https://docs.pydantic.dev/ │ │
│ ✓ │ 24 │ https://github.com/pydantic/pydantic/tree/1.10.X-fixes │ │
│ ✓ │ 28 │ https://docs.pydantic.dev/ │ │
│ 𝗫 │ 34 │ https://docs.pydantic.dev/install/invalid-link │ HTTP 404 │
└────────┴──────┴───────────────────────────────────────────────────────────────────────────────────┴──────────┘
Summary: 1 broken links out of 13 total links.
Reference Link Conversion
Convert inline links to reference-style for better maintainability:
splitme --reflinks.input tests/data/markdown/pydantic.md --reflinks.output with_refs.md
Static Site Documentation Generation
Generate a MkDocs configuration mkdocs.yml file from a Markdown document:
splitme \
--split.i tests/data/markdown/readme-ai.md \
--split.o docs/examples/split-sections-h2 \
--mkdocs.dir docs/examples/split-sections-h2 \
--mkdocs.site-name "MyDocs"
View the output of all examples above here.
Roadmap
- Support for additional documentation formats (e.g., reStructuredText, HTML)
- Add more intuitive CLI commands and options.
- Integration with more static site generators
- Plugin system for custom utilities
- Enhanced content analysis features
Contributing
Contributions are welcome! Whether it's bug reports, feature requests, or code contributions, please feel free to:
- Open an issue
- Submit a pull request
- Improve documentation
- Share your ideas
License
Splitme is released under the MIT license Copyright © 2024-2025 Splitme
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 splitme-0.1.11.tar.gz.
File metadata
- Download URL: splitme-0.1.11.tar.gz
- Upload date:
- Size: 217.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
474cbbdea2a44462e42abf5d981b09189b2e14b99575af446ecabe775630c7e8
|
|
| MD5 |
c0f5e886d991ae0d858ca2696003c77d
|
|
| BLAKE2b-256 |
fdb470a082c3f062519c7a2ae788b3217a03c88dc558bb5ed5a7b5008ff460f1
|
Provenance
The following attestation bundles were made for splitme-0.1.11.tar.gz:
Publisher:
ci.yml on eli64s/splitme
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
splitme-0.1.11.tar.gz -
Subject digest:
474cbbdea2a44462e42abf5d981b09189b2e14b99575af446ecabe775630c7e8 - Sigstore transparency entry: 164357983
- Sigstore integration time:
-
Permalink:
eli64s/splitme@63cec75560a150111da958c513878a4a696703b6 -
Branch / Tag:
refs/tags/v0.1.12 - Owner: https://github.com/eli64s
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@63cec75560a150111da958c513878a4a696703b6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file splitme-0.1.11-py3-none-any.whl.
File metadata
- Download URL: splitme-0.1.11-py3-none-any.whl
- Upload date:
- Size: 26.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22d6f75a6007f55d532c91b4a8f016e0cea30736610610e7d246cfe389d4e850
|
|
| MD5 |
fee7490c1374a59ad31fd8488ca06678
|
|
| BLAKE2b-256 |
534b31d3d7a2060391b3d1e6fed7d31424422d928aefb8ee5d0dce60ad16e771
|
Provenance
The following attestation bundles were made for splitme-0.1.11-py3-none-any.whl:
Publisher:
ci.yml on eli64s/splitme
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
splitme-0.1.11-py3-none-any.whl -
Subject digest:
22d6f75a6007f55d532c91b4a8f016e0cea30736610610e7d246cfe389d4e850 - Sigstore transparency entry: 164357984
- Sigstore integration time:
-
Permalink:
eli64s/splitme@63cec75560a150111da958c513878a4a696703b6 -
Branch / Tag:
refs/tags/v0.1.12 - Owner: https://github.com/eli64s
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@63cec75560a150111da958c513878a4a696703b6 -
Trigger Event:
push
-
Statement type: