Describe the bug
If you attempt to drag a Markdown file that contains a fenced code block written in a language not recognized by the highlighter, the import fails.
To Reproduce
Steps to reproduce the behavior:
Drag a Markdown containing a block of code written in Clojure/ClojureScript/EDN to the editor demo page.'
The import will fail.
Expected behavior
I expected the import to succeed. If the language is not recognized, it should at least succeed and highlight the code block as "plain".
Desktop (please complete the following information):
Browser - Safari (probably others)
macOS 10.15.5
Additional context
The fallback for the highlighter should be "plain", but it would be nice if you expanded the "known" languages. In my case, Clojure, ClojureScript, EDN, Lisp, Scheme, Racket would be nice.
Describe the bug If you attempt to drag a Markdown file that contains a fenced code block written in a language not recognized by the highlighter, the import fails.
To Reproduce Steps to reproduce the behavior:
Expected behavior I expected the import to succeed. If the language is not recognized, it should at least succeed and highlight the code block as "plain".
Desktop (please complete the following information):
Additional context The fallback for the highlighter should be "plain", but it would be nice if you expanded the "known" languages. In my case, Clojure, ClojureScript, EDN, Lisp, Scheme, Racket would be nice.