Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Highlight.js seems to treat '\' in YAML as escaping the ' but with ' quoting the backslash does not escape the apostrophe in YAML.
'\'
'
The text was updated successfully, but these errors were encountered:
Can anything be escaped in single quoted YAML strings?
https://yaml.org/spec/1.2.2/#single-quoted-style covers this. The apostrophe can be escaped by doubling it. That's it.
Highlight.js seems to treat
'\'
in YAML as escaping the'
but with'
quoting the backslash does not escape the apostrophe in YAML.The text was updated successfully, but these errors were encountered: