diff options
author | Florian Dieminger <me@fiji-flo.de> | 2021-03-15 18:56:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-15 18:56:01 +0100 |
commit | 1bbb4d9683edd28fc947b17804e5b882184ecfcb (patch) | |
tree | 032aa6be1de60c220df8cf308806e05532f58aec /files/zh-cn/web/css/@font-face | |
parent | 8140842a1b9d12c52c2b5db11352e4f5d91058d7 (diff) | |
download | translated-content-1bbb4d9683edd28fc947b17804e5b882184ecfcb.tar.gz translated-content-1bbb4d9683edd28fc947b17804e5b882184ecfcb.tar.bz2 translated-content-1bbb4d9683edd28fc947b17804e5b882184ecfcb.zip |
remove pre for CSSSyntaxd (#175)
```
s/<pre.*>(\{\{csssyntax(\(.*\))?\}\})\n?</pre>/$1/g
```
Diffstat (limited to 'files/zh-cn/web/css/@font-face')
5 files changed, 5 insertions, 5 deletions
diff --git a/files/zh-cn/web/css/@font-face/font-display/index.html b/files/zh-cn/web/css/@font-face/font-display/index.html index be69002f0d..1129b0be2e 100644 --- a/files/zh-cn/web/css/@font-face/font-display/index.html +++ b/files/zh-cn/web/css/@font-face/font-display/index.html @@ -52,7 +52,7 @@ font-display:optional;</pre> <h3 id="形式化语法">形式化语法</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="例子">例子</h2> diff --git a/files/zh-cn/web/css/@font-face/font-family/index.html b/files/zh-cn/web/css/@font-face/font-family/index.html index 1002d02fb4..9c22740f13 100644 --- a/files/zh-cn/web/css/@font-face/font-family/index.html +++ b/files/zh-cn/web/css/@font-face/font-family/index.html @@ -30,7 +30,7 @@ font-family: examplefont; <h3 id="Formal_syntax">Formal syntax</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="示例">示例</h2> diff --git a/files/zh-cn/web/css/@font-face/font-style/index.html b/files/zh-cn/web/css/@font-face/font-style/index.html index a8c5e39654..10d0af4e08 100644 --- a/files/zh-cn/web/css/@font-face/font-style/index.html +++ b/files/zh-cn/web/css/@font-face/font-style/index.html @@ -33,7 +33,7 @@ font-style: oblique;</pre> <h3 id="Formal_syntax">Formal syntax</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples">Examples</h2> diff --git a/files/zh-cn/web/css/@font-face/index.html b/files/zh-cn/web/css/@font-face/index.html index 1f5430e318..e362aaa835 100644 --- a/files/zh-cn/web/css/@font-face/index.html +++ b/files/zh-cn/web/css/@font-face/index.html @@ -36,7 +36,7 @@ translation_of: Web/CSS/@font-face <h2 id="语法">语法</h2> -<pre class="notranslate">{{csssyntax}}</pre> +{{csssyntax}} <h3 id="取值">取值</h3> diff --git a/files/zh-cn/web/css/@font-face/src/index.html b/files/zh-cn/web/css/@font-face/src/index.html index e209486348..5b4370ea1e 100644 --- a/files/zh-cn/web/css/@font-face/src/index.html +++ b/files/zh-cn/web/css/@font-face/src/index.html @@ -44,7 +44,7 @@ src: local(font), url(path/to/font.svg) format("svg"), <h3 id="Formal_syntax">Formal syntax</h3> -<pre class="syntaxbox">{{csssyntax}}</pre> +{{csssyntax}} <h2 id="Examples">Examples</h2> |