michal-sapka-me

Codebase for my homepage.
git clone git://vcs.sapka.me/michal-sapka-me
Log | Files | Refs

commit 0289c16b4f676264423a1b18206be8b85f215553
parent ad45af8c8b4e222e4ea20095a281dc394d2defed
Author: MichaƂ M. Sapka <michal@sapka.me>
Date:   Fri, 26 May 2023 15:27:49 +0200

feat: lisp hl

Diffstat:
Mcontent/2023/moving-my-rss-reading-to-emacs-with-elfeed.md | 8++++----
1 file 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 @@ -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