docs: add syntax highlighting to README.md

This commit is contained in:
Roscoe 2025-03-14 10:50:45 +00:00
parent 457e2c3315
commit b72f1d7291
Signed by: RoscoeDaWah
SSH key fingerprint: SHA256:Hqn452XQ1ETzUt/FthJu6+OFkS4NBxCv5VQSEvuk7CE

View file

@ -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