如何在组织模式导出上获取智能报价? [英] how to get smart quotes on org-mode export?
本文介绍了如何在组织模式导出上获取智能报价?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我导出为HTML时,如何让Emacs组织模式创建正确的排版标记,包括将直接引号转换为智能引号(卷曲引号),并转换连字符 ---
到m-dashes -
?
How do I get Emacs org-mode to create proper typographic marks when I export to HTML, including converting straight quotes to smart quotes ("curly quotes") and converting hyphens ---
to m-dashes —
?
推荐答案
现在内置于组织模式8.x。要激活它,请将以下内容添加到Emacs配置文件中:
This is now built into org-mode 8.x. To activate it, add the following to your Emacs configuration file:
(setq org-export-with-smart-quotes t)
它适用于单引号,双引号和撇号。
It works for single quotes, double quotes, and apostrophes.
资料来源:@Ista
Source: @Ista
这篇关于如何在组织模式导出上获取智能报价?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文