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.2.tar.gz
(26.0 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.2-py3-none-any.whl
(26.9 kB
view details)
File details
Details for the file mdv_live-0.1.2.tar.gz.
File metadata
- Download URL: mdv_live-0.1.2.tar.gz
- Upload date:
- Size: 26.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b05396e21ec00ec255ecb6d50f6dd70021845ad31341d55607b6b8f2bcae20ae
|
|
| MD5 |
69e703ec8d53964510ab677f7808efc5
|
|
| BLAKE2b-256 |
273f4dc34a7b95cc43016a493e9cd7302317604a5dd5bd5793cf15131ce91e08
|
File details
Details for the file mdv_live-0.1.2-py3-none-any.whl.
File metadata
- Download URL: mdv_live-0.1.2-py3-none-any.whl
- Upload date:
- Size: 26.9 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 |
42c24dbc5bf11ea004d1af8c5ac11ead894538b3db1f904fb0e6d81e76c727d6
|
|
| MD5 |
8ff888d48c2f037c09e4e87802d8fef3
|
|
| BLAKE2b-256 |
fcac5d57b74e2cb29df71e0023e87cc0e0a7f6f21266dafef82ee8921f4d0d51
|