File tree Expand file tree Collapse file tree 4 files changed +3
-18
lines changed
src/content/partials/style-guide Expand file tree Collapse file tree 4 files changed +3
-18
lines changed Original file line number Diff line number Diff line change @@ -9,30 +9,22 @@ import { Code } from "~/components";
99
1010** Don't do this!**
1111
12- `` ` {props.code}` ` `
12+ ` {props.code} `
1313
1414** Do this!**
1515
16- ` <code>{props.code}</code> `
17- <code >{ props .code } </code >
16+ <p ><code >{ props .code } </code ></p >
1817
1918<hr />
2019
2120#### Codeblocks
2221
2322** Don't do this!**
2423
25- ````
26- ```js
27- {props.code}
28- ```
29- ````
30-
3124``` js
3225{props .code }
3326```
3427
3528** Do this!**
3629
37- ` <Code code={props.code} lang="js" /> `
3830<Code code = { props .code } lang = " js" />
Original file line number Diff line number Diff line change 99
1010** Do this!**
1111
12- ` <img src={props.image} alt="Alt text" /> `
1312<img src = { props .image } alt = " Alt text" />
Original file line number Diff line number Diff line change @@ -7,14 +7,10 @@ params:
77
88This will link to ` /style-guide/components/%7Bprops.link%7D ` .
99
10- ` [Markdown link]({props.link}) `
11-
1210[ Markdown link] ( {props.link} )
1311
1412** Do this!**
1513
1614This will link to ` style-guide/components/render/#links ` .
1715
18- ` <a href={props.link}>JSX link</a> `
19-
20- <a href = { props .link } >JSX link</a >
16+ <p ><a href = { props .link } >JSX link</a ></p >
Original file line number Diff line number Diff line change 66
77** Don't do this!**
88
9- ` {props.dont} `
109{ props .dont }
1110
1211** Do this!**
1312
14- ` <strong>{props.do}</strong> `
1513<strong >{ props .do } </strong >
You can’t perform that action at this time.
0 commit comments