mod_pubsub_feeds/README.markdown
changeset 1824 8de50be756e5
parent 1807 4d73a1a6ba68
child 1896 981143617dcf
--- a/mod_pubsub_feeds/README.markdown	Wed Sep 02 16:43:34 2015 +0200
+++ b/mod_pubsub_feeds/README.markdown	Wed Sep 02 17:30:33 2015 +0200
@@ -19,13 +19,15 @@
 This module must be loaded on a Prosody pubsub component. Add it to
 `modules_enabled` and configure like so:
 
-    Component "pubsub.example.com" "pubsub"
-        modules_enabled = { "pubsub_feeds" }
+``` lua
+Component "pubsub.example.com" "pubsub"
+modules_enabled = { "pubsub_feeds" }
 
-        feeds = {
-              planet_jabber = "http://planet.jabber.org/atom.xml";
-              prosody_blog = "http://blog.prosody.im/feed/atom.xml";
-            }
+feeds = {
+  planet_jabber = "http://planet.jabber.org/atom.xml";
+  prosody_blog = "http://blog.prosody.im/feed/atom.xml";
+}
+```
 
 This example creates two nodes, 'planet\_jabber' and 'prosody\_blog'
 that clients can subscribe to using