nit(markdown): revise comments & reformat

This commit is contained in:
Henrik Lissner 2024-07-11 03:37:37 -04:00
parent a6ba70aed7
commit c45318d493
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
3 changed files with 9 additions and 6 deletions

View file

@ -67,9 +67,9 @@ capture, the end position, and the output buffer.")
fill-nobreak-predicate (cons #'markdown-code-block-at-point-p
fill-nobreak-predicate))
;; HACK Prevent mis-fontification of YAML metadata blocks in `markdown-mode'
;; which occurs when the first line contains a colon in it. See
;; jrblevin/markdown-mode#328.
;; HACK: Prevent mis-fontification of YAML metadata blocks in `markdown-mode'
;; which occurs when the first line contains a colon in it. See
;; jrblevin/markdown-mode#328.
(defadvice! +markdown-disable-front-matter-fontification-a (&rest _)
:override #'markdown-match-generic-metadata
(ignore (goto-char (point-max))))