How do I turn off smart quotes and apostrophes in Jekyll? It is breaking my gulp spellcheck process.
I want words like doesn't
to stay with a single straight quote. Instead Jekyll is converting them to smart quotes like doesnt’
and I need them to stay single quoted for spell checking.
This is what I tried in my _config.yml:
kramdown:
smartquotes: ["apos", "rsquo", "ldquo", "rdquo"]
I'm using kramdown.
Here is my whole config:
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