comparison 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
parents 6813a00878ea
children c858c76d0845
comparison
equal deleted inserted replaced
4484:6813a00878ea 4485:2c4b65bfac62
23 You can present a whitelist of domains for which OGP metadata will be fetched 23 You can present a whitelist of domains for which OGP metadata will be fetched
24 via the `ogp_domain_whitelist` setting. 24 via the `ogp_domain_whitelist` setting.
25 25
26 For example: 26 For example:
27 27
28 Component "muc.example.org" "muc" 28 ```lua
29 modules_enabled = { "ogp" } 29 Component "muc.example.org" "muc"
30 ogp_domain_whitelist = { "prosody.im" } 30 modules_enabled = { "ogp" }
31 ogp_domain_whitelist = { "prosody.im" }
32 ```