Converts markdown to plain text
Likely abandoned. No release or commit for years (last release over 4 years ago).
$
pip install strip-markdownstrip_markdown
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_fnis optional: default is<MD_fn>.md -> <MD_fn>.txt- If
TXT_fnis a directory,<MD_fn>.txtis placed in that directory