mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-26 18:10:27 +00:00
881aed879b
* Update Basics.tid * Update new-tiddler.tid * Update new-journal.tid * Update new-image.tid * Update new-here.tid * Update new-journal-here.tid * Update NewJournalTags.tid * Update NewJournalTags.tid
15 lines
740 B
Plaintext
15 lines
740 B
Plaintext
title: $:/core/ui/Actions/new-journal
|
|
tags: $:/tags/Actions
|
|
description: create a new journal tiddler
|
|
|
|
<$vars journalTitleTemplate={{$:/config/NewJournal/Title}} journalTags={{$:/config/NewJournal/Tags}} journalText={{$:/config/NewJournal/Text}}>
|
|
<$wikify name="journalTitle" text="""<$macrocall $name="now" format=<<journalTitleTemplate>>/>""">
|
|
<$reveal type="nomatch" state=<<journalTitle>> text="">
|
|
<$action-sendmessage $message="tm-new-tiddler" title=<<journalTitle>> tags=<<journalTags>> text={{{ [<journalTitle>get[]] }}}/>
|
|
</$reveal>
|
|
<$reveal type="match" state=<<journalTitle>> text="">
|
|
<$action-sendmessage $message="tm-new-tiddler" title=<<journalTitle>> tags=<<journalTags>> text=<<journalText>>/>
|
|
</$reveal>
|
|
</$wikify>
|
|
</$vars>
|