mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2025-02-05 13:10:05 +01:00
fix: '' escape example comment
This commit is contained in:
parent
e952bddabd
commit
1b8a7b0dd2
@ -235,7 +235,7 @@ let
|
||||
in
|
||||
''the value of a is:
|
||||
''${a}
|
||||
'' # 结果是 "the value of a is ''${a}"
|
||||
'' # 结果是 "the value of a is ${a}"
|
||||
```
|
||||
|
||||
其他 `\n` `\t` 等特殊字符的转义也类似,必须使用两个单引号来转义,如
|
||||
|
Loading…
Reference in New Issue
Block a user