Diff

mod_ogp/README.markdown @ 4485:2c4b65bfac62

mod_ogp/README: Add Lua language annotation to prosody config snippet Because syntax highlighting is nice
author Kim Alvefur <zash@zash.se>
date Tue, 02 Mar 2021 14:19:19 +0100
parent 4484:6813a00878ea
child 4597:c858c76d0845
line wrap: on
line diff
--- a/mod_ogp/README.markdown	Tue Mar 02 14:17:51 2021 +0100
+++ b/mod_ogp/README.markdown	Tue Mar 02 14:19:19 2021 +0100
@@ -25,6 +25,8 @@
 
 For example:
 
-    Component "muc.example.org" "muc"
-      modules_enabled = { "ogp" }
-      ogp_domain_whitelist = { "prosody.im" }
+```lua
+Component "muc.example.org" "muc"
+  modules_enabled = { "ogp" }
+  ogp_domain_whitelist = { "prosody.im" }
+```