OcttKB Cross-Repo Sync (HTML to Raw)

This commit is contained in:
2023-07-23 13:33:31 +00:00
parent 0cfc51da4e
commit 49c7acc7f3
971 changed files with 50 additions and 29 deletions

View File

@ -0,0 +1,28 @@
created: 20230127155457773
creator: Octt
modified: 20230127155554126
modifier: Octt
tags: $:/tags/Macro
title: $:/plugins/tobibeer/inc/macro
\define tb-inc(tiddler)
<!-- <div class="tb-inc" title="""transcluded tiddler '$tiddler$'"""> -->
<div class="tb-inc">
<$tiddler tiddler="""$tiddler$""">
<div class="tb-inc-controls tc-tiddler-controls">
<$list filter="[list[$:/plugins/tobibeer/inc/toolbar!!text]]" variable="listItem"><$transclude tiddler=<<listItem>>/></$list>
</div>
<div class="tb-inc-tiddler">
<$transclude mode=block/>
</div>
</$tiddler>
</div>
\end
\define {(tiddler)
<$reveal type="match" text="""$tiddler$""" default="">
<$macrocall $name="tb-inc" tiddler=<<currentTiddler>>/>
</$reveal>
<$reveal type="nomatch" text="""$tiddler$""" default="">
<$macrocall $name="tb-inc" tiddler="""$tiddler$"""/>
</$reveal>
\end

View File

@ -0,0 +1,15 @@
created: 20230127155331514
creator: Octt
modified: 20230127155404686
modifier: Octt
title: $:/plugins/tobibeer/inc/buttons/open
<$button tooltip="Open this tiddler" class=<<tv-config-toolbar-class>>>
<$action-navigate/>
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/down-arrow}}
</$list>
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<span class="tc-btn-text">open</span>
</$list>
</$button>