





















April 19, 2026, 4:22am 1
Hi all!
I work on the wiki for a large game forum that uses discourse, and as part of that we have tables with pictures embedded. On this page in particular, we have nearly 2000 images, many of which are this identical ‘No Image Available’ one. This uses a lot of characters, and so I was wondering if there is any way to produce a variable of sorts that can save on characters significantly.
E.G. VarA=""
I am not sure if this is the right place to ask this, or if this is possible, but any help is much appreciated. Thanks!
ted (Ted Johansson) April 19, 2026, 5:33am 3
This is partially supported in Markdown. You can define a label at the bottom of the document, and use that label, e.g.:
![ImageUnavailable|100x100][oops]
[oops]: upload://oqu98iBGGNSyDEolbFUxA5cJyiv.png
(Note: the label goes in square brackets.)
It doesn’t replace the whole thing for you, just the URL, but maybe that’s good for starters?
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。