summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/2023/moving-my-rss-reading-to-emacs-with-elfeed.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/content/2023/moving-my-rss-reading-to-emacs-with-elfeed.md b/content/2023/moving-my-rss-reading-to-emacs-with-elfeed.md
index 5115acc..a7f8687 100644
--- a/content/2023/moving-my-rss-reading-to-emacs-with-elfeed.md
+++ b/content/2023/moving-my-rss-reading-to-emacs-with-elfeed.md
@@ -26,14 +26,14 @@ One huge upside of elfeed compared to newsboat is image support. Emacs is a GUI
My setup is near stock. I have a few dozen feeds that are auto-tagged. Three essential tags are "important", "news", and "company". I want to read each "important", then I want to see all normal, and finally I can just skim "news" and "company". Adding auto-tagging is very simple: just define the tag when defining the RSS feed list:
-```
+{{<highlight lisp>}}
("https://rubenerd.com/feed/" blog important)
("https://www.pine64.org/feed/" company)
-```
+{{</highlight>}}
Now, each new article will be tagged with matching tags. Elfeed allows to define of custom faces that will be applied to items matching tag[^6]:
-```
+{{<highlight lisp>}}
(defface important-elfeed-entry
'((t :foreground "#f77"))
"Marks an important Elfeed entry."
@@ -50,7 +50,7 @@ Now, each new article will be tagged with matching tags. Elfeed allows to define
elfeed-search-face-alist)
(push '(news nonimportant-elfeed-entry)
elfeed-search-face-alist)
-```
+{{</highlight>}}
Now important items will be dark red, while company & news will be dark gray