Skip to content

Commit

Permalink
hotfix: broken markup in SwiftUI section
Browse files Browse the repository at this point in the history
* Comment swiftui tab in reading order which leads to a broken display

* Update development.md

Fix closing CODE markup

* Update developpement.md

Fix closing CODE markup

---------

Co-authored-by: Pierre-Yves Lapersonne <[email protected]>
  • Loading branch information
pya35 and pylapp authored Feb 2, 2024
1 parent bfc32e6 commit 2960c38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/en/mobile/ios/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -1439,7 +1439,7 @@ Two views are created containing the numbers to be spelled out in a specific ord
<pre><code class="swiftui">
var body: some View {

// The higher the priority is, the sooner the items will be vocalized
// The higher the priority is, the sooner the items will be vocalized
HStack {
VStack { // Natural order of the container will be used
Text("1") // Rank 1
Expand All @@ -1458,8 +1458,7 @@ var body: some View {
}
}.accessibilityElement(children: .contain)
}
<code></pre>

</code></pre>
</div>

</div>
Expand Down
3 changes: 1 addition & 2 deletions src/fr/mobile/ios/developpement.md
Original file line number Diff line number Diff line change
Expand Up @@ -1464,7 +1464,6 @@ On crée deux vues au sein desquelles on incorpore les chiffres qu'on souhaite v
key_5!]
}
</code></pre>

<pre><code class="swiftui">
var body: some View {

Expand All @@ -1487,7 +1486,7 @@ var body: some View {
}
}.accessibilityElement(children: .contain)
}
<code></pre>
</code></pre>
</div>

</div>
Expand Down

0 comments on commit 2960c38

Please sign in to comment.