aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2024-06-09 14:40:54 +0000
committerterminaldweller <devi@terminaldweller.com>2024-06-09 14:40:54 +0000
commitdf44f201cba6700d38efd38ac6be2c781b68196e (patch)
tree96667613dd6ee2ee9529bbed26f77043263e2361
parentupdated the example lua script in the readme (diff)
downloadmilla-df44f201cba6700d38efd38ac6be2c781b68196e.tar.gz
milla-df44f201cba6700d38efd38ac6be2c781b68196e.zip
updated the example lua script in the readme
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index b8bb72f..cbc3ff0 100644
--- a/README.md
+++ b/README.md
@@ -558,7 +558,8 @@ rssfeeds:
url: "https://www.youtube.com/feeds/videos.xml?channel_id=UCS4FAVeYW_IaZqAbqhlvxlA"
```
-`local milla = require("milla")
+```lua
+local milla = require("milla")
local yaml = require("yaml")
local http = require("http")
local xmlpath = require("xmlpath")
@@ -648,7 +649,7 @@ local function rss_feed()
end
end
-r``lua
+rss_feed()
```
```lua