Skip to main content

strip_markdown

PyPI ci

Converts markdown to plain text, including both a command line interface and importable library

Example

Markdown


Title

Section

This is a line of text

Bold text


Markdown source


# Title

## Section

This is a line of text

**Bold text**

Text


Title
Section
This is a line of text
Bold text

Installation

$ pip install strip_markdown

Usage

Command line

$ python -m strip_markdown MD_fn [TXT_fn]

Library

>>> import strip_markdown
>>>
>>> TXT: str = strip_markdown.strip_markdown(MD: str)
>>> strip_markdown.strip_markdown_file(MD_fn: str, TXT_fn: Optional[str])
  • TXT_fn is optional: default is <MD_fn>.md -> <MD_fn>.txt
  • If TXT_fn is a directory, <MD_fn>.txt is placed in that directory

Metadata

Release files for strip-markdown 1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for strip-markdown 1.3
File Size Uploaded Provenance Actions
strip_markdown-1.3.tar.gz 3.3 kB Without provenance Details for strip_markdown-1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for strip-markdown 1.3
File Interpreter ABI Platform Actions
strip_markdown-1.3-py3-none-any.whl Python 3 none any Details for strip_markdown-1.3-py3-none-any.whl

Total release size: 7.3 kB

Release files / strip_markdown-1.3.tar.gz

Download URL strip_markdown-1.3.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ead579d7ed53935512e23187565a71b57b90b540096984f2b567829a53a3b852
BLAKE2b-256 checksum
How to use checksums
6aaa857c3a339e520cc730815c1d90fac2fcc42903d338ca5d0543d02c8153f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / strip_markdown-1.3-py3-none-any.whl

Download URL strip_markdown-1.3-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bfe3217310db3d2bb19e456d5d896d3d9798d70f08da9f56e75bde812d0e5507
BLAKE2b-256 checksum
How to use checksums
052179a6c7fbe0a761dc3dffcf6349dd4699173088ece8ebc24c602ec6ddd9c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Security for strip-markdown 1.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page