[Experimental] Support opening preview window provided by Carlo #44
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Support an experimental
--preview
option to open a preview window provided by Carlo. Marp CLI can open a mini window to show a preview of editing Markdown by using Chrome instance.If you turned on
--preview
option,--watch
option is enabled automatically too. It would provide a better experience while writing the Marp presentation in your favorite editor as like as Deckset.Of course you can use it to the actual presentation by maximize window.
Restrictions
It is marked as an experimental support because of some restrictions.
--preview
option if Marp CLI is running in Node 6.--preview
is available only together with--server
option. For regular conversion, we need to handle multiple windows against found files specified by file paths, glob, and--input-dir
option.Tasks
for this PR
In future
--preview
option for regular conversion-p
alias