On Saturday, December 2, 2017 at 5:43:06 PM UTC-8, PMario wrote: > > You can't, because there is no mime-type: text/cmd > > see: https://en.wikipedia.org/wiki/Media_type > and: https://www.iana.org/assignments/media-types/media-types.xhtml#text >
Although it is not recommended, you can specify ANY string you like as a mime type, even if it is not included in any of the defined standards. Thus, you can enter "text/cmd" into the "Type" field of a tiddler. However, since that is not a standard type, it won't be recognized by any of the usual mechanisms. Nonetheless, if you extend TiddlyWiki's registeredFileType definitions, you SHOULD be able to export tiddlers with "type/cmd" to files with a ".cmd" extension. Note that I have NOT tried this myself, so there may be more involved in making it work. -e -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d6b365a4-4c0e-4ae7-ae75-798abc21fe12%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

