Skip to content

Commit ceb51fc

Browse files
authored
Clean up table wrapper and markdown syntax (#10254)
Contributes to #10203 as the setup will be more strict with raw HTML usage in Markdown.
1 parent e7dc9ba commit ceb51fc

File tree

15 files changed

+109
-319
lines changed

15 files changed

+109
-319
lines changed

src/_includes/docs/debug/debug-android-attach-process.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@
2626
If reader feedback urges their return, these will be uncommented.
2727

2828
![Attach to Process dialog box open in Android Studio](/assets/images/docs/testing/debugging/native/android-studio/attach-process-dialog.png)
29-
<div markdown="1">{:.figure-caption}
29+
<div class="figure-caption">
30+
3031
Flutter app in Android device displaying two buttons.
32+
3133
</div>
3234
{% endcomment %}
3335

@@ -47,8 +49,10 @@
4749

4850
{% comment %}
4951
!['The Android Project view highlighting the GeneratedPluginRegistrant.java file.'](/assets/images/docs/testing/debugging/native/android-studio/debug-open-java-code.png){:width="100%"}
50-
<div markdown="1">{:.figure-caption}
52+
<div class="figure-caption">
53+
5154
The Android Project view highlighting the `GeneratedPluginRegistrant.java` file.
55+
5256
</div>
5357
{% endcomment %}
5458

@@ -59,14 +63,18 @@ and the like. In other words, debug!
5963

6064
{% comment %}
6165
![The Dart debug pane with two breakpoints set in `lib/main.dart`](/assets/images/docs/testing/debugging/native/dart-debugger.png){:width="100%"}
62-
<div markdown="1">{:.figure-caption}
66+
<div class="figure-caption">
67+
6368
The Dart debug pane with two breakpoints set in `lib/main.dart`.
69+
6470
</div>
6571
{% endcomment %}
6672

6773
{% comment %}
6874
!['The Android debug pane with one breakpoint set in GeneratedPluginRegistrant.java.'](/assets/images/docs/testing/debugging/native/android-studio/debugger-active.png)
69-
<div markdown="1">{:.figure-caption}
75+
<div class="figure-caption">
76+
7077
The Android debug pane with one breakpoint set in GeneratedPluginRegistrant.java.
78+
7179
</div>
7280
{% endcomment %}

src/_includes/docs/debug/debug-flow-ios.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,21 @@ If you use Xcode to debug most of your code, start with this section.
6868

6969
{% comment %}
7070
![Selecting iPhone 14 in the Scheme menu in the Xcode toolbar](/assets/images/docs/testing/debugging/native/xcode/select-device.png){:width="100%"}
71-
<div markdown="1">{:.figure-caption}
71+
<div class="figure-caption">
72+
7273
Selecting iPhone 14 in the Scheme menu in the Xcode toolbar.
74+
7375
</div>
7476
{% endcomment %}
7577

7678
1. Run this Runner as a normal app in Xcode.
7779

7880
{% comment %}
7981
![Start button in Xcode interface](/assets/images/docs/testing/debugging/native/xcode/run-app.png)
80-
<div markdown="1">{:.figure-caption}
82+
<div class="figure-caption">
83+
8184
Start button displayed in Xcode interface.
85+
8286
</div>
8387
{% endcomment %}
8488

src/_includes/docs/debug/debug-flow-macos.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,10 @@ Building macOS application...
6262

6363
{% comment %}
6464
![Start button in Xcode interface](/assets/images/docs/testing/debugging/native/xcode/run-app.png)
65-
<div markdown="1">{:.figure-caption}
65+
<div class="figure-caption">
66+
6667
Start button displayed in Xcode interface.
68+
6769
</div>
6870
{% endcomment %}
6971

src/_includes/docs/debug/debug-flow-windows.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ If you use VS Code to debug most of your code, start with this section.
4040

4141
{% comment %}
4242
!['Flutter app generated as a Windows app. The app displays two buttons to open this page in a browser or in the app'](/assets/images/docs/testing/debugging/native/url-launcher-app/windows.png){:width="50%"}
43-
<div markdown="1">{:.figure-caption}
43+
<div class="figure-caption">
44+
4445
Flutter app generated as a Windows app. The app displays two buttons to open this page in a browser or in the app.
46+
4547
</div>
4648
{% endcomment %}
4749

@@ -58,9 +60,11 @@ If you use VS Code to debug most of your code, start with this section.
5860

5961
{% comment %}
6062
![Open Project/Solution dialog box in Visual Studio 2022 with my_app.sln file selected.](/assets/images/docs/testing/debugging/native/visual-studio/choose-solution.png){:width="100%"}
61-
<div markdown="1">{:.figure-caption}
63+
<div class="figure-caption">
64+
6265
Open Project/Solution dialog box in Visual Studio 2022 with
63-
`my_app.sln`` file selected.
66+
`my_app.sln` file selected.
67+
6468
</div>
6569
{% endcomment %}
6670

@@ -103,9 +107,11 @@ If you use Visual Studio to debug most of your code, start with this section.
103107

104108
{% comment %}
105109
![Open Project/Solution dialog box in Visual Studio 2022 with my_app.sln file selected.](/assets/images/docs/testing/debugging/native/visual-studio/choose-solution.png){:width="100%"}
106-
<div markdown="1">{:.figure-caption}
110+
<div class="figure-caption">
111+
107112
Open Project/Solution dialog box in Visual Studio 2022 with
108-
`my_app.sln`` file selected.
113+
`my_app.sln` file selected.
114+
109115
</div>
110116
{% endcomment %}
111117

src/_includes/docs/install/reqs/macos/base.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@ Your {{os}} Flutter development environment must meet the following
2121
minimal hardware requirements.
2222

2323
<div class="table-wrapper" markdown="1">
24+
2425
| Requirement | Minimum | Recommended |
2526
|:-----------------------------|:------------------------------------------------------------------------:|:-------------------:|
2627
| CPU Cores | 4 | 8 |
2728
| Memory in GB | 8 | 16 |
2829
| Display resolution in pixels | WXGA (1366 x 768) | FHD (1920 x 1080) |
2930
| Free disk space in GB | {% include docs/install/reqs/macos/storage.md target=target %}
31+
3032
</div>
3133

3234
### Software requirements

src/_includes/docs/install/reqs/windows/base.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@ Your {{include.os}} Flutter development environment must meet the following
1313
minimal hardware requirements.
1414

1515
<div class="table-wrapper" markdown="1">
16+
1617
| Requirement | Minimum | Recommended |
1718
|:-----------------------------|:------------------------------------------------------------------------:|:-------------------:|
1819
| x86_64 CPU Cores | 4 | 8 |
1920
| Memory in GB | 8 | 16 |
2021
| Display resolution in pixels | WXGA (1366 x 768) | FHD (1920 x 1080) |
2122
| Free disk space in GB | {% include docs/install/reqs/windows/storage.md target=include.target %}
23+
2224
</div>
2325

2426
### Software requirements

src/get-started/flutter-for/react-native-devs.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2309,6 +2309,7 @@ your application using `flutter run` you can also access the menu by typing `h`
23092309
in the terminal window, or type the following shortcuts:
23102310

23112311
<div class="table-wrapper" markdown="1">
2312+
23122313
| Action| Terminal Shortcut| Debug functions and properties|
23132314
| :------- | :------: | :------ |
23142315
| Widget hierarchy of the app| `w`| debugDumpApp()|
@@ -2322,6 +2323,7 @@ in the terminal window, or type the following shortcuts:
23222323
| To save a screenshot to flutter. png| `s` ||
23232324
| To quit| `q` ||
23242325
{:.table.table-striped}
2326+
23252327
</div>
23262328

23272329
## Animation
@@ -2503,6 +2505,7 @@ components mapped to the corresponding Flutter widget
25032505
and common widget properties.
25042506

25052507
<div class="table-wrapper" markdown="1">
2508+
25062509
| React Native Component | Flutter Widget | Description |
25072510
| ----------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
25082511
| [`Button`](https://facebook.github.io/react-native/docs/button.html) | [`ElevatedButton`][] | A basic raised button. |
@@ -2573,6 +2576,7 @@ and common widget properties.
25732576
| | value [required] | [ double ] The current value of the slider. |
25742577
| | onChanged [required] | Called when the user selects a new value for the slider. |
25752578
{:.table.table-striped}
2579+
25762580
</div>
25772581

25782582

0 commit comments

Comments
 (0)