Diff

mod_seclabels/README.markdown @ 1820:8de50be756e5

Various README files: Correct indentation levels, fix syntax and other small fixes
author Kim Alvefur <zash@zash.se>
date Wed, 02 Sep 2015 17:30:33 +0200
parent 1803:4d73a1a6ba68
child 2340:a1d641e88918
line wrap: on
line diff
--- a/mod_seclabels/README.markdown	Wed Sep 02 16:43:34 2015 +0200
+++ b/mod_seclabels/README.markdown	Wed Sep 02 17:30:33 2015 +0200
@@ -16,12 +16,6 @@
 As with all modules, you enable it by adding it to the modules\_enabled
 list.
 
-        modules_enabled = {
-            ...
-            "seclabels";
-            ...
-        }
-
 These options exist:
 
   Name                      Description             Default
@@ -32,28 +26,30 @@
 You can then add your labels in a table called security\_labels. They
 can be both orderd and unorderd, but ordered comes first.
 
-        security_labels = {
-            { -- This label will come first
-                name = "Public",
-                label = true, -- This is a label, but without the actual label.
-                default = true -- This is the default label.
-            },
-            {
-                name = "Private",
-                label = "PRIVATE",
-                color = "white",
-                bgcolor = "blue"
-            },
-            Sensitive = { -- A Sub-selector
-                SECRET = { -- The index is used as name
-                    label = true
-                },
-                TOPSECRET = { -- The order of this and the above is not guaranteed.
-                    color = "red",
-                    bgcolor = "black",
-                }
-            }
-        }
+``` {.lua}
+security_labels = {
+  { -- This label will come first
+    name = "Public",
+    label = true, -- This is a label, but without the actual label.
+      default = true -- This is the default label.
+  },
+  {
+    name = "Private",
+    label = "PRIVATE",
+    color = "white",
+    bgcolor = "blue"
+  },
+  Sensitive = { -- A Sub-selector
+    SECRET = { -- The index is used as name
+      label = true
+    },
+    TOPSECRET = { -- The order of this and the above is not guaranteed.
+      color = "red",
+      bgcolor = "black",
+    }
+  }
+}
+```
 
 Each label can have the following properties: