fix: correctly link to an md file
This commit is contained in:
parent
7695bd78b4
commit
2e8f06da0e
@ -83,7 +83,7 @@
|
|||||||
(slug (cdr slug-head))
|
(slug (cdr slug-head))
|
||||||
(filename (conlanging--get-filename-no-ext))
|
(filename (conlanging--get-filename-no-ext))
|
||||||
(text (completing-read "Text: " `(,heading) nil nil heading)))
|
(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 ;
|
; Text transformation ;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user