diff options
author | Yuchen Pei <id@ypei.org> | 2025-07-04 09:53:01 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2025-07-04 09:53:01 +1000 |
commit | f5d7181e0ce7fd8af713930a960d1d7af99cb7bc (patch) | |
tree | fd8399c1ac5187592843739e4588c34b6a9b1ca5 /emacs/.emacs.d/init/ycp-markup.el | |
parent | f75406125d0d6f1e0e92aeedf85290e587e0ed24 (diff) |
[emacs] Render ol in nov without numbering
Diffstat (limited to 'emacs/.emacs.d/init/ycp-markup.el')
-rw-r--r-- | emacs/.emacs.d/init/ycp-markup.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init/ycp-markup.el b/emacs/.emacs.d/init/ycp-markup.el index c511d55..c331f49 100644 --- a/emacs/.emacs.d/init/ycp-markup.el +++ b/emacs/.emacs.d/init/ycp-markup.el @@ -120,6 +120,7 @@ "F" #'my-nov-skim-forward "B" #'my-nov-skim-backward) (add-to-list 'nov-shr-rendering-functions '(span . my-nov-render-span)) + (add-to-list 'nov-shr-rendering-functions '(ol . my-nov-render-ol)) (add-hook 'nov-mode-hook (lambda () (add-hook 'post-command-hook #'my-nov-update-mode-line nil t))) |