diff --git a/CHANGES.md b/CHANGES.md index cf44c1d2..94515e1f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -91,6 +91,7 @@ - Support horizontal rules consisting of underscores. - Change default character encoding to UTF-8. ([GH-340][], [GH-350][]) + - Allow relative CSS stylesheets paths. * Bug fixes: diff --git a/README.md b/README.md index ae5436de..a3940f8d 100644 --- a/README.md +++ b/README.md @@ -754,7 +754,8 @@ provides an interface to all of the possible customizations: (default: `t`). * `markdown-css-paths` - CSS files to link to in XHTML output - (default: `nil`). + (default: `nil`). These can be either local files (relative or + absolute) or URLs. * `markdown-content-type` - used to set to the `http-equiv` attribute to be included in the XHTML `
` block (default: diff --git a/markdown-mode.el b/markdown-mode.el index 3e0f4ba2..60b2dac4 100644 --- a/markdown-mode.el +++ b/markdown-mode.el @@ -320,7 +320,7 @@ Math support can be enabled, disabled, or toggled later using :package-version '(markdown-mode . "2.4")) (defcustom markdown-css-paths nil - "URL of CSS file to link to in the output XHTML." + "List of URLs of CSS files to link to in the output XHTML." :group 'markdown :type '(repeat (string :tag "CSS File Path"))) @@ -7320,7 +7320,9 @@ Standalone XHTML output is identified by an occurrence of (defun markdown-stylesheet-link-string (stylesheet-path) (concat "")) (defun markdown-add-xhtml-header-and-footer (title)