Markdown Viewer - File tree + Live preview + Hot reload
Project description
MDV - Markdown Viewer
ファイルツリー + ライブプレビュー付きマークダウンビューア
Features
- 📁 左側にフォルダツリー表示
- 📄 マークダウンをHTMLでレンダリング
- 🔄 ファイル更新時に自動リロード(WebSocket)
- 🎨 シンタックスハイライト(highlight.js)
- 📊 Mermaid図のレンダリング対応
- 🌙 ダークテーマ
Installation
# PyPIからインストール(推奨)
pip install mdv-live
# または開発版をインストール
git clone https://github.com/panhouse/mdv.git
cd mdv
pip install -e .
Usage
# カレントディレクトリを表示
mdv
# 特定のディレクトリを表示
mdv ./project/
# 特定のファイルを開く
mdv README.md
# ポート指定
mdv -p 9000
# ブラウザを自動で開かない
mdv --no-browser
# MarkdownをPDFに変換
mdv --pdf README.md
mdv --pdf README.md -o output.pdf
# サーバー管理
mdv -l # 稼働中のサーバー一覧
mdv -k -a # 全サーバー停止
mdv -k <PID> # 特定サーバー停止
Requirements
- Python 3.9+
- FastAPI
- uvicorn
- watchdog
- markdown
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mdv_live-0.1.7.tar.gz
(27.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
mdv_live-0.1.7-py3-none-any.whl
(28.0 kB
view details)
File details
Details for the file mdv_live-0.1.7.tar.gz.
File metadata
- Download URL: mdv_live-0.1.7.tar.gz
- Upload date:
- Size: 27.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8fb993c0b004b1fdad70e97e3e42ce148438d89e33642654ffcc3884959ca0c
|
|
| MD5 |
c2b8ee19c9ca0ff7fb62613be78da172
|
|
| BLAKE2b-256 |
05387effae63fb738ecd0805ca4bc67873dcbcefd1ae175fd98678ecab35529c
|
File details
Details for the file mdv_live-0.1.7-py3-none-any.whl.
File metadata
- Download URL: mdv_live-0.1.7-py3-none-any.whl
- Upload date:
- Size: 28.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa6642f08ef7e0642d42c0900c672ce212195c00e763563a58a38685a1dcd47a
|
|
| MD5 |
e9f224ef534d5560e57a87dc85bee932
|
|
| BLAKE2b-256 |
eb3159352aa20343fbb441afcab0baa0846e322457227fe9f2bddcd837d493cd
|