You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.
Ideally, there should be no Snippet language drop-down for single file snippet.
Instead there should be a Snippet filename input to enter the filename for the snippet (same as Multi file Snippet 👇) along with the Snippet name input.
The Snippet name should be required to identify the snippet from the snippets list (current behavior).
The Snippet language should be guessed according to the file extension provided in Snippet filename. This will help mitigate the aforementioned issue.
e.g.
❌
[Snippet name]: [A test md file]
[Snippet language]: [Markdown 🔽]
✔
[Snippet name]: [A test md file]
[Snippet filename]: [test-file.md]
Snippet language can be chosen when clicking with the cursor in the selection box. Would be nice if it accepts text input directly, as well.
Steps to replicate
The text was updated successfully, but these errors were encountered: