-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle dragging uri-list into MDX files
A mime type of `uri-list` is for example files dragged from the VSCode tree view. Images are turnes into Markdown images. These are detected based on a hardcoded list of file extensions. Other URIs are inserted as-is. If the dragged URI uses the same scheme as the document it was dragged in, a relative path is inserted. Otherwise the full URI is used. Closes #322
- Loading branch information
1 parent
9075070
commit 271a5b3
Showing
1 changed file
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters