-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
# mjml-preview package | ||
# MJML Preview Package | ||
|
||
A short description of your package. | ||
Show the rendered HTML from MJML on the right pane of the editor. It is enabled for `.mjml` files. | ||
|
||
![A screenshot of your package](https://f.cloud.github.com/assets/69169/2290250/c35d867a-a017-11e3-86be-cd7c5bf3ff9b.gif) | ||
![mjml-preview](http://i.imgur.com/o6Y3q6f.png) | ||
|
||
To toggle the preview, go to "Packages" > "mjml-preview" > "Preview MJML". | ||
|
||
## Trigger on Save | ||
|
||
To refresh the preview pane on each save, tick the box "Trigger on Save" in the settings of the package: <kbd>⌘+,</kbd> or <kbd>ctrl+,</kbd> to open package settings > look for "mjml-preview" in "installed packages" > "Settings" > "Trigger on Save". | ||
|
||
![settings](http://i.imgur.com/R17UQmQ.png) |