discourse/app/assets/javascripts/pretty-text
David Taylor 830797a9c3
FEATURE: Allow post/topic thumbnails to be prioritized via markdown (#12044)
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)
```
2021-02-11 15:44:41 +00:00
..
addon FEATURE: Allow post/topic thumbnails to be prioritized via markdown (#12044) 2021-02-11 15:44:41 +00:00
app DEV: Move pretty-text into an ember-addon format (#9689) 2020-05-07 12:37:47 -04:00
config DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
engines/discourse-markdown DEV: prettier 2.2.1 (#11862) 2021-01-27 12:39:20 +01:00
vendor DEV: Ember Addon needs a vendor dir 2020-05-07 15:45:35 -04:00
ember-cli-build.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
index.js REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00
package.json DEV: Migrate to Ember CLI (#11932) 2021-02-03 14:22:20 -05:00
yarn.lock Build(deps): Bump lodash in /app/assets/javascripts/pretty-text 2020-09-08 10:25:45 -04:00