Skip to content

Commit f3e91e7

Browse files
committed
Add newline between markdown alert type and content in tutorial readme files
1 parent a729f27 commit f3e91e7

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

samples/tutorial/Tutorial1.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,8 @@ object WelcomeWorkflow : StatefulWorkflow<Unit, State, Output, WelcomeScreen>()
196196
}
197197
```
198198

199-
> [!TIP] This tutorial doesn't cover persistence support.
199+
> [!TIP]
200+
> This tutorial doesn't cover persistence support.
200201
> If you feel the need for it,
201202
> the easiest way to get there is by using the [`@Parcelize` annotation](https://developer.android.com/kotlin/parcelize) on your state types.
202203
> They will be saved and restored via the `savedStateHandler` of the JetPack `ViewModel`

samples/tutorial/Tutorial2.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,8 @@ Update `render()` to create an `eventHandler` function to post the new output ev
591591

592592
At the same time, use workflow's handy `View.setBackHandler` function to respond to Android back press events.
593593
594-
> [!NOTE] `View.setBackHandler` is implemented via
594+
> [!NOTE]
595+
> `View.setBackHandler` is implemented via
595596
> [OnBackPressedCallback](https://developer.android.com/reference/androidx/activity/OnBackPressedCallback)
596597
> and so plays nicely with the
597598
> [OnBackPressedDispatcher](https://developer.android.com/reference/androidx/activity/OnBackPressedDispatcher), Compose's [BackHandler](https://foso.github.io/Jetpack-Compose-Playground/activity/backhandler/)
@@ -653,7 +654,8 @@ navigate TodoListScreen(username=David, todoTitles=[Take the cat for a walk], o
653654
navigate WelcomeScreen(promptText=, onLogInTapped=Function1<E, kotlin.Unit>)
654655
```
655656
656-
> [!TIP] Note the logging above remains useful
657+
> [!TIP]
658+
> Note the logging above remains useful
657659
> even though we are now wrapping our leaf screens in a `BackStackScreen`.
658660
> The default `onNavigate` function used by `Flow<*>.reportNavigation()`
659661
> can drill through the stock `Unwrappable` interface implemented by `BackStackScreen`

samples/tutorial/Tutorial5.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,8 @@ The child's rendering _must_ be specified when declaring an expected workflow
241241
since the parent's call to `renderChild` _must_ return a value of the appropriate rendering type,
242242
and the workflow library can't know how to create those instances of your own types.
243243
244-
> [!NOTE] Under `testRender` all children are mocked
244+
> [!NOTE]
245+
> Under `testRender` all children are mocked
245246
>
246247
> We consider tests built around `testRender` to be unit tests (as opposed to integration tests)
247248
> because they do not actually run any child workflows or workers.

0 commit comments

Comments
 (0)