summaryrefslogtreecommitdiffhomepage
path: root/custom
diff options
context:
space:
mode:
Diffstat (limited to 'custom')
-rw-r--r--custom/jao-custom-eww.el2
-rw-r--r--custom/jao-custom-org.el9
2 files changed, 10 insertions, 1 deletions
diff --git a/custom/jao-custom-eww.el b/custom/jao-custom-eww.el
index 1b9eb9b..2dc0d0a 100644
--- a/custom/jao-custom-eww.el
+++ b/custom/jao-custom-eww.el
@@ -183,7 +183,7 @@
(shr-blocked-images nil)
(shr-inhibit-images t)
(shr-max-image-proportion 0.8)
- (shr-sliced-image-height 0.7)
+ (shr-sliced-image-height 0.2)
(shr-hr-line ?―)))
(use-package eww
diff --git a/custom/jao-custom-org.el b/custom/jao-custom-org.el
index a0b1b8b..7e84e76 100644
--- a/custom/jao-custom-org.el
+++ b/custom/jao-custom-org.el
@@ -362,6 +362,15 @@
(use-package jao-words
:commands (jao-words-show-stats))
+(use-package org-wc :ensure t)
+
+(defun jao-org-num-format-roman (numbers)
+ (if (> (length numbers) 1)
+ ""
+ (format "%s " (org-export-number-to-roman (car numbers)))))
+
+;; (setq org-num-format-function #'jao-org-num-format-roman)
+
;;; Keybindings
(define-key mode-specific-map [?a] 'org-agenda)
(define-key org-mode-map "\C-cv" 'jao-org-copy-link-at-point)