Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Get a realtime preview of MJML files with Neovim

License

Notifications You must be signed in to change notification settings

enochchau/mjml-preview.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mjml-preview.nvim

Preview mjml files in the browser with Neovim. Mjml is hot reloaded so you'll always see the most updated render.

Installation

A minimum version of NodeJs 14 is required to run this plugin.

use { "ec965/mjml-preview.nvim", ft = { "mjml" }, run = "cd app && npm install" }

Commands

MjmlPreviewToggle - toggle the mjml preview
MjmlPreviewOpen - Preview mjml for the current buffer
MjmlPreviewClose - Close the mjml preview

Screen shots

MJML is rendered in an iframe.

Example

Error messages are also displayed in the window. Error

Related Projects

About

Get a realtime preview of MJML files with Neovim

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published