Ticket #700 (closed enhancement: wontfix)

Opened 5 years ago

Last modified 2 years ago

Core Templating code

Reported by: jayfresh Owned by: jayfresh
Priority: undefined Milestone: 2011.cleanup
Component: core Version:
Severity: undefined Keywords: core TiddlyTemplating
Cc:

Description

This is the minimal set of code to add Templating into the core, where Templating refers to TiddlyTemplating? as described at:

 http://tiddlywiki.org/wiki/TiddlyTemplating

This defines a new core file, Templating.js, which contains code for the following: * expandTemplate - a function to render an array of tiddlers with a template * templateFormatter - simple formatter for processing templates * templateTiddlers - macro to find a set of tiddlers and render them once each through a template * templateTags - macro to render a tiddler's tags through a template

This patch does not add in an actual use case of templating, but leaves that to future patches, instead preferring to bake the core mechanism into the core.

Attachments

Templating.js Download (2.8 KB) - added by jayfresh 5 years ago.
Patch for ticket #700

Change History

Changed 5 years ago by jayfresh

Patch for ticket #700

Changed 5 years ago by jayfresh

  • owner changed from JeremyRuston to jayfresh
  • status changed from new to assigned

Changed 5 years ago by JeremyRuston

  • milestone set to 2.6

Changed 3 years ago by MartinBudden

  • milestone changed from 2.6.2 to 2.7.1

Milestone 2.6.2 deleted

Changed 2 years ago by MartinBudden

  • status changed from assigned to closed
  • resolution set to wontfix
  • milestone changed from 2.7.1 to 2011.cleanup

Templating can be added as a plugin for those who require it.

Note: See TracTickets for help on using tickets.