1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-12 03:00:28 +00:00
TiddlyWiki5/core/modules/parsers/wikiparser/rules
jeremy@jermolene.com f636349007 Introduce true global variables
The basic idea is that if we don't find a variable `foo` then we fallback to retrieving the value from the tiddler `$:/global/foo`, if it exists.

This allows us to replace the usual importvariables-based mechanism for global definitions, avoiding cluttering up the variable namespace with every macro.

In order to permit subprocedures to be overridden, we also introduce a mechanism for conditional definitions: preceding the word definition|procedure|function|widget with a + causes the definition only to occur if the specified variable doesn't already exist. In the next commit we'll apply this mechanism to the tabs macro
2022-05-28 12:23:50 +01:00
..
emphasis remove stricethrough.js 2014-07-24 23:51:37 +02:00
codeblock.js Get rid of the tweakParseTreeNode() hack 2014-05-14 08:51:08 +01:00
codeinline.js added a fix for issue #186 2013-12-25 14:31:35 +01:00
commentblock.js Add "commentpragma" html style rule (#5726) 2021-06-14 17:39:56 +01:00
commentinline.js Fixed comment parsers to match end marker correctly 2021-01-13 11:48:42 +00:00
dash.js Fix problem with the regexp for the "dash" parser 2012-12-26 19:32:06 +00:00
entity.js Switch code block syntax 2012-12-22 23:09:44 +00:00
extlink.js Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +00:00
filteredtranscludeblock.js Obeisance to JSHint for core modules 2014-08-30 20:44:26 +01:00
filteredtranscludeinline.js Obeisance to JSHint for core modules 2014-08-30 20:44:26 +01:00
fnprocdef.js Introduce true global variables 2022-05-28 12:23:50 +01:00
hardlinebreaks.js Obeisance to JSHint for core modules 2014-08-30 20:44:26 +01:00
heading.js Fix crash with headings 2014-03-17 20:55:08 +00:00
horizrule.js added fix for issue #94 for horizontal rules, tables and typed block 2013-12-25 23:06:42 +01:00
html.js Require $$ for custom widgets, and that overridden JS widgets must exist 2022-05-21 15:47:19 +01:00
image.js Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +00:00
import.js Fixed super minor issue with import pragma (#5521) 2021-05-23 17:39:06 +01:00
list.js Let chained > blockquotes generate valid HTML (#4332) 2020-04-07 20:39:13 +01:00
macrocallblock.js Extend transclude widget to work with old-style macros and use it for the macrocall shortcut syntax 2022-05-08 15:59:20 +01:00
macrocallinline.js Extend transclude widget to work with old-style macros and use it for the macrocall shortcut syntax 2022-05-08 15:59:20 +01:00
macrodef.js Introduce true global variables 2022-05-28 12:23:50 +01:00
parameters.js Add utility function for parsing macro parameter definitions 2022-05-27 18:37:42 +01:00
prettyextlink.js Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +00:00
prettylink.js Add rel="noopener noreferrer" to external links 2016-05-05 11:49:40 +01:00
quoteblock.js Obeisance to JSHint for core modules 2014-08-30 20:44:26 +01:00
rules.js Store macros in the render context so that they scope in the expected way 2012-12-29 23:17:09 +00:00
styleblock.js Fixed subtle little typo 2012-12-29 23:16:34 +00:00
styleinline.js Change more "tw-*" classes to "tc-*" 2014-08-28 18:21:08 +01:00
syslink.js Fix regexp performance problem introduced in c7b31b0242 2016-10-17 19:08:01 +01:00
table.js style(App) eliminate whitespace at the end of code lines (#5735) 2021-05-30 19:20:17 +01:00
transcludeblock.js Replace ubertransclude widget with transclude widget 2022-04-30 10:00:38 +01:00
transcludeinline.js Replace ubertransclude widget with transclude widget 2022-04-30 10:00:38 +01:00
typedblock.js Obeisance to JSHint for core modules 2014-08-30 20:44:26 +01:00
whitespace.js Add new "\whitespace" pragma 2017-07-12 16:46:13 +01:00
wikilink.js Move the wikilink regexps into global config 2014-11-26 11:12:25 +00:00