7
如何关闭Jekyll中的智能引号和撇号?它正在打破我的一大堆拼写检查程序。如何关闭Jekyll中的智能报价?
我希望像doesn't
这样的单词留在一个单引号中。相反,Jekyll正在将它们转换为诸如doesnt’
之类的智能引号,并且我需要它们保留单引号以进行拼写检查。
这是我在_config.yml尝试:
kramdown:
smartquotes: ["apos", "rsquo", "ldquo", "rdquo"]
我使用kramdown。
这里是我的整个配置:
name: Bitcoin Bulls
markdown: kramdown
timezone: America/Detroit
highlighter: pygments
author: David Smith
safe: true
lsi: false
permalink: none
url: http://www.bitcoinbulls.net
exclude: [CNAME, Gemfile, Gemfile.lock, '*.less', gruntfile.js, custom_css, node_modules, README.md, '*.svg', '*.docx']
include: [glyphicons-halflings-regular.svg]
kramdown:
smart_quotes: ["rdquo", "rsquo", "ldquo", "rdquo"]
relative_permalinks: false
defaults:
-
scope:
path: "" # empty string for all files
values:
layout: "default"
-
scope:
path: "" # empty string for all files
type: post
values:
layout: "post"
is_post: true
完全保存了一天 - 感谢解释 – 2015-02-18 21:56:40