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
- Allows to set whether Markdown blocks should always include the [language identifier](https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks) which allows for syntax highlighting in some tools (for example github.com) but is not compatible with others (for example Slack).
13
+
- The default is "`prompt`" which makes the extension always prompt when using the "Copy Snippet as Markdown Code Block" command.
"description": "Add a programming language identifier to the beginning of the Markdown code block. This is incompatible with some apps, for example Slack."
"markdownDescription": "Style of the generated [fenced Markdown code block](https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks). By default, prompts every time a snippet is copied as a Markdown code block.",
49
+
"enum": [
50
+
"never",
51
+
"always",
52
+
"prompt"
53
+
],
54
+
"markdownEnumDescriptions": [
55
+
"Copy a regular fenced Markdown code block without language identifier.",
56
+
"Copy a fenced Markdown code block that includes the language identifier of the current document. \nThis enables [automatic syntax highlighting](https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting) on e.g. GitHub or StackOverflow but isn't compatible with some apps, for example Slack.",
57
+
"Always prompt when copying a snippet as a Markdown code block whether to include the language identifier or not."
0 commit comments