mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-02 14:29:55 +00:00
daa24a52bd
* Update Basics.tid * Update ControlPanel.multids * Update NewJournal.multids * Create NewJournalTags.tid * Update new-tiddler.tid * Update new-image.tid * Update new-journal.tid * Update new-here.tid * Update new-journal-here.tid
15 lines
746 B
Plaintext
15 lines
746 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!!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>
|