惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

阮一峰的网络日志
阮一峰的网络日志
J
Java Code Geeks
Martin Fowler
Martin Fowler
宝玉的分享
宝玉的分享
V
Visual Studio Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
M
MIT News - Artificial intelligence
U
Unit 42
博客园 - 三生石上(FineUI控件)
博客园 - 聂微东
The GitHub Blog
The GitHub Blog
I
InfoQ
WordPress大学
WordPress大学
H
Help Net Security
D
Docker
B
Blog
腾讯CDC
A
About on SuperTechFans
Recent Announcements
Recent Announcements
雷峰网
雷峰网
有赞技术团队
有赞技术团队
C
Check Point Blog
Y
Y Combinator Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC

Discourse Meta - Latest posts

Horizon: High Context Topic Cards I'd like to ask what this file /var/www/discourse/vendor/data/RT_sRGB.icm is used for? Discourse to Markdown Plugin Testing reply function How to verify a subdomain (mysite.discourse.group) in Google Search Console? Reader Mode Publishing WordPress gallery posts on Discourse Discourse User Feedback New user filter by custom field and contact Interact with discourse from Python? Why we can't type the assignee in the search of a post to assign - home screen app Redis Flushall Category-toggled one-touch move post Why did this plugin replacement fail? Add user to list modal often appears above the mobile viewport sceen Creating/Editing a post on mobile: let's discuss the 2026 Discourse experience Wp-discourse feature request - do not show comments with specific tag? Are there any good Chinese plugins? Discourse ID and 2FA Discourse MCP is here! Sample Forum to See Admin Features? I am unable to register for a free Discourse site Wikipedia Lookup Add text for /login (like js.create_account.disclaimer for /signup) How can i set disable Markdown & Default to Rich Text What's the background image size for the Welcome Banner? How do I enable Associated Accounts with 2FA? Hamburger toggle Support <span data-attribute> in the rich editor Cannot disable read-only mode on Free Plan
Some sort of variable to eliminate duplicate text?
@ted Ted Joh · 2026-04-19 · via Discourse Meta - Latest posts

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="![imageTEXThere](imageURLhere)"

image

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!

New user restrictions mean this has to be a reply. Sorry lol!

image

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?