feat: highlight code blocks

This commit is contained in:
Ryan Yin
2023-07-08 13:32:05 +08:00
parent 1480750bd3
commit faa3709a24
6 changed files with 26 additions and 33 deletions

View File

@@ -19,7 +19,7 @@ NixOS 的系统配置路径为 `/etc/nixos/configuration.nix`,它包含系统
比如要启用 ssh 并添加一个用户 ryan只需要在 `/etc/nixos/configuration.nix` 中添加如下配置:
```nix
```nix{14-38}
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).