Skip to content

Commit dd1e025

Browse files
authored
Replace "Implicit Figures" with Shortcode (#1545)
1 parent 25eb035 commit dd1e025

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+2026
-967
lines changed

.github/newsletter-issue-template.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,10 @@ Please use these templates as a starting point:
115115
```md
116116
### [Game name]
117117

118-
![alt text](img)
119-
_optional image label_
118+
{{ image_figure(
119+
alt="alt text"
120+
src="img"
121+
caption="optional image label") }}
120122

121123
[Game name] ([GitHub], [Discord], [Twitter]) by [@nickname]
122124
is... {short project description in one sentence}.
@@ -133,8 +135,10 @@ _Discussions: [/r/rust_gamedev](link), [Twitter](link), [etc](link)_
133135
```md
134136
### [Article name]
135137

136-
![alt text](img)
137-
_optional image label_
138+
{{ image_figure(
139+
alt="alt text"
140+
src="img"
141+
caption="optional image label") }}
138142

139143
[@nickname] published an [article] about...
140144
{overview what the resource is about}.

.github/newsletter-template.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,10 @@ Ideal section structure is:
5050
```
5151
### [Title]
5252
53-
![image/GIF description](image link)
54-
_image caption_
53+
{{ image_figure(
54+
alt="image/GIF description"
55+
src="image link"
56+
caption="image caption") }}
5557
5658
A paragraph or two with a summary and [useful links].
5759

.markdownlint.json

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"no-hard-tabs": false,
1212
"hr-style": false,
1313
"strong-style": false,
14+
"no-bare-urls": false,
1415
"emphasis-style": false,
1516
"no-inline-html": {
1617
"allowed_elements": [

CONTRIBUTING.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,10 @@ your GitHub notifications for any further review comments from the editors.
5353
```md
5454
### [Game name]
5555

56-
![alt text](img)
57-
_optional image label_
56+
{{ image_figure(
57+
alt="alt text"
58+
src="img"
59+
caption="optional image label") }}
5860

5961
[Game name] ([GitHub], [Discord], [Twitter]) by [@nickname]
6062
is... {short project description in one sentence}.
@@ -71,8 +73,10 @@ _Discussions: [/r/rust_gamedev](link), [Twitter](link), [etc](link)_
7173
```md
7274
### [Article name]
7375

74-
![alt text](img)
75-
_optional image label_
76+
{{ image_figure(
77+
alt="alt text"
78+
src="img"
79+
caption="optional image label") }}
7680

7781
[@nickname] published an [article] about...
7882
{overview what the resource is about}.

content/news/001/index.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,11 @@ Also, check out
115115

116116
### Way of Rhea [Trailer][rhea trailer] and [Steam Wishlist][rhea steam] Announced
117117

118-
[![Part of the trailer](way-of-rhea.gif)][rhea trailer]
119-
_click on the GIF to see [the full trailer][rhea trailer]_
118+
{{ image_figure(
119+
alt="Part of the trailer"
120+
src="way-of-rhea.gif"
121+
caption="click on the GIF to see [the full trailer](https://youtube.com/watch?v=VIzqlI-gbAY)",
122+
link="https://youtube.com/watch?v=VIzqlI-gbAY") }}
120123

121124
[A new trailer][rhea trailer] and the [Steam wishlist][rhea steam]
122125
were published for "Way of Rhea" by [Anthropic Studios].
@@ -520,8 +523,11 @@ by [Michael Fairley] was released:
520523
> Clear a path to get to the hole, eat some eggs along the way,
521524
> and make sure to press all the buttons.
522525
523-
[![Part of A snake's Tail's trailer](a-snakes-tail.gif)][snake trailer]
524-
_click on the GIF to see [the full release trailer][snake trailer]_
526+
{{ image_figure(
527+
alt="Part of A snake's Tail's trailer"
528+
src="a-snakes-tail.gif"
529+
caption="click on the GIF to see [the full release trailer](https://www.youtube.com/watch?v=23pQmEuueNw)",
530+
link="https://www.youtube.com/watch?v=23pQmEuueNw") }}
525531

526532
A few posts about the game and how it was developed:
527533

content/news/003/index.md

+13-6
Original file line numberDiff line numberDiff line change
@@ -523,8 +523,10 @@ Also, see this GameDev WG tracker/complaint issue:
523523

524524
### [RLSL][rlsl]: a Rust to SPIR-V Compiler
525525

526-
![RLSL code sample](rlsl-example.png)
527-
_a simple fragment shader that renders a red circle (temporary syntax)_
526+
{{ image_figure(
527+
alt="RLSL code sample"
528+
src="rlsl-example.png"
529+
caption="a simple fragment shader that renders a red circle (temporary syntax)") }}
528530

529531
This month, [@MaikKlein_DEV] gave a talk at
530532
[The Khronos Group](https://www.khronos.org)'s meetup in Munich
@@ -557,8 +559,10 @@ _Discussions:
557559

558560
### [gfx-rs v0.4][gfx-v0-4]
559561

560-
![sailor screenshot: vector terrain map and some basic UI](sailor.png)
561-
_a screenshot from [Yatekii/sailor] - a wgpu-based sailing navigation application_
562+
{{ image_figure(
563+
alt="sailor screenshot: vector terrain map and some basic UI"
564+
src="sailor.png"
565+
caption="a screenshot from [Yatekii/sailor](https://github.com/Yatekii/sailor) - a wgpu-based sailing navigation application") }}
562566

563567
[gfx-rs v0.4 was released](https://reddit.com/r/rust/comments/dm89t2/gfxhal_version_04_release):
564568
major changes were described in [the last blog post](https://gfx-rs.github.io/2019/10/01/update.html),
@@ -683,8 +687,11 @@ _Discussions:
683687

684688
### [cyclone-physics-rs]
685689

686-
[![cyclone physics demo](cyclone-physics-demo.gif)][cyclone-video-demo]
687-
_a little demo of "particle" simulation_
690+
{{ image_figure(
691+
alt="cyclone physics demo",
692+
src="cyclone-physics-demo.gif",
693+
caption='a little demo of "particle" simulation',
694+
link="https://twitter.com/heyrutvik/status/1180072669250834432") }}
688695

689696
[cyclone-physics-rs] by [@heyrutvik] a new WIP game physics engine
690697
based on the ["Game Physics Engine Development" book][cyclone-physics-book].

content/news/004/index.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,11 @@ about the implementation of a drop table system to handle monster loot.
201201

202202
### [Recall Singularity: November Progress][recall-s-nov-text]
203203

204-
[![Demo of the basic ship collision](recall-sing.gif)][recall-s-nov-video]
205-
_Demo of the basic ship collision._
204+
{{ image_figure(
205+
alt="Demo of the basic ship collision"
206+
src="recall-sing.gif"
207+
caption="Demo of the basic ship collision.",
208+
link="https://youtube.com/watch?v=AoPSAoqmTCk") }}
206209

207210
[Tom Leys] is working on a "The Recall Singularity" game
208211
about designing autonomous factory ships and stations
@@ -777,8 +780,11 @@ and highlight events from the past. -->
777780

778781
Just an interesting Rust gamedev link from the past. :)
779782

780-
[![Pascal Penguin logo](penguin.png)][penguin-video]
781-
_click to see the [release trailer][penguin-video]_
783+
{{ image_figure(
784+
alt="Pascal Penguin logo"
785+
src="penguin.png"
786+
caption="click to see the [release trailer](https://youtube.com/watch?v=EgFr73AUwps)",
787+
link="https://youtube.com/watch?v=EgFr73AUwps") }}
782788

783789
["Adventures of Pascal Penguin"][penguin-about]
784790
by [Matthew Michelotti](http://luduminis.com)

content/news/005/index.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,11 @@ _Discussions:
258258

259259
### [Garden Devlog: December][garden-dec]
260260

261-
[![Playing with dirt](garden.gif)][garden-video]
262-
_new smooth soil editing demo_
261+
{{ image_figure(
262+
alt="Playing with dirt"
263+
src="garden.gif"
264+
caption="new smooth soil editing demo",
265+
link="https://youtube.com/watch?v=xU93FGrk1d8") }}
263266

264267
[Garden][garden] is an upcoming game centered around growing realistic plants.
265268

@@ -855,8 +858,11 @@ and highlight events from the past. -->
855858

856859
Just an interesting Rust gamedev link from the past. :)
857860

858-
[![Modulator video](modulator_youtube.gif)][modulator-video]
859-
_click to see [the tutorial video][modulator-video]_
861+
{{ image_figure(
862+
alt="Modulator video"
863+
src="modulator_youtube.gif"
864+
caption="click to see [the tutorial video][modulator-video]",
865+
link="modulator-video") }}
860866

861867
In the November of 2018,
862868
[@AndreaPessino] (Founder/CTO of [Ready At Dawn] Studios)

content/news/006/index.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -838,8 +838,10 @@ Btw, [@resinten] continues working on a luminance-based game:
838838

839839
### [SPIR-Q][spir-q] v0.4.1
840840

841-
![Example walking an entry point of a SPIR-V file](spir-q.png)
842-
_Example walking an entry point of a SPIR-V file_
841+
{{ image_figure(
842+
alt="Example walking an entry point of a SPIR-V file"
843+
src="spir-q.png"
844+
caption="Example walking an entry point of a SPIR-V file") }}
843845

844846
[SPIR-Q][spir-q] is a lightweight [SPIR-V] query library.
845847
This month v0.2..v0.4.1 versions were released:

content/news/007/index.md

+41-19
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,10 @@ This month an alpha version was published on itch: [check it out here][colony-it
177177

178178
### [Veloren][veloren]
179179

180-
![Rolling mountain landscape](veloren1.png)
181-
_Rolling mountain landscape_
180+
{{ image_figure(
181+
alt="Rolling mountain landscape"
182+
src="veloren1.png"
183+
caption="Rolling mountain landscape") }}
182184

183185
[Veloren][veloren] is an open world, open-source voxel RPG
184186
inspired by Dwarf Fortress and Cube World.
@@ -214,8 +216,11 @@ Here is the February changelog:
214216
- Added music system
215217
```
216218

217-
[![veloren development](veloren3.gif)](https://youtube.com/watch?v=1ldHQfxCT24)
218-
_1 year of Veloren development. Click for the full video!_
219+
{{ image_figure(
220+
alt="veloren development"
221+
src="veloren3.gif"
222+
caption="1 year of Veloren development. Click for the full video!"
223+
link="https://youtube.com/watch?v=1ldHQfxCT24") }}
219224

220225
You can read more about some specific topics:
221226

@@ -243,8 +248,11 @@ February's full weekly devlogs: "This Week In Veloren...":
243248

244249
### [Oxidator][oxidator]
245250

246-
[![Gameplay demo: two giant tank armies clashing](oxidator-play.gif)][oxidator-video-play]
247-
_gameplay demo (35000 units)_
251+
{{ image_figure(
252+
alt="Gameplay demo: two giant tank armies clashing"
253+
src="oxidator-play.gif"
254+
caption="gameplay demo (35000 units)",
255+
link="https://streamable.com/499j0") }}
248256

249257
[Oxidator][oxidator] by [@Ruddle] is a real-time strategy game/engine
250258
written with Rust and WebGPU.
@@ -270,11 +278,17 @@ Some of the current features:
270278
- Unit editor: basic editor with joint & mesh selection and parameter editing
271279
(speed, turn rate, health, etc);
272280

273-
[![Unit editor demo: move agent's parts](oxidator-unit-editor.gif)][oxidator-video-unit-editor]
274-
_Demo of the unit editor_
281+
{{ image_figure(
282+
alt="Unit editor demo: move agent's parts"
283+
src="oxidator-unit-editor.gif"
284+
caption="Demo of the unit editor",
285+
link="https://streamable.com/ywr44") }}
275286

276-
[![Map editor demo: use pencil tool to instantly create a lake and mountains](oxidator-map-editor.gif)][oxidator-video-map-editor]
277-
_Demo of the map editor_
287+
{{ image_figure(
288+
alt="Map editor demo: use pencil tool to instantly create a lake and mountains"
289+
src="oxidator-map-editor.gif"
290+
caption="Demo of the map editor",
291+
link="https://github.com/Ruddle/oxidator/blob/be4863e74/etc/map_editor.gif") }}
278292

279293
[oxidator]: https://github.com/Ruddle/oxidator
280294
[@Ruddle]: https://github.com/Ruddle
@@ -485,9 +499,11 @@ Tetra itself also received two small updates recently:
485499

486500
### [Akigi][akigi]
487501

488-
![High detail terrain chunk with PRR](akigi.png)
489-
_Sampling a heightmap in the vertex shader and also computing the normal,
490-
tangent and bitangent vectors in the vertex shader._
502+
{{ image_figure(
503+
alt="High detail terrain chunk with PRR"
504+
src="akigi.png"
505+
caption="Sampling a heightmap in the vertex shader and also computing the normal,
506+
tangent and bitangent vectors in the vertex shader.") }}
491507

492508
[Akigi][akigi] is a multiplayer online world where most believe that humans are inferior.
493509

@@ -590,8 +606,10 @@ Check them out in the [latest winter devlog][grumpy_visitors].
590606

591607
### [Make China Great Again][china-great]
592608

593-
![cities, planes and keys](china.png)
594-
_Turn back planes to the port, by clicking right keys to the virus beat._
609+
{{ image_figure(
610+
alt="cities, planes and keys"
611+
src="china.png"
612+
caption="Turn back planes to the port, by clicking right keys to the virus beat.") }}
595613

596614
[Make China Great Again][china-great] ([source][china-great-src])
597615
by [@PsichiX] is a GlobalGameJam game written using [Oxygengine].
@@ -633,8 +651,10 @@ dependency updates, bugfixes and performance optimizations.
633651

634652
### [Recall Singularity: February Progress][recall-s-feb]
635653

636-
![Harvesting and refining some Gold](recall-singularity.png)
637-
_Harvesting and refining some Gold._
654+
{{ image_figure(
655+
alt="Harvesting and refining some Gold"
656+
src="recall-singularity.png"
657+
caption="Harvesting and refining some Gold.") }}
638658

639659
[Tom Leys] is working on a "The Recall Singularity" game
640660
about designing autonomous factory ships and stations.
@@ -905,8 +925,10 @@ A showcase game is [being developed](https://github.com/lcnr/akari) with crow.
905925

906926
### miniquad: ["Rust 2D Engine 2020 Roadmap"][fedor-road]
907927

908-
![mainloop async/await experiment in macroquad](miniquad-sample.png)
909-
_mainloop async/await experiment in macroquad_
928+
{{ image_figure(
929+
alt="mainloop async/await experiment in macroquad"
930+
src="miniquad-sample.png"
931+
caption="mainloop async/await experiment in macroquad") }}
910932

911933
[miniquad] by [@fedor_games] is a safe cross-platform rendering library
912934
focused on portability and low-end platforms support.

content/news/008/index.md

+12-6
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,10 @@ Some of this month's updates:
334334

335335
### [Veloren][veloren]
336336

337-
![LoD](veloren1.png)
338-
_Work on Level of Detail_
337+
{{ image_figure(
338+
alt="LoD"
339+
src="veloren1.png"
340+
caption="Work on Level of Detail") }}
339341

340342
[Veloren][veloren] is an open world, open-source voxel RPG
341343
inspired by Dwarf Fortress and Cube World.
@@ -433,8 +435,10 @@ Main updates:
433435

434436
### gfx-rs and wgpu news
435437

436-
![Deeper game](deeper.png)
437-
_[deeper] uses wgpu for rendering_
438+
{{ image_figure(
439+
alt="Deeper game"
440+
src="deeper.png"
441+
caption="[deeper](https://github.com/arnfaldur/deeper) uses wgpu for rendering") }}
438442

439443
[gfx-hal-0.5](https://github.com/gfx-rs/gfx/) was released!
440444
Improvements done in March:
@@ -517,8 +521,10 @@ Some of this month's updates:
517521

518522
### [Nannou v0.13][nannou-post]
519523

520-
![Daily Sketch 0114 by Mactuitui](nannou.png)
521-
_Daily Sketch 0114 by Mactuitui_
524+
{{ image_figure(
525+
alt="Daily Sketch 0114 by Mactuitui"
526+
src="nannou.png"
527+
caption="Daily Sketch 0114 by Mactuitui") }}
522528

523529
[Nannou][nannou] is a creative coding framework that aims to make it easy
524530
for artists to express themselves with simple, fast, reliable code.

0 commit comments

Comments
 (0)