attish / watchmd.py

Tracks and displays a live rendering of a Markdown text file in a web browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

watchmd.py -- instant single-file Markdown server

Purpose

Tracks and displays a live rendering of a Markdown text file in a web browser.

Usage

$ python watchmd.py <port> <file>

Notes

Required Python packages:

  • web.py
  • markdown

Uses the long poll variant of HTTP Push to implement live refresh of content when the source file changes.

About

Tracks and displays a live rendering of a Markdown text file in a web browser

License:The Unlicense


Languages

Language:Python 100.0%