Closed msbt closed 7 months ago
Hi. Are you referring to the pager program animation?
https://cratedb.com/docs/crate/crash/en/latest/run.html#using-a-pager-program
I am so sorry. I just added the link without checking its resource size. We need to get rid of it again. Thanks!
Ah yes, that's the one, thanks for adding the anchor to clarify things! No need to get rid of it, if we could just add loading="lazy"
as attribute, then it won't load until you scroll to that point.
Ah all right, thanks. Let's do it!
Just checked it out, it's embedded as a figure
, couldn't find lazy loading options for that, what's the way to go here?
Is it possible to use another markup option, maybe from MyST, to embed the image? Otherwise, just use plain HTML, also after converting to Markdown?
@amotl could we just use the same syntax as in https://github.com/crate/crate-clients-tools/blob/main/docs/status.md?plain=1#L124 or does that work only with .md
files?
What I've said: Just use plain HTML, right? May also work in .rst using .. raw:: html
or such? Otherwise, convert to .md?
.. raw:: html
<a href="https://example.org/">https://example.org/</a>
I see that run.rst has tables and stuff, so converting is probably not a one-minute job. So, let's try to use the raw data pass-through option of reStructuredText on this spot?
Documentation feedback
Could we either use
loading="lazy"
or better/other compression (e.g. ezgif.com) for images? There's an 8MB gif which is quite big