# 直引号

**URL:** https://meta.discourse.org/t/straight-quotes/135662
**Category:** Support
**Created:** [2019年十二月11日 15:24 UTC](https://meta.discourse.org/t/straight-quotes/135662 "2019-12-11T15:24:21Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)
#### Post date: [2019年十二月11日 17:25 UTC](https://meta.discourse.org/t/straight-quotes/135662/2 "2019-12-11T17:25:42Z")

</div>

目前，似乎无法通过 `markdown typographer quotation marks` 站点设置将花引号替换为直引号。该设置的初衷是为了[支持德语和法语等语言](https://meta.discourse.org/t/german-quotation-marks/121944/4)，这些语言需要使用四种不同的引号字符。

当勾选 `enable markdown typographer` 站点设置时，双引号仅在第一双引号后紧跟空格，或最后一双引号前紧跟空格的情况下，才会被渲染为直引号。

### 直引号：

- " "
- " foo"
- "bar "
- " foo bar"
- "foo bar "

### 花引号：

- “”
- “foo”
- “foo bar”

单引号（即撇号）将始终被渲染为花引号。

您希望替换花引号是否有特定原因？如果是为了分享代码，我们建议使用代码块来绕过花引号的自动格式化：

使用以下语法：

````plaintext
```
'single quote'
"double quote"
```

````

将生成：

```plaintext
'single quote'
"double quote"

```

---

_[View the full topic](https://meta.discourse.org/t/straight-quotes/135662)._
