Skip to content

Commit 92c6ac8

Browse files
committed
Use Markdig attributes extension, mark files with download attribute
1 parent 8ceec51 commit 92c6ac8

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

articles/tutorials/building_2d_games/14_soundeffects_and_music/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,15 +149,15 @@ Unlike sound effects, music is played through the [**MediaPlayer**](xref:Microso
149149

150150
Before we can add audio to our game, we need some sound files to work with. Download the following audio files:
151151

152-
- [bounce.wav](./files/bounce.wav) - For when the bat bounces off screen edges
153-
- [collect.wav](./files/collect.wav) - For when the slime eats the bat
154-
- [theme.ogg](./files/theme.ogg) - Background music
152+
- [bounce.wav](./files/bounce.wav){download} - For when the bat bounces off screen edges
153+
- [collect.wav](./files/collect.wav){download} - For when the slime eats the bat
154+
- [theme.ogg](./files/theme.ogg){download} - Background music
155155

156156
> [!NOTE]
157157
>
158158
> - *bounce.wav* is "Retro Impact Punch 07" by Davit Masia (<https://kronbits.itch.io/retrosfx>).
159159
> - *collect.wav* is "Retro Jump Classic 08" by Davit Masia (<https://kronbits.itch.io/retrosfx>).
160-
> - *theme.mp3* is "Exploration" by Luis Zuno ([@ansimuz](https://twitter.com/ansimuz)]).
160+
> - *theme.mp3* is "Exploration" by Luis Zuno ([@ansimuz](https://twitter.com/ansimuz)).
161161
162162
Add these files to your content project using the MGCB Editor:
163163

articles/tutorials/building_2d_games/16_working_with_spritefonts/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ First, we will need to create a SpriteFont Definition. Open the *Content.mgcb*
193193

194194
Next, right-click the following TTF font and choose "Save Link as..." and save it in the same folder as the *04B_30.spriteFont* file we just created.
195195

196-
- [04B_30.ttf](./files/04B_30.ttf)
196+
- [04B_30.ttf](./files/04B_30.ttf){download}
197197

198198
### Update the SpriteFont Description
199199

articles/tutorials/building_2d_games/20_implementing_ui_with_gum/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ To make our UI more responsive and engaging, we will add audio feedback that pla
342342

343343
First, download the UI sound effect by right-clicking the following link and saving it as *ui.wav* in the game project's *Content/audio* folder:
344344
345-
- [ui.wav](./files/ui.wav)
345+
- [ui.wav](./files/ui.wav){download}
346346
347347
Next, add this sound effect to your content project using the MGCB Editor:
348348

articles/tutorials/building_2d_games/21_customizing_gum_ui/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ While MonoGame natively uses [**SpriteFont**](xref:Microsoft.Xna.Framework.Graph
135135

136136
First, download the *.fnt* file by right-clicking the following link and saving it as *04b_30.fnt* in the game project's *Content/fonts* folder:
137137

138-
- [04b_30.fnt](./files/04b_30.fnt)
138+
- [04b_30.fnt](./files/04b_30.fnt){download}
139139

140140
Next, add this font file to your content project using the MGCB Editor:
141141

docfx.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@
7878
"markdigExtensions": [
7979
"Abbreviations",
8080
"Figures",
81-
"CustomContainers"
82-
81+
"CustomContainers",
82+
"attributes"
8383
]
8484
},
8585
"postProcessors": [],

0 commit comments

Comments
 (0)