Atom Packages Directory

a package directory for a text editor of the 21st Century

Contextual Preview

Install with:
    apm install contextual-preview

Contextual Preview

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


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.

Keywords: preview, context Suggest keywords
Fork me on GitHub