From debc346acfa1e3d671a2c77eaadb66fd8ee8fc8c Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Sun, 15 May 2022 00:38:11 +0200 Subject: [PATCH] [Emacs] Org-mode-like code-block editing for Markdown --- org/config/emacs.org | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/org/config/emacs.org b/org/config/emacs.org index 1f4450a..151508a 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -6521,6 +6521,15 @@ Markdown file quickly. That’s neat! "cP" #'vmd-mode)) #+end_src +Lastly, ~edit-indirect~ is a package that allows to edit code blocks as +in org-mode but with other major modes, such as code blocks in +Markdown. +#+begin_src emacs-lisp +(use-package edit-indirect + :straight (:build t) + :defer t) +#+end_src + **** Nginx :PROPERTIES: :CUSTOM_ID: Packages-Configuration-Programming-languages-DSLs-Nginxjiz5fl6184j0