Bu amaçla özelleştirilebilir değişken olduğu ortaya çıkıyor:
Sadece benim
.emacs
bu koymak (sert çekirdekli Emacs Lisp kullanıcı olmamak) Yani şimdilik
org-export-html-protect-char-alist is a variable defined in `org-html.el'.
Its value is (("&" . "&") ("<" . "<") (">" . ">"))
Documentation:
Alist of characters to be converted by `org-html-protect'.
You can customize this variable.
This variable was introduced, or its default value was changed, in
version 24.1 of Emacs.
:
(defcustom org-export-html-protect-char-alist
'(("&" . "&")
("<" . "<")
(">" . ">")
(":turtle:" . "🐢")
(":dash:" . "💨")
(":-)" . "😊")
(":-(" . "😞"))
"Alist of characters to be converted by `org-html-protect'."
:group 'org-export-html
:version "24.1"
:type '(repeat (cons (string :tag "Character")
(string :tag "HTML equivalent"))))
Bu güzel çalışır, ancak özelleştirilebilir değişkeni eklemenin daha iyi bir yolu olabilir mi?