guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

21/35: gnu: Add emacs-markdown-preview-mode.


From: guix-commits
Subject: 21/35: gnu: Add emacs-markdown-preview-mode.
Date: Sun, 14 Apr 2019 11:42:26 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit e626d7ee8fb8a7b624b01882b009185dafc0fad5
Author: Brian Leung <address@hidden>
Date:   Sat Apr 13 01:10:36 2019 +0200

    gnu: Add emacs-markdown-preview-mode.
    
    * gnu/packages/emacs-xyz.scm (emacs-markdown-preview-mode): New variable.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 59345ba..648cdcb 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]