Skip to content
This repository has been archived by the owner on May 28, 2023. It is now read-only.

Tiddlywiki5 plugin that automatically populates information about field up the tree.

License

Notifications You must be signed in to change notification settings

EvidentlyCube/TW5-FieldPropagator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Field Propagator [TiddlyWiki5 Plugin]

⚠️ This repository has been moved: To make development easier this plugin's code was moved to EvidentlyCube/TW5-PluginShowcase, specifically here .

Propagates a value of a field upwards, through tiddler parents. It was developed to allow marking tiddlers as public/private, and to propagate the information up its parents if the parent has any public children, which was then displayed in a custom table of contents.

Field parent is used to determine tiddler's parent, rather than tags.

Currently it only really supports yes/no field propagation (eg. whether the parent has any visible children).

How to Use

Every tree root must have the following fields defined:

  • propagator-base - name of the field which is propagated, eg. visible
  • propagator-propagated - name of the field in parents to indicate children's base field value, eg. has-visible-children.
  • propagator-preferred-value - the value that has most priority. By default the propagated field will be populated with the value of the last child, but if any child has this value, it'll take priority and will be used instead.

Demo:

See the demo here.

Installation:

Drag this link into your TiddlyWiki 5 page/tab.

About

Tiddlywiki5 plugin that automatically populates information about field up the tree.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published