Skip to main content

Fast Markdown Stripper

Project description

qstrip

GitHub stars Build Status License

A fast Markdown stripper with a C backend.

Installation

pip install git+https://github.com/carl-vbn/qstrip.git

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


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.0.tar.gz (6.9 kB view details)

Uploaded Source

File details

Details for the file qstrip-0.1.0.tar.gz.

File metadata

  • Download URL: qstrip-0.1.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for qstrip-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d9030574849ab5569de74cd5389400d14804e186518442d2a413acc404d8052e
MD5 ea744d01314fc1acf6f45ab0199f6917
BLAKE2b-256 32b535b68867fca02e0e92600de6c98f93fbf4557c536184c8d3a526f7908d5b

See more details on using hashes here.

Provenance

The following attestation bundles were made for qstrip-0.1.0.tar.gz:

Publisher: python-publish.yml on carl-vbn/qstrip

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page