@@ -104,7 +104,7 @@ but here are the most important rules:
104
104
- The image should come before the text, and must have alt text for accessibility.
105
105
- Prefer static images to GIFs/videos, to keep the page load times down.
106
106
- To include a video, encode it as ` H.264 ` in an ` mp4 ` container and use
107
- the ` embed_video ()` shortcode; videos autoplay in a loop (muted).
107
+ the ` video_figure ()` shortcode; videos autoplay in a loop (muted).
108
108
- Each section should be under 1000 characters, and under 6 paragraphs.
109
109
- This only applies to the rendered text, not the markup.
110
110
- Keep formatting minimal - no bold/italics/etc.
@@ -118,13 +118,16 @@ Please use these templates as a starting point:
118
118
### [Game name]
119
119
120
120
{{ image_figure(
121
- alt="alt text"
122
- src="img"
123
- caption="optional image label ") }}
121
+ alt="image/GIF description",
122
+ src="image link",
123
+ caption="image caption ") }}
124
124
125
125
OR
126
126
127
- {{ embed_video(type="video/mp4", src="my-video.mp4", caption="optional video caption") }}
127
+ {{ video_figure(
128
+ type="video/mp4",
129
+ src="my-video.mp4",
130
+ caption="optional video caption") }}
128
131
129
132
[Game name] ([GitHub], [Discord], [Twitter]) by [@nickname]
130
133
is... {short project description in one sentence}.
@@ -142,13 +145,16 @@ _Discussions: [/r/rust_gamedev](link), [Twitter](link), [etc](link)_
142
145
### [Article name]
143
146
144
147
{{ image_figure(
145
- alt="alt text"
146
- src="img"
147
- caption="optional image label ") }}
148
+ alt="image/GIF description",
149
+ src="image link",
150
+ caption="image caption ") }}
148
151
149
152
OR
150
153
151
- {{ embed_video(type="video/mp4", src="my-video.mp4", caption="optional video caption") }}
154
+ {{ video_figure(
155
+ type="video/mp4",
156
+ src="my-video.mp4",
157
+ caption="optional video caption") }}
152
158
153
159
[@nickname] published an [article] about...
154
160
{overview what the resource is about}.
0 commit comments