Skip to content

Commit

Permalink
Merge pull request #856 from mattiasb/feature/safe-css-paths
Browse files Browse the repository at this point in the history
Mark `markdown-css-paths` safe as a file local var
  • Loading branch information
syohex authored Nov 17, 2024
2 parents 6f59f72 + 46e7012 commit 1716694
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
- Show mode toggle message only if it is called interactively
- Copy `markdown-css-paths` in the output buffer [GH-834][]
- Change temporary buffer name according to the Emacs naming convention [GH-848][]
- Mark `markdown-css-paths` safe as file local variables [GH-834][]

[gh-780]: https://github.com/jrblevin/markdown-mode/issues/780
[gh-802]: https://github.com/jrblevin/markdown-mode/issues/802
Expand Down
1 change: 1 addition & 0 deletions markdown-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ Math support can be enabled, disabled, or toggled later using
(defcustom markdown-css-paths nil
"List of URLs of CSS files to link to in the output XHTML."
:group 'markdown
:safe (apply-partially #'seq-every-p #'stringp)
:type '(repeat (string :tag "CSS File Path")))

(defcustom markdown-content-type "text/html"
Expand Down

0 comments on commit 1716694

Please sign in to comment.