• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

contextual-preview

Automatically delegate which preview package to activate based on the active grammar of the current file.
  • #preview
  • #context
danielbayley
244
3
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

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.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by