Open hoehrmann opened 4 days ago
Can anything be escaped in single quoted YAML strings?
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.