mastodon.online is one of the many independent Mastodon servers you can use to participate in the fediverse.
A newer server operated by the Mastodon gGmbH non-profit

Server stats:

10K
active users

#dataURI

0 posts0 participants0 posts today
Replied in thread

@jeang3nie @alcinnz

I think there is some resistance in the #Gemini community to image support in Gemtext.

I don't think it is universal. (Some seem to want image support too.)

But there does seem to be some who are against it.

.

I think if one wanted to keep to the rule of one-document-one-download then —

One could embed the image inside the #gemtext file.

For example, base64 encode the image within the file. Could be a #dataURI. Or something else.

Could even use a #sixel .

Continued thread

Quante bestemmie per creare questa macro in #TiddlyWiki per codificare un tiddler come #dataURI #base64

Mi serve per mettere facilmente come src degli iframe contenuto #HTML che scrivo in altri tidder, perché senza prima questa codifica l'HTML plaintext può avere caratteri che causano effetti collaterali in un data URI (come #, usato in CSS)

Continuo a non capirci nulla dei filtri con la sintassi interna di TiddlyWiki, ma almeno sto capendo come usare le API #JS

Non è ottimo, ma è qualcosa 🙂