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
Previously, a parameter (flag) such as `curl --upload-file` would not be
properly recognized, because of the hyphen in the parameter name. This
commit causes `--upload-file` to be properly recognized as a parameter.
fixesPrismJS#3569, fixesPrismJS#3696
Previously, a parameter (flag) such as `curl --upload-file` would not be
properly recognized, because of the hyphen in the parameter name. This
commit causes `--upload-file` to be properly recognized as a parameter.
fixesPrismJS#3569, fixesPrismJS#3696
reidmv
added a commit
to reidmv/prism
that referenced
this issue
Nov 3, 2023
Previously, a parameter (flag) such as `curl --upload-file` would not be
properly recognized, because of the hyphen in the parameter name. This
commit causes `--upload-file` to be properly recognized as a parameter.
fixesPrismJS#3569, fixesPrismJS#3696
Information
Description
Multiple word command parameters in hyphen-case are not recognized to be class="token parameter variable" but are treated as plain text.
Code snippet
Test page
The code being highlighted incorrectly.
The text was updated successfully, but these errors were encountered: