~sircmpwn/sr.ht-discuss

1

Local image rendering in README.md

Details
Message ID
<1ccec6f4-9652-4f13-b3c5-6f4a9772caa9@app.fastmail.com>
DKIM signature
missing
Download raw message
I'm finally beginning to migrate my repositories to sourcehut but I'm
struggling to get images that are included via raw html to render.
As an example the README.md at
https://git.sr.ht/~htgb/ympes/blob/main/README.md contains the html:

<img 
src="man/figures/750px-Imp_with_cards_-_illustration_from_Le_grand_Etteilla.
jpg" 
alt="Illustration of an imp looking at a hand of playing cards. Published on 
page 193 of Le grand Etteilla, ou, l'art de tirer les cartes." width="100%" />

but the image does not display at https://git.sr.ht/~htgb/ympes.

I searched the archive but couldn't find the answer so any pointers
will be appreciated.

Tim
Details
Message ID
<CX7JD5EBIQTY.LKSZ5XHA7URQ@kararou.space>
In-Reply-To
<1ccec6f4-9652-4f13-b3c5-6f4a9772caa9@app.fastmail.com> (view parent)
DKIM signature
missing
Download raw message
Hi Tim,

Instead of <img src="image.jpg" alt="alttext" /> you'd use ![alttext](image.jpg)

Hope that helps.
Reply to thread Export thread (mbox)