[File] Adding text/gemtext to file

Christos Zoulas christos at zoulas.com
Fri Feb 28 14:55:20 UTC 2025



> On Feb 28, 2025, at 9:47 AM, file at ploum.eu wrote:
> 
> 
> Le vendredi 28 février 2025 à 15:43, Christos Zoulas <christos at zoulas.com> a écrit :
> 
> 
>>> 
>>> Is there a way to add text/gemtext support to file?
>> 
>> 
>> Hi,
>> 
>> There is no magic number for gemtext, or any required structure that
>> file(1) can rely upon to identify the format.
>> 
> 
> Is there a way to solve that and create one?
> 
> (my question might be dumb, I’ve no knowledge about how all of that is working)
> 

The creators of the format could have required an Identifying string for all gemtext files,
for example every gemtext file should start with:

-GemText-

or something, but they did not do that because they wanted the format to resemble regular
text and to not have anything special about it.

christos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <https://mailman.astron.com/pipermail/file/attachments/20250228/7c32522a/attachment.asc>


More information about the File mailing list