diff mod_mam_muc/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 79b9bd84b91c
line wrap: on
line diff
--- a/mod_mam_muc/README.markdown	Wed Sep 02 16:43:34 2015 +0200
+++ b/mod_mam_muc/README.markdown	Wed Sep 02 17:30:33 2015 +0200
@@ -20,15 +20,17 @@
 
 Then add "mam\_muc" to your modules\_enabled list:
 
-    Component "conference.example.org" "muc"
-    modules_enabled = {
-        "mam_muc",
-    }
-    storage = {
-        -- This makes mod_mam_muc use the sql2 storage backend (others will use internal)
-        -- which at the time of this writing is the only one supporting stanza archives
-        muc_log = "sql2";
-    }
+``` {.lua}
+Component "conference.example.org" "muc"
+modules_enabled = {
+  "mam_muc",
+}
+storage = {
+  -- This makes mod_mam_muc use the sql2 storage backend (others will use internal)
+    -- which at the time of this writing is the only one supporting stanza archives
+    muc_log = "sql2";
+}
+```
 
 See [Prosodys data storage
 documentation](https://prosody.im/doc/storage) for more info on how to
@@ -40,15 +42,17 @@
 Logging needs to be enabled for each room in the room configuration
 dialog.
 
-        muc_log_by_default = true; -- Enable logging by default (can be disabled in room config)
+``` {.lua}
+muc_log_by_default = true; -- Enable logging by default (can be disabled in room config)
 
-        muc_log_all_rooms = false; -- set to true to force logging of all rooms
+muc_log_all_rooms = false; -- set to true to force logging of all rooms
 
-        -- This is the largest number of messages that are allowed to be retrieved in one MAM request.
-        max_archive_query_results = 20;
+-- This is the largest number of messages that are allowed to be retrieved in one MAM request.
+max_archive_query_results = 20;
 
-        -- This is the largest number of messages that are allowed to be retrieved when joining a room.
-        max_history_messages = 1000;
+-- This is the largest number of messages that are allowed to be retrieved when joining a room.
+max_history_messages = 1000;
+```
 
 Compatibility
 =============