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
strip_markdown-1.3.tar.gz 3.3 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

1.3 This release

2 release files

1.2

2 release files

1.1

2 release files

1.0

2 release files

0.1

2 release files

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