Attempted fixing link again

This commit is contained in:
j4nk 2023-09-05 00:12:07 -04:00
parent ae47e69c2a
commit dfc88a42f3
2 changed files with 3 additions and 2 deletions

View File

@ -71,7 +71,7 @@
"<mark>\\1</mark>"
;; Then links
(replace-regexp-in-string
"\\[\\([^\\[]*\\)](\\([a-zA-Z0-9:/\\.@-#_%&\\(\\)!\\?,]*\\))"
"\\[\\([^\\[]*\\)\\](\\([^ ]*\\))"
(concat (md4tj-begin-tag "a" (list '("href" "\\2"))) "\\1" (md4tj-end-tag "a"))
;; Then images
(replace-regexp-in-string

View File

@ -37,4 +37,5 @@ This is a div that has monospace text.
[Sam & Max Hit The Road](https://en.wikipedia.org/wiki/Sam_%26_Max_Hit_the_Road)
[The Void](https://en.wikipedia.org/wiki/The_Void_(video_game))
[The Operative: No One Lives Forever](https://en.wikipedia.org/wiki/The_Operative:_No_One_Lives_Forever)
[Joy, Departed](https://en.wikipedia.org/wiki/Talk:Joy,_Departed)
[Joy, Departed](https://en.wikipedia.org/wiki/Talk:Joy,_Departed)
[Logitech G13](https://support.logi.com/hc/en-us/articles/360023467053-G13-Technical-Specifications)