docs: add syntax highlighting to README.md
This commit is contained in:
parent
457e2c3315
commit
b72f1d7291
1 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@ Logging was recently enabled. Make sure that the user running the script (especi
|
|||
|
||||
To configure the script, create ~/.config/discorss/discorss.conf with the following structure:
|
||||
|
||||
```
|
||||
```json
|
||||
{
|
||||
"feeds": [
|
||||
{
|
||||
|
@ -54,7 +54,7 @@ To automate feed posting, create a systemd service and timer to execute the scri
|
|||
|
||||
Use the command `systemctl --user edit --full --force discorss.service` and then paste in something like this:
|
||||
|
||||
```
|
||||
```systemd
|
||||
[Unit]
|
||||
Description=Discord RSS feeder
|
||||
Wants=discorss.timer
|
||||
|
@ -68,7 +68,7 @@ WantedBy=default.target
|
|||
```
|
||||
|
||||
Make sure to edit the ExecStart to point to the correct location. Then we need a systemd timer to automatically fire the script. Run `systemctl --user edit --full --force discorss.timer` and then paste in this:
|
||||
```
|
||||
```systemd
|
||||
[Unit]
|
||||
Description=Timer for DiscoRSS
|
||||
Requires=discorss.service
|
||||
|
|
Loading…
Add table
Reference in a new issue