From b72f1d72910e0d0c2310445a7f14bf379df4ef1d Mon Sep 17 00:00:00 2001 From: RoscoeDaWah Date: Fri, 14 Mar 2025 10:50:45 +0000 Subject: [PATCH] docs: add syntax highlighting to README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8fa07b9..06b28fe 100644 --- a/README.md +++ b/README.md @@ -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