Metadata-Version: 2.1
Name: minimark
Version: 0.0.2.0
Summary: MiniMark : The CLI Markdown Editor / Viewer
Home-page: https://github.com/xbais/minimark
Author: Aakash Singh Bais
Author-email: xbais@duck.com
License: GPLv3
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: POSIX :: Linux
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: argparse
Requires-Dist: textual
Requires-Dist: textual_image
Requires-Dist: matplotlib
Requires-Dist: pillow
Requires-Dist: cairosvg
Requires-Dist: tqdm
Requires-Dist: art
Requires-Dist: tree-sitter==0.21.3
Requires-Dist: tree-sitter-languages==1.10.2
Requires-Dist: asyncio
Requires-Dist: requests

# MiniMark : The CLI Markdown Editor / Viewer
![OS](https://img.shields.io/badge/OS-Linux-green) ![Python Version](https://img.shields.io/pypi/pyversions/minimark) ![License](https://img.shields.io/github/license/xbais/minimark) ![version](https://img.shields.io/pypi/v/minimark)

<p align="center">
  <img src="./_resources/logo.jpeg" alt="Sublime's custom image" style='width:300px'/>
</p>

![Light Mode](_resources/light-mode.png)
![Dark Mode](_resources/dark-mode.png)
![Markdown Editor](_resources/markdown-editor.png)

## 🔷 Installation of Pre-requisites
1. Install [NVM Package Manager](https://github.com/nvm-sh/nvm) : 
  ```bash
  curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
  ```
2. Install [Pupetteer](https://pptr.dev) : 
  ```bash
  npx puppeteer browsers install chrome-headless-shell
  ```
3. Install [Mermaid CLI](https://github.com/mermaid-js/mermaid-cli) : 
  ```bash
  npm install -g @mermaid-js/mermaid-cli
  ```
4. Install [Ripgrep](https://github.com/BurntSushi/ripgrep) Utility :
  ```bash
  sudo apt install ripgrep
  ```
5. Install [Kitty](https://sw.kovidgoyal.net/kitty/) :
  ```bash
  sudo apt install kitty
  ```
## 🔷 Installation & Usage
- For Ubuntu < 24.04 LTS : `pip3 install minimark`
- For Ubuntu == 24.04 LTS : `pip3 install minimark --break-system-packages` (NOTE : Ubuntu 24 does not allow installing any python packages without the additional flag, but rest assured : IT IS SAFE, if you dont want this, you can install Minimark in a separate Python venv)

### **Usage**
To open a markdown file with minimark, simply... 
1. Open the Kitty terminal emulator.
2. Within Kitty, use the command : `minimark -file /location/to/my_markdown_file.md`

## 🔷 Features
(🟢 = Impemented, 🔵 = May work, but hasn't been tested, 🟠 = Upcoming)
- Dark mode support 🟢
- Latex support 🟢
- Mermaid Diagram Support 🟢
- Windows Support 🔵
- TODO support 🟠
- Git versioning support 🟠
- Export to other formats (PDF / Word / HTML / Latex) 🟠
- Rich Email support 🟠
- Online File Sync 🟠
- Online collaboration 🟠
- SSH support (can work over SSH) 🔵
- Support for emoji short-codes 🟢
- Zotero support 🟠
- TTS support 🟠
- Hand-drawing support 🟠

## 🔷 Links
- Official Webpage & Documentation : https://xbais.net/minimark.html
- PyPI : https://pypi.org/project/minimark/0.0.1.2/#description
