Skip to content

Commit 7cd0713

Browse files
committed
Fix more markdown-in-html blocks
1 parent 52d6609 commit 7cd0713

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

programming/sr/power/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ humans can only hear between [20Hz and 20000Hz][pitch-range].
9898
The `Note` enum provides notes in [scientific pitch notation][pitch-notation]
9999
between `C6` and `C8`. You can play other tones by providing a frequency.
100100

101-
<div class="info">
101+
<div class="info" markdown="1">
102102
Calling `buzz` is non-blocking, which means it doesn't actually wait
103103
for the piezo to stop buzzing before continuing with your code. If you
104104
want to wait for the buzzing to stop, add a `sleep` afterwards!

programming/sr/ruggeduinos/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ you could do this instead:
3434
R.ruggeduinos["752303138333517171B1"].something...
3535
~~~~~
3636

37-
<div class="warning">
38-
When you have more than one Ruggeduino board connected to your kit,
39-
you must use `R.ruggeduinos` and index by serial number. This is so
40-
that the kit knows which Ruggeduino you want to control.
37+
<div class="warning" markdown="1">
38+
When you have more than one Ruggeduino board connected to your kit,
39+
you must use `R.ruggeduinos` and index by serial number. This is so
40+
that the kit knows which Ruggeduino you want to control.
4141
</div>
4242

4343

programming/sr/servos/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ If you have more than one Servo Board attached, you need to specify which one yo
3232
R.servo_boards["srABC1"].something...
3333
~~~~~
3434

35-
<div class="warning">
36-
When you have more than one servo board connected to your kit,
37-
you must use `R.servo_boards` and index by serial number. This is so
38-
that the kit knows which servo board you want to control.
35+
<div class="warning" markdown="1">
36+
When you have more than one servo board connected to your kit,
37+
you must use `R.servo_boards` and index by serial number. This is so
38+
that the kit knows which servo board you want to control.
3939
</div>
4040

4141
Setting servo positions

tutorials/basic_motor_control.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,11 @@ You're familiar with the first few lines; in fact, the only lines you may not be
131131
For a comprehensive reference to the `motor` object, see the `sr.robot3` module's [`motor`](/docs/programming/sr/motors/) page.
132132
But, to summarise:
133133

134-
<div class="info">
135-
`R.motor_board.motors[0].power = x` will set the power of the motor connected to output 0 (the `motors[0]` part)
136-
on the first [motor board](/docs/kit/motor_board) (the `motor_board` part)
137-
plugged in to a USB hub to `x`, where `x` is a value between `-1` and `1`,
138-
inclusive &mdash; in other words: `-1` &le; `x` &le; `1`.
134+
<div class="info" markdown="1">
135+
`R.motor_board.motors[0].power = x` will set the power of the motor connected to output 0 (the `motors[0]` part)
136+
on the first [motor board](/docs/kit/motor_board) (the `motor_board` part)
137+
plugged in to a USB hub to `x`, where `x` is a value between `-1` and `1`,
138+
inclusive &mdash; in other words: `-1` &le; `x` &le; `1`.
139139
</div>
140140

141141
So, `R.motor_board.motors[0].power = 0.5` sets the target power of the motor connected to output 0 on the first [motor board](/docs/kit/motor_board)
@@ -146,10 +146,10 @@ As you would expect, then, `R.motor_board.motors[0].power = -0.5` will put the t
146146
So, if you put the above code on your robot,
147147
you should be able to see a motor spin forwards, stop, spin backwards, stop, and then repeat...
148148

149-
<div class="info">
150-
If you find that the motor doesn't turn when you run the above code,
151-
check that you've got all the cables connected to the right places,
152-
in particular note that the motor board has _two_ outputs.
149+
<div class="info" markdown="1">
150+
If you find that the motor doesn't turn when you run the above code,
151+
check that you've got all the cables connected to the right places,
152+
in particular note that the motor board has _two_ outputs.
153153
</div>
154154

155155
### Changing the Speed

0 commit comments

Comments
 (0)