سؤال

What's the best way to get org-mode to use smart quotes on HTML export?

Is there a way to use Smartypants?

I added this to my .emacs but it doesn't work.

     (setq org-export-html-special-string-regexps
        (cons
         '(" \"\\([^\"]+\\)\"" . " “\\1”")
         org-export-html-special-string-regexps))
هل كانت مفيدة؟

المحلول

Add this to your Emacs configuration file:

(setq org-export-with-smart-quotes t)
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top