atom / markdown-preview

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

Markdown Preview not appearing when right-clicking a .md file on macOS #582

Open jabenninghoff opened 4 years ago

jabenninghoff commented 4 years ago

Prerequisites

Description

Markdown Preview fails to appear as an option when right-clicking a markdown file on macOS.

Steps to Reproduce

  1. Install a fresh copy of Atom on macOS (I have 10.14.6)
  2. Create a test markdown file test.md (see below)
  3. Launch atom using atom .
  4. Open the test file by clicking it
  5. Right-click the test file

test.md contents:

# Markdown Test

Short sample

Expected behavior:

The "Markdown Preview" menu option should appear at the top, allowing you to open the markdown preview

Actual behavior:

No "Markdown Preview" option is listed

Reproduces how often:

Some files, especially small files, almost never show the right-click menu option. Larger markdown files always or almost always show the menu option.

Versions

Running macOS 10.14.6

$ atom --version
Atom    : 1.50.0
Electron: 5.0.13
Chrome  : 73.0.3683.121
Node    : 12.0.0

$ apm --version
apm  2.5.0
npm  6.14.5
node 10.20.1 x64
atom 1.50.0
python 2.7.16
git 2.28.0

Additional Information

The markdown-preview-enhanced package does not exhibit the same behavior. By default, it opens a markdown preview window that works with all .md files.