【问题标题】:how do I get org-mode to use smart quotes on HTML export? [duplicate]如何让 org-mode 在 HTML 导出中使用智能引号? [复制]
【发布时间】:2013-01-30 02:07:22
【问题描述】:

让 org-mode 在 HTML 导出中使用智能引号的最佳方法是什么?

有没有办法使用Smartypants

我将此添加到我的 .emacs 中,但它不起作用。

     (setq org-export-html-special-string-regexps
        (cons
         '(" \"\\([^\"]+\\)\"" . " “\\1”")
         org-export-html-special-string-regexps))

【问题讨论】:

  • 呃,同一个问题你问了两次?

标签: emacs org-mode smartypants


【解决方案1】:

将此添加到您的 Emacs 配置文件中:

(setq org-export-with-smart-quotes t)

【讨论】:

    猜你喜欢
    • 2013-02-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-02-19
    • 2012-02-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多