1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-24 02:27:19 +00:00

Merge pull request #777 from gernert/patch-2

Update ContentType.tid
This commit is contained in:
Jeremy Ruston 2014-09-01 14:01:13 +01:00
commit 34b25a635b

View File

@ -5,5 +5,23 @@ title: ContentType
Used in Internet protocols to indicate the type that should be used to interpret the content of a web resource. Used in Internet protocols to indicate the type that should be used to interpret the content of a web resource.
Under TiddlyWiki5, the `type` field is gives the content type to apply to the main `text` field. Under TiddlyWiki5, the `type` field is given the content type to apply to the main `text` field.
!!List of available types
|!Group |!Type |!Content of `type` field |
|^''Developer'' |Data dictionary |application/x-tiddler-dictionary|
|~|JavaScript code |application/javascript|
|~|JSON data |application/json|
|~|Static stylesheet |text/css|
|^''Image''|GIF image |image/gif|
|~|ICO format icon file |image/x-icon|
|~|JPEG image |image/jpeg|
|~|PNG image |image/png|
|~|Structured Vector Graphics image |image/svg+xml|
|^''Text''|HTML markup |text/html|
|~|Plain text |text/plain|
|~|TiddlyWiki 5 |text/vnd.tiddlywiki|
|~|TiddlyWiki Classic |text/x-tiddlywiki|