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

推荐订阅源

小众软件
小众软件
博客园 - Franky
罗磊的独立博客
G
Google Developers Blog
The GitHub Blog
The GitHub Blog
P
Proofpoint News Feed
Recent Announcements
Recent Announcements
V
V2EX
F
Fortinet All Blogs
阮一峰的网络日志
阮一峰的网络日志
Blog — PlanetScale
Blog — PlanetScale
月光博客
月光博客
U
Unit 42
GbyAI
GbyAI
A
About on SuperTechFans
WordPress大学
WordPress大学
Engineering at Meta
Engineering at Meta
雷峰网
雷峰网
Microsoft Azure Blog
Microsoft Azure Blog
Martin Fowler
Martin Fowler
D
DataBreaches.Net
The Cloudflare Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
MongoDB | Blog
MongoDB | Blog

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?