Thank you Jeremy, works like a charm. And I agree, I think that this would 
be useful enough for users to include it in the control panel.

Oh, and thank you for your work on this awesome tool!

Best regards,

On Thursday, December 11, 2014 3:17:46 AM UTC-5, Jeremy Ruston wrote:
>
> Hi Arthur
>
> > I haven't figured out how to make every new tiddler to default to 
> markdown.
>
> This ought to be configurable in control panel. For the moment, you can 
> create a custom "new markdown tiddler" button like this:
>
> * create a tiddler called `$:/_newmarkdowntiddler`
> * Add the tag $:/tags/PageControls
> * Add a field called "caption"  with the content 
> "{{$:/core/images/new-button}} new markdown tiddler"
> * Add a field called "description" with the content "Create a new markdown 
> tiddler"
> * Set the text to:
>
> <$button tooltip="Create a new markdown tiddler" aria-label="new markdown 
> tiddler" class=<<tv-config-toolbar-class>>>
> <$action-sendmessage $message="tm-new-tiddler" type="text/x-markdown"/>
> <$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
> {{$:/core/images/new-button}}
> </$list>
> <$list filter="[<tv-config-toolbar-text>prefix[yes]]">
> <span class="tc-btn-text">new markdown tiddler</span>
> </$list>
> </$button>
>
> Best wishes
>
> Jeremy.
>
>
>
> On Fri, Dec 5, 2014 at 8:51 PM, Arthur Borshenko <abors...@gmail.com 
> <javascript:>> wrote:
>
>> Hi All,
>>
>> I have a question about TW5 and changing the "new tiddler" setting or 
>> macro maybe. I'm brand new and have not completely grasped how everything 
>> works.
>>
>> I want to make every new tiddler to default to markdown plugin as the 
>> editor. I have installed the plugin and I'm able to switch the content type 
>> to markdown manually, but I haven't figured out how to make every new 
>> tiddler to default to markdown.
>>
>> I've searched through the tiddlywiki.com, but couldn't find an answer. 
>> Thank you for your help.
>>
>> -- 
>> 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 tiddlywiki+...@googlegroups.com <javascript:>.
>> To post to this group, send email to tiddl...@googlegroups.com 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:jeremy...@gmail.com <javascript:>
>  

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to