emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/markdown-mode 28a725b13d 2/2: Merge pull request #770 from


From: ELPA Syncer
Subject: [nongnu] elpa/markdown-mode 28a725b13d 2/2: Merge pull request #770 from jrblevin/issue-769
Date: Sat, 27 May 2023 02:01:28 -0400 (EDT)

branch: elpa/markdown-mode
commit 28a725b13d6ac0858dd8f5a143daf5b00e7e78ec
Merge: b7da085037 9b2ce2c98e
Author: Shohei YOSHIDA <syohex@gmail.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #770 from jrblevin/issue-769
    
    Add an example of live preview mode customize
---
 README.md | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/README.md b/README.md
index 3df382ef60..40ba648727 100644
--- a/README.md
+++ b/README.md
@@ -352,6 +352,19 @@ can obtain a list of all keybindings by pressing <kbd>C-c 
C-h</kbd>.
     preview window to appear at the bottom or right, you can
     customize `markdown-split-window-direction`.
 
+      ```lisp
+      ;; Set custom markdown preview function
+      (setq markdown-live-preview-window-function 
#'my-markdown-preview-function)
+
+      ;; always open the preview window at the right
+      (setq markdown-split-window-direction 'right)
+      ;; always open the preview window at the bottom
+      (setq markdown-split-window-direction 'below)
+
+      ;; delete exported HTML file after markdown-live-preview-export is called
+      (setq markdown-live-preview-delete-export 'delete-on-export)
+      ```
+
     To summarize:
 
       - <kbd>C-c C-c m</kbd>: `markdown-command` > `*markdown-output*` buffer.



reply via email to

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