2
0
Эх сурвалжийг харах

Merge pull request #3 from ypid/README-ini-hightlighting

Also allow the INI example to be highlighted on GitHub.
Dan Helfman 9 жил өмнө
parent
commit
e1605ae6ab
1 өөрчлөгдсөн 18 нэмэгдсэн , 16 устгасан
  1. 18 16
      README.md

+ 18 - 16
README.md

@@ -12,22 +12,24 @@ all on the command-line, and handles common errors.
 
 
 Here's an example config file:
 Here's an example config file:
 
 
-    [location]
-    # Space-separated list of source directories to backup.
-    source_directories: /home /etc
-
-    # Path to local or remote backup repository.
-    repository: user@backupserver:sourcehostname.attic
-
-    [retention]
-    # Retention policy for how many backups to keep in each category.
-    keep_daily: 7
-    keep_weekly: 4
-    keep_monthly: 6
-
-    [consistency]
-    # Consistency checks to run, or "disabled" to prevent checks.
-    checks: repository archives
+```INI
+[location]
+# Space-separated list of source directories to backup.
+source_directories: /home /etc
+
+# Path to local or remote backup repository.
+repository: user@backupserver:sourcehostname.attic
+
+[retention]
+# Retention policy for how many backups to keep in each category.
+keep_daily: 7
+keep_weekly: 4
+keep_monthly: 6
+
+[consistency]
+# Consistency checks to run, or "disabled" to prevent checks.
+checks: repository archives
+```
 
 
 Additionally, exclude patterns can be specified in a separate excludes config
 Additionally, exclude patterns can be specified in a separate excludes config
 file, one pattern per line.
 file, one pattern per line.