1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-26 19:47:20 +00:00

Merge branch 'master' into colour-improvements

This commit is contained in:
Jeremy Ruston 2024-10-23 08:22:01 +01:00
commit e1e73d2aa0
18 changed files with 86 additions and 47 deletions

View File

@ -24,7 +24,7 @@ var Command = function(params,commander) {
Command.prototype.execute = function() {
// Get the build targets defined in the wiki
var buildTargets = $tw.boot.wikiInfo.build;
var buildTargets = $tw.boot.wikiInfo && $tw.boot.wikiInfo.build;
if(!buildTargets) {
return "No build targets defined";
}

View File

@ -1,5 +1,5 @@
title: $:/core/macros/CSS
tags: $:/tags/Macro $:/tags/Global
tags: $:/tags/Macro
<!-- Needs to stay that way for backwards compatibility. See GH issue: #8326 -->
\function colour(name)
@ -10,42 +10,54 @@ tags: $:/tags/Macro $:/tags/Global
[function[colour],<name>]
\end function
\function box-shadow(shadow)
[[ -webkit-box-shadow: $(shadow)$;
-moz-box-shadow: $(shadow)$;
box-shadow: $(shadow)$;]substitute[]]
\define box-shadow(shadow)
``
-webkit-box-shadow: $shadow$;
-moz-box-shadow: $shadow$;
box-shadow: $shadow$;
``
\end
\function filter(filter)
[[ -webkit-filter: $(filter)$;
-moz-filter: $(filter)$;
filter: $(filter)$;]substitute[]]
\define filter(filter)
``
-webkit-filter: $filter$;
-moz-filter: $filter$;
filter: $filter$;
``
\end
\function transition(transition)
[[ -webkit-transition: $(transition)$;
-moz-transition: $(transition)$;
transition: $(transition)$;]substitute[]]
\define transition(transition)
``
-webkit-transition: $transition$;
-moz-transition: $transition$;
transition: $transition$;
``
\end
\function transform-origin(origin)
[[ -webkit-transform-origin: $(origin)$;
-moz-transform-origin: $(origin)$;
transform-origin: $(origin)$;]substitute[]]
\define transform-origin(origin)
``
-webkit-transform-origin: $origin$;
-moz-transform-origin: $origin$;
transform-origin: $origin$;
``
\end
\function background-linear-gradient(gradient)
[[ background-image: linear-gradient($(gradient)$);
background-image: -o-linear-gradient($(gradient)$);
background-image: -moz-linear-gradient($(gradient)$);
background-image: -webkit-linear-gradient($(gradient)$);
background-image: -ms-linear-gradient($(gradient)$);]substitute[]]
\define background-linear-gradient(gradient)
``
background-image: linear-gradient($gradient$);
background-image: -o-linear-gradient($gradient$);
background-image: -moz-linear-gradient($gradient$);
background-image: -webkit-linear-gradient($gradient$);
background-image: -ms-linear-gradient($gradient$);
``
\end
\function column-count(columns)
[[-moz-column-count: $(columns)$;
-webkit-column-count: $(columns)$;
column-count: $(columns)$;]substitute[]]
\define column-count(columns)
``
-moz-column-count: $columns$;
-webkit-column-count: $columns$;
column-count: $columns$;
``
\end
\procedure datauri(title)

View File

@ -1,5 +1,5 @@
title: $:/core/macros/copy-to-clipboard
tags: $:/tags/Macro $:/tags/Global
tags: $:/tags/Macro
\whitespace trim

View File

@ -1,5 +1,5 @@
title: $:/core/macros/diff
tags: $:/tags/Macro $:/tags/Global
tags: $:/tags/Macro
\whitespace trim

View File

@ -1,5 +1,5 @@
title: $:/core/macros/export
tags: $:/tags/Macro $:/tags/Global
tags: $:/tags/Macro
\function exportButtonFilename(baseFilename)
[<baseFilename>] [<extension>] +[join[]]

View File

@ -1,5 +1,5 @@
title: $:/core/macros/show-filter-count
tags: $:/tags/Macro $:/tags/Global
tags: $:/tags/Macro
\whitespace trim

View File

@ -1,5 +1,5 @@
title: $:/core/macros/tag-picker
tags: $:/tags/Macro $:/tags/Global
tags: $:/tags/Macro
first-search-filter: [subfilter<tagListFilter>!is[system]search:title<userInput>]
second-search-filter: [subfilter<tagListFilter>is[system]search:title<userInput>]

View File

@ -1,5 +1,5 @@
title: $:/core/macros/testcase
tags: $:/tags/Macro $:/tags/Global
tags: $:/tags/Macro
\whitespace trim

View File

@ -1,4 +1,4 @@
tags: $:/tags/Macro $:/tags/Global
tags: $:/tags/Macro
title: $:/core/macros/timeline
<!-- Override one or both of the following two macros with a global or local macro of the same name

View File

@ -0,0 +1,9 @@
list: HelloThere [[Quick Start]] [[Find Out More]] [[TiddlyWiki on the Web]] [[Testimonials and Reviews]] GettingStarted Community
tags: TableOfContents
title: Welcome
type: text/vnd.tiddlywiki
<$transclude $tiddler="HelloThere"/>
''For more information, please select a topic:''
<div class="tc-table-of-contents"><<toc-selective-expandable "Welcome">></div>

View File

@ -1,5 +1,5 @@
created: 20140908114400000
modified: 20230803053808167
modified: 20241016125145988
tags: About
title: History of TiddlyWiki
type: text/vnd.tiddlywiki

View File

@ -1,9 +1,15 @@
created: 20150117174359000
modified: 20180626122309578
modified: 20241018094151786
tags: Concepts Reference
title: Commands
type: text/vnd.tiddlywiki
A <<.def command>> is one of the following words, written with a `--` prefix and used as a command-line option under Node.js, indicating which action is desired. See [[Using TiddlyWiki on Node.js]] for details of how to use them.
<<list-links "[tag[Commands]]">>
''Commands''
<<list-links "[tag[Commands]] -[tag[$:/deprecated]]" class:"multi-columns">>
''Deprecated Commands''
<<list-links "[tag[Commands]] :and[tag[$:/deprecated]]" class:"multi-columns">>

View File

@ -1,10 +1,12 @@
caption: server
created: 20131219163923630
modified: 20180626150505679
tags: Commands
tags: Commands $:/deprecated
title: ServerCommand
type: text/vnd.tiddlywiki
<<.deprecated-since "5.1.18" "ListenCommand">>.
''Note that the `--server` command is now deprecated in favour of the new ListenCommand''.
See WebServer for details of TiddlyWiki's web server functionality.

View File

@ -1,15 +1,15 @@
created: 20210519110226889
modified: 20210519110226889
modified: 20241021161007731
tags: [[Other Resources]]
title: "Grok TiddlyWiki" by Soren Bjornstad
type: text/vnd.tiddlywiki
url: https://groktiddlywiki.com/read/
This new textbook from Soren Bjornstad is highly recommended for learning ~TiddlyWiki. The presentation and design are also a first class example of using ~TiddlyWiki.
Grok ~TiddlyWiki by Soren Bjornstad is an interactive learning environment for TiddlyWiki. It bundles three complementary modes of learning into one TiddlyWiki:
From the site:
> Grok ~TiddlyWiki is a textbook that helps you build a deep, lasting understanding of and proficiency with ~TiddlyWiki through a combination of detailed explanations, practical exercises, and spaced-repetition reviews of prompts called takeaways.
* It ''explains concepts'' using English text and code examples
* It ''assigns exercises'' that help you apply and practice what you've learned
* It ''presents takeaways'', questions about key terms, concepts, or skills, for review as you continue through the book, to help you retain what you've learned over a longer period of time
{{!!url}}

View File

@ -2,7 +2,8 @@ title: HelloThumbnail - Grok TiddlyWiki
tags: HelloThumbnail
color: #D5B7EA
image: Grok TiddlyWiki Banner
caption: Grok ~TiddlyWiki
caption: Grok ~TiddlyWiki 2.0
link: "Grok TiddlyWiki" by Soren Bjornstad
ribbon-text: NEW 2.0
Everything you need to know to get the best out of ~TiddlyWiki
A comprehensive interactive guide to ~TiddlyWiki, from the very basics to the advanced concepts, featuring exercises and takeaways to aid learning

Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

@ -117,12 +117,19 @@ type: text/vnd.tiddlywiki
-webkit-column-gap: 1em;
}
@media (max-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {
/* Switch to 2 columns for 780x1280 displays which is 780p */
@media (max-width: 1279px) {
.multi-columns {
column-count: 2;
}
}
@media (max-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {
.multi-columns {
column-count: 1;
}
}
.tc-saving-sidebar-category { margin-bottom:10px; }
.tc-saving-sidebar-category-title { margin-bottom:5px; font-weight:bold; }
.tc-saving-sidebar-category-item { margin-left:10px; white-space:nowrap; }

View File

@ -593,3 +593,5 @@ Val Packett, @valpackett, 2024/07/26
@IchijikuIchigo, 2024/09/29
JC John Sese Cuneta, @techmagus, 2024/10/07
@zorrox1024, 2024/10/20