Emacs Realtime Markdown Viewer with websocket.el and Amon2
Emacs Lisp Ruby Perl
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
static
.gitignore
Gemfile
README.md
cpanfile
realtime-markdown-viewer.el
realtime-md-server.psgi
realtime_markdown_viewer.rb

README.md

Emacs Realtime Markdown Viewer

Emacs Realtime Markdown Viewer with websocket.el and Amon2.

Requirements

  • Emacs 24 or higher.
  • Latest websocket.el
    • websocket.el older than 2012/SEP/01 does not support multibyte characters
  • Amon2::Lite

Demonstration

How to Run

Select language

You can select WebApp implementation, Perl(Amon2) or Ruby(Sinatra). Default is Perl, because I'm beginner of Ruby programming.

;; Use Sinatra App
(setq rtmv:lang 'ruby)

Perl Dependency Setting

% cpanm --installdeps .

Ruby Setting

% bundle install --path=vender/bundler

Client

Run WebApp and connect to Web application

M-x realtime-markdown-viewer-mode

Browser

Access to http://0.0.0.0:5021/

Limitation

  • There are some bugs.