# Set smart quotes settings for each page?

**URL:** <https://talk.jekyllrb.com/t/set-smart-quotes-settings-for-each-page/3791>\
**Category:** Uncategorized\
**Created:** [January 10, 2020, 8:56am UTC](https://talk.jekyllrb.com/t/set-smart-quotes-settings-for-each-page/3791 "2020-01-10T08:56:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Koos](https://avatars.discourse-cdn.com/v4/letter/k/2acd7d/32.png) [@Koos](https://talk.jekyllrb.com/u/Koos)\
**Post date:** [January 10, 2020, 8:56am UTC](https://talk.jekyllrb.com/t/set-smart-quotes-settings-for-each-page/3791/1 "2020-01-10T08:56:35Z")

</div>

By default, Kramdown converts ‘straight’ quotation marks ‘curly’ ones. We even can set [the style](https://stackoverflow.com/questions/25596792/how-do-i-turn-off-smart-quotes-in-jekyll#25597026) we want to use for that in `_config.yml`, which is cool. Now I want to support multiple languages and for instance have a different set of settings for French pages. Would that be possible?

---

<div class="post-metadata">

**Author:** ![Koos](https://avatars.discourse-cdn.com/v4/letter/k/2acd7d/32.png) [@Koos](https://talk.jekyllrb.com/u/Koos)\
**Post date:** [October 19, 2020, 7:11pm UTC](https://talk.jekyllrb.com/t/set-smart-quotes-settings-for-each-page/3791/2 "2020-10-19T19:11:15Z")

</div>

Using the `<q>` tag [looks useful](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q). We apparently can tell Jekyll what characters to use for smart quotes, but unfortunately not to use these elements. I think this would require a plugin, unless it’s [added to Jekyll itself](https://github.com/jekyll/jekyll/issues/8441).

---

<div class="post-metadata">

**Author:** ![Koos](https://avatars.discourse-cdn.com/v4/letter/k/2acd7d/32.png) [@Koos](https://talk.jekyllrb.com/u/Koos)\
**Post date:** [October 20, 2020, 1:24pm UTC](https://talk.jekyllrb.com/t/set-smart-quotes-settings-for-each-page/3791/3 "2020-10-20T13:24:32Z")

</div>

One of the Kramdown maintainers confirmed there is (and will be) no way to automatically insert `<q>` tags. But! He suggested I can just replace “” with `<q></q>` on the template level!

As long as one is careful with the use of quotation marks, this works:

```auto
{{ content | replace: '“', '<q>' | replace: '”', '</q>' }}

```
