Skip to content

Commit 167460b

Browse files
committed
Fix MDX lint errors by replacing backticks with code tags
Replace backticks in TableCell components with <code> tags to fix MDX parsing issues: - typography/page.mdx: Fix property names and examples - breakpoints/page.mdx: Fix breakpoint names - group-selector/page.mdx: Fix selector names and role attribute
1 parent be28cb5 commit 167460b

File tree

3 files changed

+27
-27
lines changed

3 files changed

+27
-27
lines changed

apps/landing/src/app/(detail)/docs/api/group-selector/page.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,19 @@ Add `role="group"` to a parent element, then use `_groupHover`, `_groupFocus`, o
4444
</TableHead>
4545
<TableBody>
4646
<TableRow>
47-
<TableCell>`_groupHover`</TableCell>
48-
<TableCell>Parent with `role="group"` is hovered</TableCell>
47+
<TableCell><code>_groupHover</code></TableCell>
48+
<TableCell>Parent with <code>role="group"</code> is hovered</TableCell>
4949
</TableRow>
5050
<TableRow>
51-
<TableCell>`_groupFocus`</TableCell>
52-
<TableCell>Parent with `role="group"` is focused</TableCell>
51+
<TableCell><code>_groupFocus</code></TableCell>
52+
<TableCell>Parent with <code>role="group"</code> is focused</TableCell>
5353
</TableRow>
5454
<TableRow>
55-
<TableCell>`_groupActive`</TableCell>
56-
<TableCell>Parent with `role="group"` is active (pressed)</TableCell>
55+
<TableCell><code>_groupActive</code></TableCell>
56+
<TableCell>Parent with <code>role="group"</code> is active (pressed)</TableCell>
5757
</TableRow>
5858
<TableRow>
59-
<TableCell>`_groupFocusWithin`</TableCell>
59+
<TableCell><code>_groupFocusWithin</code></TableCell>
6060
<TableCell>Any element inside the group receives focus</TableCell>
6161
</TableRow>
6262
</TableBody>

apps/landing/src/app/(detail)/docs/devup/breakpoints/page.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,37 +32,37 @@ Devup UI uses a mobile-first responsive design system with 6 breakpoints. Use ar
3232
<TableBody>
3333
<TableRow>
3434
<TableCell>0</TableCell>
35-
<TableCell>`xs`</TableCell>
35+
<TableCell><code>xs</code></TableCell>
3636
<TableCell>0px - 479px</TableCell>
3737
<TableCell>Mobile (portrait)</TableCell>
3838
</TableRow>
3939
<TableRow>
4040
<TableCell>1</TableCell>
41-
<TableCell>`sm`</TableCell>
41+
<TableCell><code>sm</code></TableCell>
4242
<TableCell>480px - 767px</TableCell>
4343
<TableCell>Mobile (landscape)</TableCell>
4444
</TableRow>
4545
<TableRow>
4646
<TableCell>2</TableCell>
47-
<TableCell>`md`</TableCell>
47+
<TableCell><code>md</code></TableCell>
4848
<TableCell>768px - 991px</TableCell>
4949
<TableCell>Tablet</TableCell>
5050
</TableRow>
5151
<TableRow>
5252
<TableCell>3</TableCell>
53-
<TableCell>`lg`</TableCell>
53+
<TableCell><code>lg</code></TableCell>
5454
<TableCell>992px - 1279px</TableCell>
5555
<TableCell>Small desktop</TableCell>
5656
</TableRow>
5757
<TableRow>
5858
<TableCell>4</TableCell>
59-
<TableCell>`xl`</TableCell>
59+
<TableCell><code>xl</code></TableCell>
6060
<TableCell>1280px - 1599px</TableCell>
6161
<TableCell>Desktop</TableCell>
6262
</TableRow>
6363
<TableRow>
6464
<TableCell>5</TableCell>
65-
<TableCell>`2xl`</TableCell>
65+
<TableCell><code>2xl</code></TableCell>
6666
<TableCell>1600px+</TableCell>
6767
<TableCell>Large desktop</TableCell>
6868
</TableRow>

apps/landing/src/app/(detail)/docs/devup/typography/page.mdx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -80,39 +80,39 @@ Each typography style can include:
8080
</TableHead>
8181
<TableBody>
8282
<TableRow>
83-
<TableCell>`fontFamily`</TableCell>
83+
<TableCell><code>fontFamily</code></TableCell>
8484
<TableCell>Font family name</TableCell>
85-
<TableCell>`"Pretendard"`</TableCell>
85+
<TableCell><code>"Pretendard"</code></TableCell>
8686
</TableRow>
8787
<TableRow>
88-
<TableCell>`fontSize`</TableCell>
88+
<TableCell><code>fontSize</code></TableCell>
8989
<TableCell>Font size</TableCell>
90-
<TableCell>`"16px"`</TableCell>
90+
<TableCell><code>"16px"</code></TableCell>
9191
</TableRow>
9292
<TableRow>
93-
<TableCell>`fontWeight`</TableCell>
93+
<TableCell><code>fontWeight</code></TableCell>
9494
<TableCell>Font weight (number or string)</TableCell>
95-
<TableCell>`700` or `"bold"`</TableCell>
95+
<TableCell><code>700</code> or <code>"bold"</code></TableCell>
9696
</TableRow>
9797
<TableRow>
98-
<TableCell>`fontStyle`</TableCell>
98+
<TableCell><code>fontStyle</code></TableCell>
9999
<TableCell>Font style</TableCell>
100-
<TableCell>`"normal"` or `"italic"`</TableCell>
100+
<TableCell><code>"normal"</code> or <code>"italic"</code></TableCell>
101101
</TableRow>
102102
<TableRow>
103-
<TableCell>`lineHeight`</TableCell>
103+
<TableCell><code>lineHeight</code></TableCell>
104104
<TableCell>Line height (number or string)</TableCell>
105-
<TableCell>`1.5` or `"150%"`</TableCell>
105+
<TableCell><code>1.5</code> or <code>"150%"</code></TableCell>
106106
</TableRow>
107107
<TableRow>
108-
<TableCell>`letterSpacing`</TableCell>
108+
<TableCell><code>letterSpacing</code></TableCell>
109109
<TableCell>Letter spacing</TableCell>
110-
<TableCell>`"-0.02em"`</TableCell>
110+
<TableCell><code>"-0.02em"</code></TableCell>
111111
</TableRow>
112112
<TableRow>
113-
<TableCell>`textTransform`</TableCell>
113+
<TableCell><code>textTransform</code></TableCell>
114114
<TableCell>Text transformation</TableCell>
115-
<TableCell>`"uppercase"`</TableCell>
115+
<TableCell><code>"uppercase"</code></TableCell>
116116
</TableRow>
117117
</TableBody>
118118
</Table>

0 commit comments

Comments
 (0)