Metadata-Version: 2.4
Name: mdview-py
Version: 0.2.0
Summary: A professional Markdown to HTML converter and viewer
Author-email: Kinas <kinas.devops@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/kinas-devops
Project-URL: Issues, https://github.com/kinas-devops/issues
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: End Users/Desktop
Classifier: Topic :: Text Processing :: Markup :: Markdown
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.13
Classifier: Operating System :: Microsoft :: Windows
Requires-Python: >=3.13
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: mistune>=3.2.1
Requires-Dist: pygments>=2.20.0
Requires-Dist: pywebview>=6.2.1
Dynamic: license-file

# mdview-py

A professional command-line utility to convert Markdown files to standalone HTML files and display them in a local webview window or your favorite browser.

## Features

- **Fast Parsing:** Powered by `mistune` 3.x.
- **Extended Syntax:** 
  - Emojis (e.g., `:rocket:`, `:)`)
  - MathJax compatibility (Inline `$...$` and Block `$$...$$`)
  - Underlining (`++text++`)
  - Strikethrough, Task lists, Tables, Footnotes, etc.
- **Syntax Highlighting:** Beautiful code blocks via `Pygments`.
- **Multiple Themes:** GitHub Light, GitHub Dark, and Paper themes.
- **Flexible Viewing:**
  - Built-in `pywebview` desktop window.
  - "App Mode" in your default browser.
- **Portable Design:** Modular Python package structure.

## Installation

```bash
pip install mdview-py
```

*Note: For testing purposes, you can install the latest beta from TestPyPI using:*
`pip install --index-url https://test.pypi.org/simple/ mdview-py`

## Usage

```bash
# Basic usage (opens in webview)
mdview document.md

# Use a specific theme
mdview document.md --theme github_dark

# Open in default browser (app mode)
mdview document.md --browser

# Generate HTML only (no viewer)
mdview document.md --no-view -o output.html
```

## Build Executable (Windows)

Run `makexe.bat` to generate a standalone `.exe` using PyInstaller.
