mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 16:18:33 +08:00
830797a9c3
Previously we would always take the first image in a post to use as the thumbnail. On media-heavy sites, users may want to manually select a specific image as the topic thumbnail. This commit allows this to be done via a `|thumbnail` attribute in markdown. For example, in this case, bbb would be chosen as the thumbnail: ``` ![alttext|100x100](upload://aaa) ![alttext|100x100|thumbnail](upload://bbb) ``` |
||
---|---|---|
.. | ||
emoji | ||
engines | ||
allow-lister.js | ||
censored-words.js | ||
emoji.js | ||
guid.js | ||
inline-oneboxer.js | ||
oneboxer-cache.js | ||
oneboxer.js | ||
pretty-text.js | ||
sanitizer.js | ||
upload-short-url.js | ||
white-lister.js |