A tiddler with no type or empty type is treated like a text/vnd.tiddlywiki
But where is this behaviour defined and can a user change it?
You can not change the default type if no type-field is defined. It will always be text/vnd.tiddlywiki
.
What would you like to achieve?
Iβd like to change this to text/markdown
, for instance.
1 Like
If you install the Markdown plugin from $:/ControlPanel -> Plugins
youβll get an additional create Markdown tiddler button in the Page Toolbar. You can have a look at $:/plugins/tiddlywiki/markdown/new-markdown-button
to see how it does it.
I think this is the relevant part:
<$action-sendmessage $message="tm-new-tiddler" type="text/markdown"/>
Thatβs not possible. If the default would be different, every tiddler without a type field would be interpreted in the wrong way. So the whole TW UI would cease to work.