contextual-preview

Automatically delegate which preview package to activate based on the active grammar of the current file.

danielbayley

270

3

0.1.0

MIT

GitHub

Contextual Preview

Automatically delegate which preview package to activate based on the active grammar of the current file.

Behaviour

This package delegates preview events according to the following table.*

Type Grammar/scope Preview package
Markdown source.gfm markdown-preview
HTML text.html.basic atom-html-preview
* * source-preview

* Currently therefore, this means that apm install html-preview source-preview is required. Configuration options will be added in future.