Diff
checker
Text
Text
Images
Documents
Excel
Folders
Legal
Enterprise
Desktop
Pricing
Sign in
Download Diffchecker Desktop
Compare text
Find the difference between two text files
Tools
History
Real-time editor
Hide unchanged lines
Disable line wrap
Layout
Split
Unified
Diff precision
Smart
Word
Char
Syntax highlighting
Choose syntax
Ignore
Transform text
Go to first change
Edit input
Diffchecker Desktop
The most secure way to run Diffchecker. Get the Diffchecker Desktop app: your diffs never leave your computer!
Get Desktop
kookma-journalbook
Created
4 years ago
Diff never expires
Clear
Export
Share
Explain
7 removals
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
55 lines
Copy
9 additions
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
55 lines
Copy
\define stateTid()xx$:/state/thinkup/journal-book
\define stateTid()xx$:/state/thinkup/journal-book
Copy
Copied
Copy
Copied
\define yearFilter()[
tag[
Journal
]get[
created
]format:date[YYYY]unique[]!sort[]]
\define yearFilter()[
enlist{$:/config/New
Journal
/Tags}tagging[
]get[
title
]format:date[YYYY]unique[]!sort[]]
\define monthFilter()[
tag[
Journal
]get[
created
]prefix{$(stateTid)$!!year}format:date[YYYY0MM]unique[]!sort[]]
\define monthFilter()[
enlist{$:/config/New
Journal
/Tags}tagging[
]get[
title
]prefix{$(stateTid)$!!year}format:date[YYYY0MM]unique[]!sort[]]
\define monthList()
\define monthList()
<$list filter=<<monthFilter>>variable=month>
<$list filter=<<monthFilter>>variable=month>
<$button class={{{[<currentMonth>match<month>then[tc-btn-invisible tc-tiddlylink kk-thinkup-jb-selected]else[tc-btn-invisible tc-tiddlylink]]}}}setTitle=<<stateTid>>setTo=<<month>>setField=month>
<$button class={{{[<currentMonth>match<month>then[tc-btn-invisible tc-tiddlylink kk-thinkup-jb-selected]else[tc-btn-invisible tc-tiddlylink]]}}}setTitle=<<stateTid>>setTo=<<month>>setField=month>
<$text text={{{[<month>addsuffix[151200]format:date[MMM]]}}}/>
<$text text={{{[<month>addsuffix[151200]format:date[MMM]]}}}/>
</$button><br>
</$button><br>
\end
\end
\define vertical-tab()
\define vertical-tab()
<div class=kk-thinkup-jb-container>
<div class=kk-thinkup-jb-container>
<$let currentMonth={{{[<stateTid>get[month]]:else[subfilter<monthFilter>nth[]]}}}>
<$let currentMonth={{{[<stateTid>get[month]]:else[subfilter<monthFilter>nth[]]}}}>
<aside><<monthList>></aside>
<aside><<monthList>></aside>
<article>
<article>
<<journal-list-monthly>>
<<journal-list-monthly>>
</article>
</article>
</$let>
</$let>
\end
\end
\define journal-list-monthly()
\define journal-list-monthly()
<$let month={{{[<stateTid>get[month]]}}}>
<$let month={{{[<stateTid>get[month]]}}}>
<b><$text text={{{[<month>addsuffix[151200]format:date[MMM YYYY]]}}}/></b>
<b><$text text={{{[<month>addsuffix[151200]format:date[MMM YYYY]]}}}/></b>
Copy
Copied
Copy
Copied
<$list filter="[
tag[
Journal
]
]:filter[get[
created
]prefix<month>]:and[sort[created]]"template="$:/plugins/kookma/thinkup/journalbook/template">
<$list filter="[
enlist{$:/config/New
Journal
/Tags}tagging[
]:filter[get[
title
]prefix<month>]:and[sort[created]]"template="$:/plugins/kookma/thinkup/journalbook/template">
</$vars>
</$vars>
\end
\end
\define yearSelectAction()
\define yearSelectAction()
<$action-setfield $tiddler=<<stateTid>>$value=<<year>>$field=year/>
<$action-setfield $tiddler=<<stateTid>>$value=<<year>>$field=year/>
<$action-setfield $tiddler=<<stateTid>>$value={{{[subfilter<monthFilter>nth[]]}}}$field=month/>
<$action-setfield $tiddler=<<stateTid>>$value={{{[subfilter<monthFilter>nth[]]}}}$field=month/>
\end
\end
\define select-year()
\define select-year()
<$let currentYear={{{[<stateTid>get[year]]:else[subfilter<yearFilter>nth[]]}}}>
<$let currentYear={{{[<stateTid>get[year]]:else[subfilter<yearFilter>nth[]]}}}>
<$list filter=<<yearFilter>>variable=year>
<$list filter=<<yearFilter>>variable=year>
<$button class={{{[<currentYear>match<year>then[tc-btn-invisible tc-tiddlylink kk-thinkup-jb-selected]else[tc-btn-invisible tc-tiddlylink]]}}}actions=<<yearSelectAction>>>
<$button class={{{[<currentYear>match<year>then[tc-btn-invisible tc-tiddlylink kk-thinkup-jb-selected]else[tc-btn-invisible tc-tiddlylink]]}}}actions=<<yearSelectAction>>>
<$text text=<<year>>/>
<$text text=<<year>>/>
</$button>
</$button>
</$list>
</$list>
</$let>
</$let>
\end
\end
\define initialize()
\define initialize()
<$button> initialize
<$button> initialize
<$action-setfield $tiddler=<<stateTid>>$value={{{[subfilter<yearFilter>nth[]]}}}$field=year/>
<$action-setfield $tiddler=<<stateTid>>$value={{{[subfilter<yearFilter>nth[]]}}}$field=year/>
<$action-setfield $tiddler=<<stateTid>>$value={{{[subfilter<monthFilter>nth[]]}}}$field=month/>
<$action-setfield $tiddler=<<stateTid>>$value={{{[subfilter<monthFilter>nth[]]}}}$field=month/>
\end
\end
\define journal-book()
\define journal-book()
<$list filter="[<stateTid>get[year]]"emptyMessage=<<initialize>>variable=null>
<$list filter="[<stateTid>get[year]]"emptyMessage=<<initialize>>variable=null>
<<select-year>><<vertical-tab>>
<<select-year>><<vertical-tab>>
\end
\end
Saved diffs
Original text
Open file
\define stateTid()xx$:/state/thinkup/journal-book \define yearFilter()[tag[Journal]get[created]format:date[YYYY]unique[]!sort[]] \define monthFilter()[tag[Journal]get[created]prefix{$(stateTid)$!!year}format:date[YYYY0MM]unique[]!sort[]] \define monthList() <$list filter=<<monthFilter>>variable=month> <$button class={{{[<currentMonth>match<month>then[tc-btn-invisible tc-tiddlylink kk-thinkup-jb-selected]else[tc-btn-invisible tc-tiddlylink]]}}}setTitle=<<stateTid>>setTo=<<month>>setField=month> <$text text={{{[<month>addsuffix[151200]format:date[MMM]]}}}/> </$button><br> \end \define vertical-tab() <div class=kk-thinkup-jb-container> <$let currentMonth={{{[<stateTid>get[month]]:else[subfilter<monthFilter>nth[]]}}}> <aside><<monthList>></aside> <article> <<journal-list-monthly>> </article> </$let> \end \define journal-list-monthly() <$let month={{{[<stateTid>get[month]]}}}> <b><$text text={{{[<month>addsuffix[151200]format:date[MMM YYYY]]}}}/></b> <$list filter="[tag[Journal]]:filter[get[created]prefix<month>]:and[sort[created]]"template="$:/plugins/kookma/thinkup/journalbook/template"> </$vars> \end \define yearSelectAction() <$action-setfield $tiddler=<<stateTid>>$value=<<year>>$field=year/> <$action-setfield $tiddler=<<stateTid>>$value={{{[subfilter<monthFilter>nth[]]}}}$field=month/> \end \define select-year() <$let currentYear={{{[<stateTid>get[year]]:else[subfilter<yearFilter>nth[]]}}}> <$list filter=<<yearFilter>>variable=year> <$button class={{{[<currentYear>match<year>then[tc-btn-invisible tc-tiddlylink kk-thinkup-jb-selected]else[tc-btn-invisible tc-tiddlylink]]}}}actions=<<yearSelectAction>>> <$text text=<<year>>/> </$button> </$list> </$let> \end \define initialize() <$button> initialize <$action-setfield $tiddler=<<stateTid>>$value={{{[subfilter<yearFilter>nth[]]}}}$field=year/> <$action-setfield $tiddler=<<stateTid>>$value={{{[subfilter<monthFilter>nth[]]}}}$field=month/> \end \define journal-book() <$list filter="[<stateTid>get[year]]"emptyMessage=<<initialize>>variable=null> <<select-year>><<vertical-tab>> \end
Changed text
Open file
\define stateTid()xx$:/state/thinkup/journal-book \define yearFilter()[enlist{$:/config/NewJournal/Tags}tagging[]get[title]format:date[YYYY]unique[]!sort[]] \define monthFilter()[enlist{$:/config/NewJournal/Tags}tagging[]get[title]prefix{$(stateTid)$!!year}format:date[YYYY0MM]unique[]!sort[]] \define monthList() <$list filter=<<monthFilter>>variable=month> <$button class={{{[<currentMonth>match<month>then[tc-btn-invisible tc-tiddlylink kk-thinkup-jb-selected]else[tc-btn-invisible tc-tiddlylink]]}}}setTitle=<<stateTid>>setTo=<<month>>setField=month> <$text text={{{[<month>addsuffix[151200]format:date[MMM]]}}}/> </$button><br> \end \define vertical-tab() <div class=kk-thinkup-jb-container> <$let currentMonth={{{[<stateTid>get[month]]:else[subfilter<monthFilter>nth[]]}}}> <aside><<monthList>></aside> <article> <<journal-list-monthly>> </article> </$let> \end \define journal-list-monthly() <$let month={{{[<stateTid>get[month]]}}}> <b><$text text={{{[<month>addsuffix[151200]format:date[MMM YYYY]]}}}/></b> <$list filter="[enlist{$:/config/NewJournal/Tags}tagging[]:filter[get[title]prefix<month>]:and[sort[created]]"template="$:/plugins/kookma/thinkup/journalbook/template"> </$vars> \end \define yearSelectAction() <$action-setfield $tiddler=<<stateTid>>$value=<<year>>$field=year/> <$action-setfield $tiddler=<<stateTid>>$value={{{[subfilter<monthFilter>nth[]]}}}$field=month/> \end \define select-year() <$let currentYear={{{[<stateTid>get[year]]:else[subfilter<yearFilter>nth[]]}}}> <$list filter=<<yearFilter>>variable=year> <$button class={{{[<currentYear>match<year>then[tc-btn-invisible tc-tiddlylink kk-thinkup-jb-selected]else[tc-btn-invisible tc-tiddlylink]]}}}actions=<<yearSelectAction>>> <$text text=<<year>>/> </$button> </$list> </$let> \end \define initialize() <$button> initialize <$action-setfield $tiddler=<<stateTid>>$value={{{[subfilter<yearFilter>nth[]]}}}$field=year/> <$action-setfield $tiddler=<<stateTid>>$value={{{[subfilter<monthFilter>nth[]]}}}$field=month/> \end \define journal-book() <$list filter="[<stateTid>get[year]]"emptyMessage=<<initialize>>variable=null> <<select-year>><<vertical-tab>> \end
Find difference