Good afternoon, I tried to have an image in a README.md using markdown syntax and
base64 encoded embedded image

)
Note `base64` is a go package. Both attempts were not successful. Both images have < 30KB.
I wonder now if that is intentional? I resorted to sourcehut sides but the traffic I
generated with that was for sure bigger. Hence I don't really understand. Any clarification
on that matter would be appreciated.
All the best Stephan
On 5/26/24 12:17 AM, Stephan Lukits wrote:
> Note `base64` is a go package.To my knowledge, Sourcehut has not support for parsing scripts within
README: just bog-standard markdown expressions.
Easiest solution would be to embed the base64 code into the file
directly, or, if you really want it dynamically pulled from a file, you
could write a script that writes it directly into a file, and have it
run from builds.sr.ht
the manual page on the git service[1] also says that you can define a
custom README file within which you can use HTML, and though I am not
sure if it can pull an image elsewhere from the repo, I see no reason
why it shouldn't.
Try providing an absolute site URL, if project relative filepath doesn't
work.
On 5/26/24 12:37 AM, Filip Jamuljak wrote:
*To my knowledge, Sourcehut has no support for parsing scripts within
README: just bog-standard markdown expressions.