From b8eb175c709ad9cff259b4326d8c9a344a4381ba Mon Sep 17 00:00:00 2001 From: TEC Date: Wed, 20 Jan 2021 18:22:58 +0800 Subject: [PATCH 5/5] ox-html.el: add lang label to authinfo src blocks * lisp/ox-html.el (org-html-style-default): `authinfo-mode' is defined in Emacs 27. As such, in the CSS add an "Authinfo" lang label to authinfo src blocks. --- lisp/ox-html.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index e83648726..e5e82a5d8 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -299,6 +299,7 @@ property on the headline itself.") /* Languages per Org manual */ pre.src-asymptote:before { content: 'Asymptote'; } pre.src-awk:before { content: 'Awk'; } + pre.src-authinfo::before { content: 'Authinfo'; } pre.src-C:before { content: 'C'; } /* pre.src-C++ doesn't work in CSS */ pre.src-clojure:before { content: 'Clojure'; } -- 2.29.2