]> git.p6c8.net - policy-templates.git/commitdiff
Fix plist highlighting
authormueller-ma <mueller-ma@users.noreply.github.com>
Tue, 22 Oct 2019 07:47:22 +0000 (09:47 +0200)
committerGitHub <noreply@github.com>
Tue, 22 Oct 2019 07:47:22 +0000 (09:47 +0200)
Previous the plist example had a red background. Probably because this isn't a valid plist and more a part of a plist. Using xml highlighting fixes this issue.

mac/README.md

index 2e494372ee94e90e78e597107e7e07fc05bb4554..eda62857a2b0f8857b179ce87159553101b1072c 100644 (file)
@@ -19,12 +19,12 @@ For example, this policy:
 }
 ```
 which would be set in the plist file like this:
-```plist
-  <key>Homepage</key>
-  <dict>
-    <key>URL</key>
-    <string>http://example.com</string>
-  </dict>
+```xml
+<key>Homepage</key>
+<dict>
+  <key>URL</key>
+  <string>http://example.com</string>
+</dict>
 ```
 Correctly writing the nested value with the `defaults` command can be hard, so you can flatten the keys by separating them with `__`, like this:
 ```bash

patrick-canterino.de