fix: correctly link to an md file
This commit is contained in:
@@ -83,7 +83,7 @@
|
||||
(slug (cdr slug-head))
|
||||
(filename (conlanging--get-filename-no-ext))
|
||||
(text (completing-read "Text: " `(,heading) nil nil heading)))
|
||||
(insert (format "[[file:./%s#%s][%s]]" filename slug text))))
|
||||
(insert (format "[[file:./%s.md#%s][%s]]" filename slug text))))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; Text transformation ;
|
||||
|
||||
Reference in New Issue
Block a user