comparison mod_pubsub_github/README.markdown @ 3528:1fcf3cb7bb50

mod_pubsub_github/README: Specify language of code block for pretty syntax highlighting
author Kim Alvefur <zash@zash.se>
date Sun, 31 Mar 2019 19:05:48 +0200
parents 0c3043f06ef7
children
comparison
equal deleted inserted replaced
3527:0c3043f06ef7 3528:1fcf3cb7bb50
15 15
16 ## Configuration 16 ## Configuration
17 17
18 Load the module on a pubsub component: 18 Load the module on a pubsub component:
19 19
20 Component "pubsub.example.com" "pubsub" 20 ``` {.lua}
21 modules_enabled = { "pubsub_github" } 21 Component "pubsub.example.com" "pubsub"
22 github_secret = "NP7bZooYSLKze96TQMpFW5ov" 22 modules_enabled = { "pubsub_github" }
23 github_secret = "NP7bZooYSLKze96TQMpFW5ov"
24 ```
23 25
24 The URL for Github to post to would be either: 26 The URL for Github to post to would be either:
25 27
26 - `http://pubsub.example.com:5280/pubsub_github` 28 - `http://pubsub.example.com:5280/pubsub_github`
27 - `https://pubsub.example.com:5281/pubsub_github` 29 - `https://pubsub.example.com:5281/pubsub_github`