diff mod_limits/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
parents 4d73a1a6ba68
children b935276ab1b4
line wrap: on
line diff
--- a/mod_limits/README.markdown	Wed Sep 02 16:43:34 2015 +0200
+++ b/mod_limits/README.markdown	Wed Sep 02 17:30:33 2015 +0200
@@ -34,16 +34,18 @@
 The limits are specified like so in the **global** section of your
 config (they cannot be per-host):
 
-        limits = {
-            c2s = {
-                rate = "3kb/s";
-                burst = "2s";
-            };
-            s2sin = {
-                rate = "10kb/s";
-                burst = "5s";
-            };
-         }
+``` {.lua}
+limits = {
+  c2s = {
+    rate = "3kb/s";
+    burst = "2s";
+  };
+  s2sin = {
+    rate = "10kb/s";
+    burst = "5s";
+  };
+}
+```
 
 All units are in terms of *bytes*, not *bits*, so that "kb/s" is
 interpreted as "kilobytes per second", where a kilobyte is 1000 bytes.
@@ -53,10 +55,10 @@
 
   ----- -------------------
   0.9   Works
-  0.8   Doesn't work(`*`)
+  0.8   Doesn't work(\*)
   ----- -------------------
 
-(`*`) This module can be made to work in 0.8 if you do two things:
+(\*) This module can be made to work in 0.8 if you do two things:
 
 1.  Install
     [util.throttle](http://hg.prosody.im/0.9/raw-file/d46948d3018a/util/throttle.lua)