OcttKB Cross-Repo Sync (HTML to Raw)

This commit is contained in:
2024-01-29 13:08:55 +00:00
parent 091ea33e87
commit 35eb8cb93e
42 changed files with 690 additions and 33 deletions

View File

@@ -1,6 +0,0 @@
created: 20230817233331840
creator: Octt
modified: 20230817233610503
modifier: Octt
tags: $:/Apps
title: $:/Apps/BBCodeAssembler

View File

@@ -0,0 +1,75 @@
created: 20240129095948486
creator: Octt
modified: 20240129125736163
modifier: Octt
tags: $:/Apps
title: $:/Apps/MagicBox
\define SearchResults(fields)
<$list filter="[!is[system]search:$fields${$:/temp/MagicBox!!.input}sort[title]limit[150]]">
<div class=`MagicBoxResult ${[{$:/temp/MagicBox!!.type}]}$` style=`background-image: url("${[{!!page-cover}]}$");`>
<$link to={{!!title}}>
<h3>
<$link to={{!!title}}/>
</h3>
<$if value={{$:/temp/MagicBox!!.context}}>
<$context term={{$:/temp/MagicBox!!.input}}/>
</$if>
</$link>
</div>
</$list>
\end
<div>
<$edit-text tiddler="$:/temp/MagicBox" field=".input" placeholder="Search..."/>
<$checkbox tiddler="$:/temp/MagicBox" field=".context" checked="1">Context</$checkbox>
<!--<$edit-text tiddler="$:/temp/MagicBox" field=".type" placeholder="Display Type"/>-->
<$checkbox tiddler="$:/temp/MagicBox" field=".type" checked="grid">Fixed Grid</$checkbox>
<$range tiddler="$:/temp/MagicBox" field=".width" min="33" max="49"/>
</div>
<style>
.MagicBoxResult {
margin: 8px;
display: inline-block;
background-color: lightgray;
background-size: cover;
aspect-ratio: 16/9;
max-width: calc({{$:/temp/MagicBox!!.width}}% - 16px);
}
.MagicBoxResult.grid {
width: calc(33% - 16px);
}
.MagicBoxResult h3 {
margin-top: 25%;
padding: 8px;
background-color: rgba(255, 255, 255, 0.75);
text-align: center;
}
.MagicBoxResult pre {
color: initial;
max-height: 10em;
overflow-y: auto;
margin: 0;
top: 1em;
position: relative;
}
.MagicBoxResult > a {
display: inline-block;
width: 100%;
height: 100%;
}
.MagicBoxResult > a:after {
content: "" !important;
}
</style>
<$if value={{{ [{$:/temp/MagicBox!!.input}split[]count[]compare:integer:gteq[3]then[1]] }}}>
Title or Caption matches:
<br/><<SearchResults "title,caption">>
<div><br/><hr/><br/></div>
Tags or Text matches:
<br/><<SearchResults "tags,text">>
</$if>

View File

@@ -1,6 +1,6 @@
created: 20230108190740128
creator: Octt
modified: 20240127214256070
modified: 20240129121756874
modifier: Octt
tags: $:/tags/Stylesheet
title: $:/Styles/Main
@@ -26,6 +26,11 @@ html, body {
overflow-x: hidden;
}
div.commandpalette {
min-width: 75vw;
max-width: 100vw;
}
/* Override the font used for icon display by the the <$:/plugins/Gk0Wk/notionpage-covericon> plugin, and then also apply it to the :after of .tc-tiddlylink anchors, for consistency.
We override adding a "sans-serif" to the start due to a spacing bug (?) */
.gk0wk-notionpagebg-icon1,

View File

@@ -1,5 +1,5 @@
created: 20240129010956583
created: 20240129130848548
current-tiddler: GettingStarted
modified: 20240129010956583
modified: 20240129130848548
title: $:/HistoryList
type: application/json

View File

@@ -3,4 +3,4 @@ title: $:/Import
The following tiddlers were imported:
# [[$:/plugins/oeyoews/commandpalette/icon]]
# [[$:/plugins/ebalster/condition]]

View File

@@ -1,2 +1,6 @@
created: 20240129112639085
creator: Octt
list:
modified: 20240129125711061
modifier: Octt
title: $:/StoryList

View File

@@ -0,0 +1,12 @@
caption: Context
created: 20240129101557058
creator: Octt
modified: 20240129101627850
modifier: Octt
tags: $:/tags/SearchResults
title: $:/plugins/danielo515/ContextPlugin/visualizer
<$list filter="[!is[system]search{$:/temp/search}sort[title]limit[150]]"><!-- Brought down to 150 from the original 250 to attempt to reduce lag on mobile -->
{{!!title||$:/core/ui/ListItemTemplate}}
<$context term={{$:/temp/search}} />
</$list>

View File

@@ -1,6 +1,6 @@
created: 20220920140732083
creator: Octt
modified: 20240129005620170
modified: 20240129100429521
modifier: Octt
title: $:/state/showeditpreview

View File

@@ -1,7 +1,7 @@
created: 20220920090533937
creator: Octt
modified: 20231110114944899
modified: 20240129120246880
modifier: Octt
title: $:/state/tab--1963855381
$:/core/ui/ControlPanel/Palette
$:/core/ui/ControlPanel/Toolbars

View File

@@ -1,7 +1,7 @@
created: 20220920090405977
creator: Octt
modified: 20240129010805185
modified: 20240129120243906
modifier: Octt
title: $:/state/tab-1749438307
$:/core/ui/ControlPanel/Plugins
$:/core/ui/ControlPanel/Appearance

View File

@@ -0,0 +1,7 @@
created: 20240129095343238
creator: Octt
modified: 20240129095343238
modifier: Octt
title: $:/state/plugin-info--274784486-$:/plugins/oeyoews/echarts-addons---173507521
contents

View File

@@ -1,7 +0,0 @@
created: 20240128234400100
creator: Octt
modified: 20240129005448654
modifier: Octt
title: $:/state/search-list/selected-item--1546365138
TiddlyWiki/TipsAndTricks-primaryList

View File

@@ -1,6 +1,6 @@
created: 20220920092307479
creator: Octt
modified: 20240129010410225
modified: 20240129122104626
modifier: Octt
title: $:/state/tab/sidebar--595412856

View File

@@ -1,7 +1,7 @@
created: 20220920114638764
creator: Octt
modified: 20230128224606306
modified: 20240129120304646
modifier: Octt
title: $:/state/tabs/controlpanel/toolbars-1345989671
$:/core/ui/ControlPanel/Toolbars/PageControls
$:/core/ui/ControlPanel/Toolbars/EditorToolbar

View File

@@ -1,6 +1,6 @@
created: 20230817233312379
creator: Octt
modified: 20231107154741134
modified: 20240129125712407
modifier: Octt
title: $:/state/toc/$:/ToC-$:/Apps--1697730578

View File

@@ -1,7 +1,7 @@
created: 20230111091048227
creator: Octt
modified: 20231107223047754
modified: 20240129092940714
modifier: Octt
title: $:/state/tree/$:/Styles/View/
show
hide