Fast Markdown Stripper
Project description
qstrip
A fast Markdown stripper with a C backend.
Installation
pip install qstrip
Usage
from qstrip import strip_markdown
with open('markdown_file.md', 'r') as f:
content = f.read()
stripped_content = strip_markdown(content)
print(stripped_content)
Current and planned features
- Strip headings
- Strip bold tags
- Strip italic tags
- Strip strikethrough tags
- Strip code blocks
- Strip inline code
- Strip links
- Strip images
- Strip tables
- Handle images inside links
- Strip lists
- Strip blockquotes
- Handle escape sequences
- Support other markup formats (e.g., reStructuredText, HTML/XML)
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
qstrip-0.1.1.tar.gz
(7.8 kB
view details)
File details
Details for the file qstrip-0.1.1.tar.gz.
File metadata
- Download URL: qstrip-0.1.1.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffb0ef01d3500dd6a0d9e6973c8aeaca714f1ea6efacf52d9fab99a60932bdfe
|
|
| MD5 |
eb3fb11a6c0d26b88040ade6eb7b143d
|
|
| BLAKE2b-256 |
86ed5982814ceb2e95b70b81c98bceb9433a3064a7164101a8d7c54bca32f9a0
|
Provenance
The following attestation bundles were made for qstrip-0.1.1.tar.gz:
Publisher:
python-publish.yml on carl-vbn/qstrip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qstrip-0.1.1.tar.gz -
Subject digest:
ffb0ef01d3500dd6a0d9e6973c8aeaca714f1ea6efacf52d9fab99a60932bdfe - Sigstore transparency entry: 364313843
- Sigstore integration time:
-
Permalink:
carl-vbn/qstrip@b23961537cc2f90baac88fcad96dc5a560197243 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/carl-vbn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@b23961537cc2f90baac88fcad96dc5a560197243 -
Trigger Event:
release
-
Statement type: