Metadata-Version: 2.1
Name: markdown-analysis
Version: 0.0.2
Summary: A library to analyze markdown files
Home-page: https://github.com/yannbanas/mrkdwn_analysis
Author: yannbanas
Author-email: yannbanas@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.11
Description-Content-Type: text/markdown
License-File: LICENSE

# mrkdwn_analysis

`mrkdwn_analysis` is a Python library designed to analyze Markdown files. With its powerful parsing capabilities, it can extract and categorize various elements within a Markdown document, including headers, sections, links, images, blockquotes, code blocks, and lists. This makes it a valuable tool for anyone looking to parse Markdown content for data analysis, content generation, or for building other tools that utilize Markdown.

## Features
- Extract and categorize various elements of a Markdown file.
- Handle both inline and reference-style links and images.
- Recognize different types of headers and sections.
- Identify and extract code blocks, even nested ones.
- Handle both ordered and unordered lists, nested or otherwise.
- A simple API that makes parsing Markdown documents a breeze.

## Usage
Using `mrkdwn_analysis` is simple. Just import the `MarkdownAnalyzer` class, create an instance with your Markdown file, and you're good to go!

```python
from mrkdwn_analysis import MarkdownAnalyzer

analyzer = MarkdownAnalyzer("path/to/your/markdown.md")

headers = analyzer.identify_headers()
sections = analyzer.identify_sections()
...
```

## Installation
You can install `mrkdwn_analysis` from PyPI:

```bash
pip install mrkdwn_analysis
```

We hope `mrkdwn_analysis` helps you with all your Markdown analyzing needs!

## Contributions
Contributions are always welcome! If you have a feature request, bug report, or just want to improve the code, feel free to create a pull request or open an issue.


