Metadata-Version: 2.1
Name: strip_markdown
Version: 1.0
Summary: Converts markdown to plain text
Home-page: https://github.com/D3r3k23/strip_markdown
Author: Derek Henderson
Author-email: derekhenderson818@gmail.com
License: MIT License
Project-URL: Issues, https://github.com/D3r3k23/strip_markdown/issues
Keywords: markdown,md
Platform: OS Independent
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE.txt

# strip_markdown

[![PyPI](https://badge.fury.io/py/strip_markdown.svg)](https://pypi.org/project/strip_markdown)
[![ci](https://github.com/D3r3k23/strip_markdown/actions/workflows/ci.yaml/badge.svg)](https://github.com/D3r3k23/strip_markdown/actions/workflows/ci.yaml)

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

## Installation

`$ pip install strip_markdown`

## Usage

### Command line
`$ python -m strip_markdown MD_fn [TXT_fn]`

### Library
```python
>>> 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`


