From b261e8e9cfc955cd4e21087f9e7c51a286ef6b5f Mon Sep 17 00:00:00 2001 From: TEC Date: Sun, 19 Jul 2020 18:02:42 +0800 Subject: [PATCH] Describe html src export modifications more, typo --- config.org | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config.org b/config.org index a105179..7df14a0 100644 --- a/config.org +++ b/config.org @@ -1757,8 +1757,8 @@ will also be the width of all other printable characters." mu4e-headers-unread-mark (cons "u" (mu4e~normalised-icon "eye-slash" :v-adjust 0.05)))) #+END_SRC -To account for the increase width of each flag charachter, and make perform a -few more visual tweaks, we'll tweak the headers a bit. +To account for the increase width of each flag character, and make perform a +few more visual tweaks, we'll tweak the headers a bit #+BEGIN_SRC emacs-lisp (after! mu4e @@ -4665,6 +4665,10 @@ By wrapping the ~
~ element in a ~
~ block, we can obtain collapsabl blocks with no CSS, though we will toss a little in anyway to have this looking somewhat spiffy. +We can take our modification a step further, and add a gutter on the side of the +Src block containing both an anchor referencing the current block, and a button +to copy the content of the block. + #+NAME: Src blocks #+BEGIN_SRC emacs-lisp (defadvice! org-html-src-block-collapsable (orig-fn src-block contents info)