add support for external images in chat #235

This commit is contained in:
Jon Eugster
2024-06-11 00:25:50 +02:00
parent f158250341
commit 4652f6d50f
4 changed files with 435 additions and 1 deletions
+14
View File
@@ -119,3 +119,17 @@ $$
```
See https://www.jmilne.org/not/Mamscd.pdf
### Images
Hints and introductions/conclusions can also contain images.
For remote images, simply add:
```
<img src=\"https://url.com/to/image\"/>
```
Local images can currently only be included with a hack:
Images in the game's `images/` folder will be accessible at `data/g/[user]/[repo]/[image].[png|jpg|…]` and thus can be included as if they were external images.