markdown-preview-enhanced
markdown-preview-enhanced copied to clipboard
if path contains '#', then image does not render in preview
Issue
If a path segment contains #
, then the referenced image does not render in preview. This applies to both (1) the relative path and (2) the implied parent path of the relative segment.
Configuration
- macOS Big Sur 11.6.3
- Atom 1.59.0
- markdown-preview-enhanced 0.19.1
Test Files
Expected Result
The expected result is achieved when both the parent and relative paths do not contain #
.
test folder
├── notes.md
└── notes_files
└── blue.png
Unexpected Results
See the zip file of two failing test examples which is attached in the above Test Files section.
test#folder
├── notes.md
└── notes_files
└── blue.png
test folder
├── notes#.md
└── notes#_files
└── blue.png
A question mark ?
in the parent path on macOS has a similar issue.