changeset 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
parents 6813a00878ea
children 4f41678ba00d
files mod_ogp/README.markdown
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
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" }
+```