dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 38c2fe655e49677c4d2df0e402fbef121f6ac671
parent c69111581617f2d343601153980471488d25e368
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Mon, 15 Aug 2022 23:37:37 +0200

emacs: use internal link for org-roam publish

Diffstat:
Memacs/config.org | 6+-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/emacs/config.org b/emacs/config.org @@ -1025,11 +1025,7 @@ This function filters the return value of ~org-md-link~. "A filter function for the return value of `org-md-link` (LINKSTR) to generate a link compatible with Zola." (cond ((string-match-p (rx ".md") linkstr) - (let* ((linkstr (replace-regexp-in-string (rx ".md" (group-n 1(? "#" (* (not ")")))) ")") - "\\1/)" linkstr)) - (linkstr (string-replace "_" "-" linkstr)) - (linkstr (string-replace "](" "](/org-roam/" linkstr))) - linkstr)) + (string-replace "](" "](@/org-roam/" linkstr)) ((string-match-p (rx "](/") linkstr) (replace-regexp-in-string (rx "](/" (* any) "/org-roam/data") "](/org-roam-data" linkstr)) (t linkstr)))