2

I've searched high & low for any documentation on this—without any luck.

I use the Gatsby starter-blog template for my website. My website is in Norwegian and thus should use French guillemets (« ») instead of “ and ” as quotation marks.

How do I change the automatic smart-quote behavior? Is it an option in the gatsby-remark-smartypants plugin? Is there some sort of library out there that I can use?

I've been able to set the website's language to Norwegian in seo.js.

Any help is greatly appreciated!

Magnus Kolstad
  • 407
  • 1
  • 6
  • 17

1 Answers1

0

I think you should wrap your quotes in inline quotation element so the quotation marks are displayed correctly based on the language you set on the html element.

VilleKoo
  • 2,827
  • 2
  • 14
  • 23
  • That is a dreary method. I'd like the ability to change the Gatsby automation so that `"` in Markdown becomes `«` or `»`. – Magnus Kolstad Oct 21 '21 at 13:51