File tree 3 files changed +16
-5
lines changed
3 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 12
12
* Bug fixes:
13
13
- ` markdown-export ` should not output stderr content to output file
14
14
- Hide wikilink markup as part of ` markdown-toggle-markup-hiding ` [ GH-847 ] [ ]
15
+ - Angle URL fontify issue which was introduced by [ GH-861 ] [ ] [ GH-895 ] [ ]
15
16
16
17
* Improvements:
17
18
- Support drag and drop features on Windows and multiple files' drag and drop
18
19
- Added cmark and cmark-gfm to the markdown command list.
19
20
- Disable ` imenu-submenus-on-top ` by default [ GH-882 ] [ ]
20
21
21
22
[ gh-847 ] : https://github.com/jrblevin/markdown-mode/issues/847
23
+ [ gh-861 ] : https://github.com/jrblevin/markdown-mode/pull/861
22
24
[ gh-882 ] : https://github.com/jrblevin/markdown-mode/issues/882
23
25
[ gh-891 ] : https://github.com/jrblevin/markdown-mode/issues/891
26
+ [ gh-895 ] : https://github.com/jrblevin/markdown-mode/issues/895
24
27
25
28
# Markdown Mode 2.7
26
29
Original file line number Diff line number Diff line change @@ -8383,14 +8383,15 @@ Translate filenames using `markdown-filename-translate-function'."
8383
8383
(url-end (match-end 2)))
8384
8384
(unless (or (markdown-in-inline-code-p url-start)
8385
8385
(markdown-in-inline-code-p url-end))
8386
- (let* (;; URI part
8387
- (up (list 'keymap markdown-mode-mouse-map
8388
- 'face 'markdown-plain-url-face
8389
- 'font-lock-multiline t)))
8386
+ (let ((mp (append '(face markdown-markup-face) (cl-copy-list markdown--markup-props)))
8387
+ ;; URI part
8388
+ (up (list 'keymap markdown-mode-mouse-map
8389
+ 'face 'markdown-plain-url-face
8390
+ 'font-lock-multiline t)))
8390
8391
(when markdown-mouse-follow-link
8391
8392
(setq up (append up '(mouse-face markdown-highlight-face))))
8392
8393
(dolist (g '(1 3))
8393
- (add-text-properties (match-beginning g) (match-end g) markdown--markup-props ))
8394
+ (add-text-properties (match-beginning g) (match-end g) mp ))
8394
8395
(add-text-properties url-start url-end up)
8395
8396
t)))))
8396
8397
Original file line number Diff line number Diff line change @@ -2401,6 +2401,13 @@ Detail: https://github.com/jrblevin/markdown-mode/pull/674"
2401
2401
"[cd\\_z\\_path.m](http://jblevins.org/research/centroid/cd_z_path.m)"
2402
2402
(markdown-test-range-face-equals 17 65 'markdown-url-face)))
2403
2403
2404
+ (ert-deftest test-markdown-font-lock/angle-url ()
2405
+ "Test URL highlighting with comma and parenthesis.
2406
+ Detail: https://github.com/jrblevin/markdown-mode/issues/895"
2407
+ (markdown-test-string "<https://github.com/jonathanchu/atom-one-dark-theme>"
2408
+ (markdown-test-range-has-face 1 1 'markdown-markup-face)
2409
+ (markdown-test-range-has-face 52 52 'markdown-markup-face)))
2410
+
2404
2411
(ert-deftest test-markdown-font-lock/url-face-with-comma-and-parenthesis ()
2405
2412
"Test URL highlighting with comma and parenthesis.
2406
2413
Detail: https://github.com/jrblevin/markdown-mode/issues/649"
You can’t perform that action at this time.
0 commit comments