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