atom / markdown-preview

📝 Markdown preview in Atom
MIT License
1.23k stars 358 forks source link

Restrict command selector to list of valid Markdown grammars #513

Closed 50Wliu closed 6 years ago

50Wliu commented 6 years ago

Requirements

Description of the Change

Scenario Before After
Non-Markdown file active commands-not-md-before commands-not-md-after
Markdown file active commands-md-before commands-md-after

Changes:

Alternate Designs

None.

Benefits

Less-cluttered and easier-to-parse Command Palette.

Possible Drawbacks

It's slightly harder to test specs.

Applicable Issues

N/A