Skip to content

Commit

Permalink
don't apply brush for CSSSyntax + remove pre (#3149)
Browse files Browse the repository at this point in the history
```
s/<pre.*>(\{\{csssyntax(\(.*\))?\}\})\n?</pre>/$1/g
```
  • Loading branch information
fiji-flo authored Mar 15, 2021
1 parent 61fb32a commit f4fb4c2
Show file tree
Hide file tree
Showing 573 changed files with 575 additions and 605 deletions.
2 changes: 1 addition & 1 deletion files/en-us/mdn/kitchensink/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ <h3 id="Formal_syntax">Formal syntax</h3>

<p><em>The formal syntax must be taken from the spec and added to the <a href="https://github.com/mdn/data">MDN data repository</a>. It is an important tool to get precise syntax information for advanced users.</em></p>

<pre class="brush: css">{{CSSSyntax("font-stretch")}}</pre>
{{CSSSyntax("font-stretch")}}

<h2>Interactive Examples</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ <h3 id="Values">Values</h3>

<h3 id="Formal_syntax">Formal syntax</h3>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h3 id="CSSSyntax_section"><code>\{{CSSSyntax}}</code> section</h3>

<h2 id="Syntax">Syntax</h2>

<pre class="brush: css">{{CSSSyntax}}</pre>
{{CSSSyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/--_star_/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h2 id="Syntax">Syntax</h2>

<h3 id="Formal_syntax">Formal syntax</h3>

<pre class="brush: css">{{CSSSyntax}}</pre>
{{CSSSyntax}}

<h2 id="Example">Example</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-moz-context-properties/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-moz-float-edge/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-moz-image-region/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{CSSSyntax}}</pre>
{{CSSSyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-moz-orient/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{CSSSyntax}}</pre>
{{CSSSyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-moz-outline-radius-topleft/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{CSSSyntax}}</pre>
{{CSSSyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{CSSSyntax}}</pre>
{{CSSSyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-moz-outline-radius/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-moz-user-focus/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-moz-user-input/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{CSSSyntax}}</pre>
{{CSSSyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-webkit-border-before/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-webkit-box-reflect/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{CSSSyntax}}</pre>
{{CSSSyntax}}

<h2 id="Specifications">Specifications</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-webkit-line-clamp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{CSSSyntax}}</pre>
{{CSSSyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-webkit-mask-attachment/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{CSSSyntax}}</pre>
{{CSSSyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-webkit-mask-box-image/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{CSSSyntax}}</pre>
{{CSSSyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-webkit-mask-composite/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{CSSSyntax}}</pre>
{{CSSSyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-webkit-mask-position-x/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-webkit-mask-position-y/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-webkit-mask-repeat-x/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-webkit-mask-repeat-y/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-webkit-overflow-scrolling/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-webkit-print-color-adjust/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{CSSSyntax}}</pre>
{{CSSSyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-webkit-tap-highlight-color/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Specifications">Specifications</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-webkit-text-fill-color/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-webkit-text-security/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{CSSSyntax}}</pre>
{{CSSSyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-webkit-text-stroke-color/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-webkit-text-stroke-width/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-webkit-text-stroke/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/-webkit-touch-callout/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
3 changes: 1 addition & 2 deletions files/en-us/web/css/@charset/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ <h2 id="Syntax">Syntax</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}
</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/@counter-style/fallback/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
3 changes: 1 addition & 2 deletions files/en-us/web/css/@counter-style/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ <h3 id="Descriptors">Descriptors</h3>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}
</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/@counter-style/negative/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/@counter-style/pad/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/@counter-style/prefix/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/@counter-style/range/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/@counter-style/speak-as/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h2 id="Formal_definition">Formal definition</h2>

<h2 id="Formal_syntax">Formal syntax</h2>

<pre class="brush: css">{{csssyntax}}</pre>
{{csssyntax}}

<h2 id="Examples">Examples</h2>

Expand Down
Loading

0 comments on commit f4fb4c2

Please sign in to comment.