aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Leung <bkleung89@gmail.com>2019-04-13 01:10:36 +0200
committerLudovic Courtès <ludo@gnu.org>2019-04-14 17:42:10 +0200
commite626d7ee8fb8a7b624b01882b009185dafc0fad5 (patch)
tree592cb5af5856e68599db63e67aec7cae33822765
parent8d7da6f0ca96060abc3a44b34f972c94076c9523 (diff)
downloadguix-e626d7ee8fb8a7b624b01882b009185dafc0fad5.tar.gz
guix-e626d7ee8fb8a7b624b01882b009185dafc0fad5.zip
gnu: Add emacs-markdown-preview-mode.
* gnu/packages/emacs-xyz.scm (emacs-markdown-preview-mode): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/emacs-xyz.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 59345badf5..648cdcb08b 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -14736,6 +14736,32 @@ invoked.")
url-encoded parameters, as well as web sockets.")
(license license:gpl3+))))
+(define-public emacs-markdown-preview-mode
+ (package
+ (name "emacs-markdown-preview-mode")
+ (version "0.9.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ancane/markdown-preview-mode")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1d1id99gagymvzdfa1mwqh8y3szm8ii47rpijkfi1qnifjg5jaq9"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("emacs-markdown-mode" ,emacs-markdown-mode)
+ ("emacs-websocket" ,emacs-websocket)
+ ("emacs-web-server" ,emacs-web-server)))
+ (arguments '(#:include '("\\.el$" "\\.html$")))
+ (home-page "https://github.com/ancane/markdown-preview-mode")
+ (synopsis "Live web development in Emacs")
+ (description "This package provides a minor mode for preview of Markdown
+files, and sends rendered Markdown to a web browser.")
+ (license license:gpl3+)))
+
(define-public emacs-semantic-refactor
;; The last release, 0.5, was made on 2015-07-26 and there have been 47
;; commits since then.