Skip to content

Commit

Permalink
[docs] Fix markdown table format (#30947)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Feb 6, 2022
1 parent bf6ee32 commit 2a9068e
Show file tree
Hide file tree
Showing 12 changed files with 63 additions and 75 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ Na demonstração a seguir, alteramos a cor do plano de fundo (vermelho, azul &
```jsx
value |0px 600px 960px 1280px 1920px
key |xs sm md lg xl
screen width |---
product: material-----|--------|--------|--------|-------->
screen width |--------|--------|--------|--------|-------->
range | xs | sm | md | lg | xl
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ Por padrão, a especificação CSS faz com que as pseudo-classes aumentem a espe
You can rely on the following [global class names](/styles/advanced/#with-material-ui-core) generated by Material-UI:

| State | Nome da classe global |
|:---
product: material---------- |:--------------------- |
|:------------- |:--------------------- |
| active | `.Mui-active` |
| checked | `. Mui-checked` |
| completed | `.Mui-completed` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ Sometimes, you can't use a CSS pseudo-class, as the state doesn't exist in the w
You can rely on the following [global class names](/styles/advanced/#with-material-ui-core) generated by Material-UI:

| 状态 | 全局类名 |
|:---
product: material---------- |:------------------- |
|:------------- |:------------------- |
| active | `.Mui-active` |
| checked | `.Mui-checked` |
| completed | `.Mui-completed` |
Expand Down
3 changes: 1 addition & 2 deletions docs/data/material/customization/theming/theming-pt.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,7 @@ This component takes a `theme` prop and applies it to the entire React tree that
#### Props
| Name | Type | Description |
|:---
product: material--------------- |:---------------------------------------- |:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|:------------------ |:---------------------------------------- |:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| children \* | node | Your component tree. |
| theme \* | union: object | func | A theme object, usually the result of [`createTheme()`](#createtheme-options-args-theme). The provided theme will be merged with the default theme. You can provide a function to extend the outer theme. |
Expand Down
3 changes: 1 addition & 2 deletions docs/data/material/customization/theming/theming-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,7 @@ This component takes a `theme` prop and applies it to the entire React tree that
#### 属性

| Name | Type | Description |
|:---
product: material--------------- |:---------------------------------------- |:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|:------------------ |:---------------------------------------- |:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| children \* | node | Your component tree. |
| theme \* | union: object | func | A theme object, usually the result of [`createTheme()`](#createtheme-options-args-theme). The provided theme will be merged with the default theme. You can provide a function to extend the outer theme. |

Expand Down
9 changes: 4 additions & 5 deletions docs/data/material/customization/theming/theming.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,10 @@ It should preferably be used at **the root of your component tree**.

#### Props

| Name | Type | Description |
| :---
product: material------------ | :--------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| children \* | node | Your component tree. |
| theme \* | union: object | func | A theme object, usually the result of [`createTheme()`](#createtheme-options-args-theme). The provided theme will be merged with the default theme. You can provide a function to extend the outer theme. |
| Name | Type | Description |
| :--------------- | :--------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| children \* | node | Your component tree. |
| theme \* | union: object | func | A theme object, usually the result of [`createTheme()`](#createtheme-options-args-theme). The provided theme will be merged with the default theme. You can provide a function to extend the outer theme. |

#### Examples

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ O Material-UI suporta as versões mais recentes e estáveis de todos os principa
<!-- #stable-snapshot -->

| Edge | Firefox | Chrome | Safari (macOS) | Safari (iOS) | IE |
|:---
product: material-- |:------- |:------ |:-------------- |:------------ |:-------------------- |
|:----- |:------- |:------ |:-------------- |:------------ |:-------------------- |
| >= 85 | >= 78 | >= 84 | >= 13 | >= 12.1 | 11 (suporte parcial) |

<!-- #default-branch-switch -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ Material-UI 支持所有主流浏览器和平台的最新稳定版本。 您不
<!-- #stable-snapshot -->

| Edge | Firefox | Chrome | Safari (macOS) | Safari (iOS) | IE |
|:---
product: material-- |:------- |:------ |:-------------- |:------------ |:-------------------- |
|:----- |:------- |:------ |:-------------- |:------------ |:-------------------- |
| >= 85 | >= 78 | >= 84 | >= 13 | >= 12.1 | 11 (partial support) |

<!-- #default-branch-switch -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@ You don't need to provide any JavaScript polyfill as it manages unsupported brow

<!-- #stable-snapshot -->

| Edge | Firefox | Chrome | Safari (macOS) | Safari (iOS) | IE |
| :---
product: material- | :------ | :----- | :------------- | :----------- | :------------------- |
| >= 91 | >= 78 | >= 90 | >= 14 | >= 12.5 | 11 (partial support) |
| Edge | Firefox | Chrome | Safari (macOS) | Safari (iOS) | IE |
| :---- | :------ | :----- | :------------- | :----------- | :------------------- |
| >= 91 | >= 78 | >= 90 | >= 14 | >= 12.5 | 11 (partial support) |

<!-- #default-branch-switch -->

Expand Down
3 changes: 1 addition & 2 deletions docs/data/material/guides/localization/localization-pt.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ const theme = createTheme(
### Localidades suportadas

| Localidade | Etiqueta do idioma BCP 47 | Nome da importação |
|:---
product: material-------------------- |:------------------------- |:------------------ |
|:----------------------- |:------------------------- |:------------------ |
| Amharic | am-ET | `amET` |
| Arabic (Egypt) | ar-EG | `arEG` |
| Arabic (Sudan) | ar-SD | `arSD` |
Expand Down
3 changes: 1 addition & 2 deletions docs/data/material/guides/localization/localization-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ const theme = createTheme(
### 支持的地区

| 地区 | BCP 47 语言标签 | 导入名称 |
|:---
product: material-------------------- |:----------- |:------ |
|:----------------------- |:----------- |:------ |
| Amharic | am-ET | `amET` |
| Arabic (Egypt) | ar-EG | `arEG` |
| Arabic (Sudan) | ar-SD | `arSD` |
Expand Down
95 changes: 47 additions & 48 deletions docs/data/material/guides/localization/localization.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,54 +34,53 @@ const theme = createTheme(
### Supported locales

| Locale | BCP 47 language tag | Import name |
| :---
product: material------------------- | :------------------ | :---------- |
| Amharic | am-ET | `amET` |
| Arabic (Egypt) | ar-EG | `arEG` |
| Arabic (Sudan) | ar-SD | `arSD` |
| Armenian | hy-AM | `hyAM` |
| Azerbaijani | az-AZ | `azAZ` |
| Bangla | bn-BD | `bnBD` |
| Bulgarian | bg-BG | `bgBG` |
| Catalan | ca-ES | `caES` |
| Chinese (Hong Kong) | zh-HK | `zhHK` |
| Chinese (Simplified) | zh-CN | `zhCN` |
| Chinese (Taiwan) | zh-TW | `zhTW` |
| Czech | cs-CZ | `csCZ` |
| Danish | da-DK | `daDK` |
| Dutch | nl-NL | `nlNL` |
| English (United States) | en-US | `enUS` |
| Estonian | et-EE | `etEE` |
| Finnish | fi-FI | `fiFI` |
| French | fr-FR | `frFR` |
| German | de-DE | `deDE` |
| Greek | el-GR | `elGR` |
| Hebrew | he-IL | `heIL` |
| Hindi | hi-IN | `hiIN` |
| Hungarian | hu-HU | `huHU` |
| Icelandic | is-IS | `isIS` |
| Indonesian | id-ID | `idID` |
| Italian | it-IT | `itIT` |
| Japanese | ja-JP | `jaJP` |
| Khmer | kh-KH | `khKH` |
| Kazakh | kz-KZ | `kzKZ` |
| Korean | ko-KR | `koKR` |
| Norwegian (bokmål) | nb-NO | `nbNO` |
| Persian | fa-IR | `faIR` |
| Polish | pl-PL | `plPL` |
| Portuguese | pt-PT | `ptPT` |
| Portuguese (Brazil) | pt-BR | `ptBR` |
| Romanian | ro-RO | `roRO` |
| Russian | ru-RU | `ruRU` |
| Sinhalese | si-LK | `siLK` |
| Slovak | sk-SK | `skSK` |
| Spanish | es-ES | `esES` |
| Swedish | sv-SE | `svSE` |
| Thai | th-TH | `thTH` |
| Turkish | tr-TR | `trTR` |
| Ukrainian | uk-UA | `ukUA` |
| Vietnamese | vi-VN | `viVN` |
| Locale | BCP 47 language tag | Import name |
| :---------------------- | :------------------ | :---------- |
| Amharic | am-ET | `amET` |
| Arabic (Egypt) | ar-EG | `arEG` |
| Arabic (Sudan) | ar-SD | `arSD` |
| Armenian | hy-AM | `hyAM` |
| Azerbaijani | az-AZ | `azAZ` |
| Bangla | bn-BD | `bnBD` |
| Bulgarian | bg-BG | `bgBG` |
| Catalan | ca-ES | `caES` |
| Chinese (Hong Kong) | zh-HK | `zhHK` |
| Chinese (Simplified) | zh-CN | `zhCN` |
| Chinese (Taiwan) | zh-TW | `zhTW` |
| Czech | cs-CZ | `csCZ` |
| Danish | da-DK | `daDK` |
| Dutch | nl-NL | `nlNL` |
| English (United States) | en-US | `enUS` |
| Estonian | et-EE | `etEE` |
| Finnish | fi-FI | `fiFI` |
| French | fr-FR | `frFR` |
| German | de-DE | `deDE` |
| Greek | el-GR | `elGR` |
| Hebrew | he-IL | `heIL` |
| Hindi | hi-IN | `hiIN` |
| Hungarian | hu-HU | `huHU` |
| Icelandic | is-IS | `isIS` |
| Indonesian | id-ID | `idID` |
| Italian | it-IT | `itIT` |
| Japanese | ja-JP | `jaJP` |
| Khmer | kh-KH | `khKH` |
| Kazakh | kz-KZ | `kzKZ` |
| Korean | ko-KR | `koKR` |
| Norwegian (bokmål) | nb-NO | `nbNO` |
| Persian | fa-IR | `faIR` |
| Polish | pl-PL | `plPL` |
| Portuguese | pt-PT | `ptPT` |
| Portuguese (Brazil) | pt-BR | `ptBR` |
| Romanian | ro-RO | `roRO` |
| Russian | ru-RU | `ruRU` |
| Sinhalese | si-LK | `siLK` |
| Slovak | sk-SK | `skSK` |
| Spanish | es-ES | `esES` |
| Swedish | sv-SE | `svSE` |
| Thai | th-TH | `thTH` |
| Turkish | tr-TR | `trTR` |
| Ukrainian | uk-UA | `ukUA` |
| Vietnamese | vi-VN | `viVN` |

<!-- #default-branch-switch -->

Expand Down

0 comments on commit 2a9068e

Please sign in to comment.