Skip to content

Commit 482ad89

Browse files
authored
Fix tip breaking content layout in variables.md (#2018)
Correctly close `:::` tip block. As mentioned in #2016. Using a newline after the numbered list makes sure the lefthook npx prettier run does not reintroduce the Markdown formatting issue of the `:::` tip not being closed.
1 parent bf57983 commit 482ad89

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

book/variables.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ There are a couple of assignment operators used with mutable variables
6363

6464
1. `+=`, `-=`, `*=` and `/=` are only valid in the contexts where their root operations are expected to work. For example, `+=` uses addition, so it can not be used for contexts where addition would normally fail
6565
2. `++=` requires that either the variable **or** the argument is a list.
66-
:::
66+
67+
:::
6768

6869
#### More on Mutability
6970

0 commit comments

Comments
 (0)