Live preview

Live preview is a simple way to see the rendered version of your Markdown from any web browser.

Examples

Example: 375px on the side while you write

A screenshot of the configuration already described in this section

Example: a tablet, mounted next to your laptop


Propagating changes

“…properly propagated.
- Properly propagated?
- Properly propagated.”

Prison Break, season one

Propagating changes from your Markdown to the preview

When you save changes to your Markdown files, the live preview server propagates fresh HTML to that web page (without you having to reload the page).

A text editor extension could eventually provide additional propagation in this direction, e.g.:

Propagating changes from the preview to your Markdown

Some of the plugins and external-tool integrations will eventually support propagating changes from the preview page, to the mm live-preview process, to a VSCode extension, and finally to the Markdown file you're editing.

Running it

alias lp='MarkdownMesh live-preview --tls --allow-external-connections'
cd md/ && lp

See Command-line tool § live-preview for options.