tiddlywiki 5.3.3 → 5.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (916) hide show
  1. package/bin/build-site.sh +34 -1
  2. package/boot/boot.js +61 -26
  3. package/boot/tiddlywiki.files +32 -0
  4. package/contributing.md +1 -1
  5. package/core/copyright.tid +1 -1
  6. package/core/images/input-button.tid +5 -0
  7. package/core/images/standard-layout.tid +7 -0
  8. package/core/language/en-GB/Buttons.multids +3 -0
  9. package/core/language/en-GB/ControlPanel.multids +6 -0
  10. package/core/language/en-GB/Docs/ModuleTypes.multids +1 -1
  11. package/core/language/en-GB/Docs/PaletteColours.multids +7 -0
  12. package/core/language/en-GB/Fields.multids +2 -0
  13. package/core/language/en-GB/Misc.multids +2 -2
  14. package/core/modules/commands/listen.js +1 -1
  15. package/core/modules/commands/makelibrary.js +1 -26
  16. package/core/modules/commands/save.js +3 -1
  17. package/core/modules/commands/savewikifolder.js +4 -1
  18. package/core/modules/filters/backtranscludes.js +26 -0
  19. package/core/modules/filters/crypto.js +2 -5
  20. package/core/modules/filters/strings.js +6 -3
  21. package/core/modules/filters/transcludes.js +26 -0
  22. package/core/modules/filters/x-listops.js +1 -1
  23. package/core/modules/indexers/back-indexer.js +122 -0
  24. package/core/modules/macros/csvtiddlers.js +9 -5
  25. package/core/modules/parsers/parseutils.js +1 -1
  26. package/core/modules/parsers/wikiparser/rules/codeblock.js +6 -3
  27. package/core/modules/parsers/wikiparser/rules/codeinline.js +5 -2
  28. package/core/modules/parsers/wikiparser/rules/extlink.js +2 -1
  29. package/core/modules/parsers/wikiparser/rules/filteredtranscludeblock.js +15 -5
  30. package/core/modules/parsers/wikiparser/rules/filteredtranscludeinline.js +15 -5
  31. package/core/modules/parsers/wikiparser/rules/fnprocdef.js +3 -3
  32. package/core/modules/parsers/wikiparser/rules/hardlinebreaks.js +2 -1
  33. package/core/modules/parsers/wikiparser/rules/heading.js +4 -2
  34. package/core/modules/parsers/wikiparser/rules/html.js +25 -0
  35. package/core/modules/parsers/wikiparser/rules/image.js +2 -2
  36. package/core/modules/parsers/wikiparser/rules/import.js +2 -1
  37. package/core/modules/parsers/wikiparser/rules/list.js +29 -4
  38. package/core/modules/parsers/wikiparser/rules/macrodef.js +3 -3
  39. package/core/modules/parsers/wikiparser/rules/prettyextlink.js +7 -2
  40. package/core/modules/parsers/wikiparser/rules/prettylink.js +12 -5
  41. package/core/modules/parsers/wikiparser/rules/quoteblock.js +16 -30
  42. package/core/modules/parsers/wikiparser/rules/syslink.js +6 -3
  43. package/core/modules/parsers/wikiparser/rules/table.js +2 -1
  44. package/core/modules/parsers/wikiparser/rules/typedblock.js +4 -1
  45. package/core/modules/parsers/wikiparser/rules/wikilink.js +4 -1
  46. package/core/modules/parsers/wikiparser/wikiparser.js +39 -5
  47. package/core/modules/saver-handler.js +7 -3
  48. package/core/modules/server/authenticators/header.js +3 -1
  49. package/core/modules/server/server.js +5 -0
  50. package/core/modules/startup/plugins.js +1 -1
  51. package/core/modules/startup/render.js +8 -2
  52. package/core/modules/startup/rootwidget.js +10 -2
  53. package/core/modules/startup/story.js +14 -4
  54. package/core/modules/startup/windows.js +1 -1
  55. package/core/modules/utils/dom/dom.js +3 -1
  56. package/core/modules/utils/dom/http.js +19 -7
  57. package/core/modules/utils/errors.js +23 -0
  58. package/core/modules/utils/fakedom.js +2 -2
  59. package/core/modules/utils/filesystem.js +13 -10
  60. package/core/modules/utils/repository.js +52 -0
  61. package/core/modules/utils/utils.js +11 -2
  62. package/core/modules/widgets/action-deletefield.js +7 -2
  63. package/core/modules/widgets/action-log.js +6 -1
  64. package/core/modules/widgets/button.js +1 -1
  65. package/core/modules/widgets/data.js +184 -0
  66. package/core/modules/widgets/draggable.js +2 -2
  67. package/core/modules/widgets/edit.js +1 -1
  68. package/core/modules/widgets/importvariables.js +1 -1
  69. package/core/modules/widgets/link.js +1 -1
  70. package/core/modules/widgets/parameters.js +12 -0
  71. package/core/modules/widgets/testcase.js +165 -0
  72. package/core/modules/widgets/transclude.js +24 -1
  73. package/core/modules/widgets/widget.js +23 -10
  74. package/core/modules/wiki.js +78 -2
  75. package/core/palettes/GruvBoxDark.tid +4 -0
  76. package/core/palettes/Nord.tid +4 -0
  77. package/core/palettes/SolarizedDark.tid +5 -1
  78. package/core/palettes/SolarizedLight.tid +5 -1
  79. package/core/palettes/Vanilla.tid +7 -0
  80. package/core/plugin.info +2 -1
  81. package/core/templates/external-js/save-all-external-js.tid +1 -1
  82. package/core/templates/external-js/save-offline-external-js.tid +1 -1
  83. package/core/templates/save-all.tid +1 -1
  84. package/core/templates/save-empty.tid +1 -1
  85. package/core/templates/save-lazy-all.tid +1 -1
  86. package/core/templates/save-lazy-images.tid +1 -1
  87. package/core/ui/AdvancedSearch/Filter.tid +1 -4
  88. package/core/ui/AdvancedSearch/Standard.tid +5 -4
  89. package/core/ui/Components/plugin-info.tid +11 -1
  90. package/core/ui/ControlPanel/Modals/AddPlugins.tid +13 -2
  91. package/core/ui/ControlPanel/Saving/DownloadSaver.tid +11 -2
  92. package/core/ui/ControlPanel/Saving/General.tid +11 -3
  93. package/core/ui/ControlPanel/Settings/CamelCase.tid +10 -1
  94. package/core/ui/ControlPanel/Settings/DefaultMoreSidebarTab.tid +11 -6
  95. package/core/ui/ControlPanel/Settings/DefaultSidebarTab.tid +11 -5
  96. package/core/ui/ControlPanel/Settings/EditorToolbar.tid +9 -2
  97. package/core/ui/ControlPanel/Settings/InfoPanelMode.tid +11 -3
  98. package/core/ui/ControlPanel/Settings/LinkToBehaviour.tid +15 -11
  99. package/core/ui/ControlPanel/Settings/MissingLinks.tid +6 -2
  100. package/core/ui/ControlPanel/Settings/NavigationAddressBar.tid +13 -4
  101. package/core/ui/ControlPanel/Settings/NavigationHistory.tid +11 -3
  102. package/core/ui/ControlPanel/Settings/NavigationPermalinkviewMode.tid +17 -2
  103. package/core/ui/ControlPanel/Settings/PerformanceInstrumentation.tid +9 -1
  104. package/core/ui/ControlPanel/Settings/TitleLinks.tid +11 -3
  105. package/core/ui/ControlPanel/Settings/ToolbarButtonStyle.tid +9 -6
  106. package/core/ui/ControlPanel/Settings/ToolbarButtons.tid +17 -2
  107. package/core/ui/ControlPanel/TestCases.tid +10 -0
  108. package/core/ui/ControlPanel/TestCasesAll.tid +24 -0
  109. package/core/ui/ControlPanel/TestCasesFailed.tid +15 -0
  110. package/core/ui/ControlPanel/TiddlyWiki.tid +2 -2
  111. package/core/ui/EditTemplate/body/default.tid +7 -2
  112. package/core/ui/EditTemplate/controls.tid +12 -6
  113. package/core/ui/EditTemplate/tags.tid +52 -28
  114. package/core/ui/EditorToolbar/preview.tid +2 -2
  115. package/core/ui/KeyboardShortcuts/refresh.tid +5 -0
  116. package/core/ui/PageControls/more-page-actions.tid +37 -44
  117. package/core/ui/PageControls.tid +10 -13
  118. package/core/ui/{PageTemplate.tid → StandardLayout.tid} +1 -1
  119. package/core/ui/TestCaseTemplate.tid +19 -0
  120. package/core/ui/TestCases/DefaultTemplate.tid +91 -0
  121. package/core/ui/TestCases/DefaultTemplateSourceTabs.tid +27 -0
  122. package/core/ui/TestCases/RawJSONTemplate.tid +4 -0
  123. package/core/ui/TestCases/actions/Export.tid +4 -0
  124. package/core/ui/TestCases/actions/Import.tid +11 -0
  125. package/core/ui/ViewTemplate/title.tid +33 -26
  126. package/core/ui/ViewToolbar/more-tiddler-actions.tid +35 -43
  127. package/core/wiki/config/OfficialPluginLibrary.tid +1 -1
  128. package/core/wiki/config/ShortcutInfo.multids +1 -0
  129. package/core/wiki/config/ViewTemplateBodyFilters.multids +1 -0
  130. package/core/wiki/config/shortcuts/shortcuts-mac.multids +1 -0
  131. package/core/wiki/config/shortcuts/shortcuts-not-mac.multids +1 -0
  132. package/core/wiki/macros/CSS.tid +43 -51
  133. package/core/wiki/macros/copy-to-clipboard.tid +17 -11
  134. package/core/wiki/macros/diff.tid +28 -28
  135. package/core/wiki/macros/tag-picker.tid +170 -159
  136. package/core/wiki/macros/tag.tid +3 -1
  137. package/core/wiki/macros/testcase.tid +10 -0
  138. package/core/wiki/tags/TestCaseActions.tid +2 -0
  139. package/core/wiki/tags/ViewTemplateBodyFilter.tid +1 -1
  140. package/editions/dev/tiddlers/HelloThere.tid +1 -0
  141. package/editions/dev/tiddlers/javascript-widget-tutorial/Javascript Widget Tutorial.tid +22 -16
  142. package/editions/dev/tiddlers/new/Using ES2016 for Writing Plugins.tid +18 -8
  143. package/editions/dev/tiddlers/new/Using TiddlyWiki as a library.tid +5 -0
  144. package/editions/dev/tiddlers/system/$__themes_tiddlywiki_vanilla_options_sidebarlayout.tid +6 -0
  145. package/editions/full/tiddlywiki.info +1 -0
  146. package/editions/geospatialdemo/tiddlers/DefaultTiddlers.tid +4 -0
  147. package/editions/geospatialdemo/tiddlers/Features.tid +14 -0
  148. package/editions/geospatialdemo/tiddlers/Flickr Demo.tid +27 -0
  149. package/editions/geospatialdemo/tiddlers/Geospatial Plugin Logo.png +0 -0
  150. package/editions/geospatialdemo/tiddlers/Geospatial Plugin Logo.png.meta +2 -0
  151. package/editions/geospatialdemo/tiddlers/HelloThere.tid +37 -0
  152. package/editions/geospatialdemo/tiddlers/Markers.tid +53 -0
  153. package/editions/geospatialdemo/tiddlers/SiteSubtitle.tid +3 -0
  154. package/editions/geospatialdemo/tiddlers/SiteTitle.tid +3 -0
  155. package/editions/geospatialdemo/tiddlers/cascades/ViewTemplateBodyFilters.tid +6 -0
  156. package/editions/geospatialdemo/tiddlers/cities/LimehouseTownHall.tid +9 -0
  157. package/editions/geospatialdemo/tiddlers/cities/Motovun.tid +9 -0
  158. package/editions/geospatialdemo/tiddlers/cities/NewYork.tid +8 -0
  159. package/editions/geospatialdemo/tiddlers/cities/Oxford.tid +8 -0
  160. package/editions/geospatialdemo/tiddlers/cities/Toronto.tid +8 -0
  161. package/editions/geospatialdemo/tiddlers/cities/Winchester.tid +8 -0
  162. package/editions/geospatialdemo/tiddlers/config/flickr-param.multids +5 -0
  163. package/editions/geospatialdemo/tiddlers/default-import-spec.tid +4 -0
  164. package/editions/geospatialdemo/tiddlers/favicon.png +0 -0
  165. package/editions/geospatialdemo/tiddlers/favicon.png.meta +2 -0
  166. package/editions/geospatialdemo/tiddlers/features/canada-census-subdivision-millesime.geojson +1 -0
  167. package/editions/geospatialdemo/tiddlers/features/canada-census-subdivision-millesime.geojson.meta +5 -0
  168. package/editions/geospatialdemo/tiddlers/features/denver-bikerental.tid +109 -0
  169. package/editions/geospatialdemo/tiddlers/features/denver-campus.tid +63 -0
  170. package/editions/geospatialdemo/tiddlers/features/denver-freebus.tid +56 -0
  171. package/editions/geospatialdemo/tiddlers/features/denver-lightrail.tid +30 -0
  172. package/editions/geospatialdemo/tiddlers/features/harvard-glb-volc-geojson.json +1 -0
  173. package/editions/geospatialdemo/tiddlers/features/harvard-glb-volc-geojson.json.meta +5 -0
  174. package/editions/geospatialdemo/tiddlers/features/us-states.geojson +54 -0
  175. package/editions/geospatialdemo/tiddlers/features/us-states.geojson.meta +5 -0
  176. package/editions/geospatialdemo/tiddlers/real-estate-demo/real-estate-demo.tid +99 -0
  177. package/editions/geospatialdemo/tiddlers/real-estate-demo/schema.json +22 -0
  178. package/editions/geospatialdemo/tiddlers/real-estate-demo/schema.json.meta +3 -0
  179. package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRow.tid +5 -0
  180. package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldAddress.tid +7 -0
  181. package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldBroker.tid +7 -0
  182. package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldCity.tid +7 -0
  183. package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldLat.tid +8 -0
  184. package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldLong.tid +8 -0
  185. package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldPrice.tid +8 -0
  186. package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldSalesAgent.tid +7 -0
  187. package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldState.tid +7 -0
  188. package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldTags.tid +7 -0
  189. package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldTitle.tid +8 -0
  190. package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldZipCode.tid +7 -0
  191. package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesSheet.tid +7 -0
  192. package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/workbook.tid +7 -0
  193. package/editions/geospatialdemo/tiddlers/sidebarlayout.tid +2 -0
  194. package/editions/geospatialdemo/tiddlers/ui/geofeature.tid +39 -0
  195. package/editions/geospatialdemo/tiddlers/ui/geomarker.tid +128 -0
  196. package/editions/geospatialdemo/tiddlywiki.info +23 -0
  197. package/editions/introduction/tiddlers/slides/CecilyMap.tid +12 -12
  198. package/editions/introduction/tiddlers/slides/blank.json +1 -1
  199. package/editions/multiwikiserver/tiddlers/$__StoryList.tid +2 -0
  200. package/editions/prerelease/tiddlers/{Release 5.3.4.tid → Release 5.3.6.tid } +10 -15
  201. package/editions/prerelease/tiddlers/system/PrereleaseLocalPluginLibrary.tid +1 -1
  202. package/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid +1 -1
  203. package/editions/prerelease/tiddlers/system/configPerformanceInstrumentation.tid +2 -0
  204. package/editions/prerelease/tiddlywiki.info +4 -1
  205. package/editions/test/tiddlers/HelloThere.tid +4 -0
  206. package/editions/test/tiddlers/tests/data/data-widget/ImportCompound.tid +27 -0
  207. package/editions/test/tiddlers/tests/data/data-widget/ImportFilter.tid +28 -0
  208. package/editions/test/tiddlers/tests/data/data-widget/ImportTiddler.tid +23 -0
  209. package/editions/test/tiddlers/tests/data/data-widget/Simple.tid +18 -0
  210. package/editions/test/tiddlers/tests/data/functions/FunctionFilterrunVariables.tid +24 -0
  211. package/editions/test/tiddlers/tests/data/functions/FunctionFilterrunVariables2.tid +20 -0
  212. package/editions/test/tiddlers/tests/data/functions/FunctionFilterrunVariables3.tid +21 -0
  213. package/editions/test/tiddlers/tests/data/importvariables/WithSetWidgets2.tid +1 -0
  214. package/editions/test/tiddlers/tests/data/importvariables/WithSetWidgetsAndMacros.tid +1 -0
  215. package/editions/test/tiddlers/tests/data/macros/EndInBody.tid +16 -0
  216. package/editions/test/tiddlers/tests/data/macros/IndentedEnd.tid +16 -0
  217. package/editions/test/tiddlers/tests/data/macros/MismatchedNamedEnd.tid +16 -0
  218. package/editions/test/tiddlers/tests/data/macros/WhitespaceOnlyWithEnd.tid +18 -0
  219. package/editions/test/tiddlers/tests/data/macros/WhitespaceOnlyWithEnd2.tid +15 -0
  220. package/editions/test/tiddlers/tests/data/macros/unusedtitle/basic-params-draft-exists.tid +27 -0
  221. package/editions/test/tiddlers/tests/data/macros/unusedtitle/basic-params-empty-tiddler-exists.tid +23 -0
  222. package/editions/test/tiddlers/tests/data/macros/unusedtitle/basic-params-empty.tid +20 -0
  223. package/editions/test/tiddlers/tests/data/macros/unusedtitle/basic-params-tiddlers-exist.tid +28 -0
  224. package/editions/test/tiddlers/tests/data/macros/unusedtitle/basic-params.tid +20 -0
  225. package/editions/test/tiddlers/tests/data/macros/unusedtitle/template-empty-params-tiddler-exist.tid +50 -0
  226. package/editions/test/tiddlers/tests/data/macros/unusedtitle/template-empty-params.tid +24 -0
  227. package/editions/test/tiddlers/tests/data/macros/unusedtitle/template.tid +28 -0
  228. package/editions/test/tiddlers/tests/data/pragmas/WhitespaceAfterPragma.tid +4 -1
  229. package/editions/test/tiddlers/tests/data/procedures/EndInBody.tid +16 -0
  230. package/editions/test/tiddlers/tests/data/procedures/IndentedEnd.tid +16 -0
  231. package/editions/test/tiddlers/tests/data/procedures/MismatchedNamedEnd.tid +16 -0
  232. package/editions/test/tiddlers/tests/data/procedures/WhitespaceOnlyWithEnd.tid +18 -0
  233. package/editions/test/tiddlers/tests/data/procedures/WhitespaceOnlyWithEnd2.tid +15 -0
  234. package/editions/test/tiddlers/tests/data/transclude/Procedures-Whitespace2.tid +25 -0
  235. package/editions/test/tiddlers/tests/data/transclude/Procedures-Whitespace3.tid +30 -0
  236. package/editions/test/tiddlers/tests/data/transclude/Recursion.tid +2 -1
  237. package/editions/test/tiddlers/tests/from-tw5.com/tiddlywiki.files +5 -0
  238. package/editions/test/tiddlers/tests/test-action-deletefield.js +176 -0
  239. package/editions/test/tiddlers/tests/test-backlinks.js +57 -44
  240. package/editions/test/tiddlers/tests/test-backtranscludes.js +241 -0
  241. package/editions/test/tiddlers/tests/test-fakedom.js +27 -0
  242. package/editions/test/tiddlers/tests/test-plugins.js +55 -0
  243. package/editions/test/tiddlers/tests/test-widget-getVariableInfo.js +95 -0
  244. package/editions/test/tiddlers/tests/test-widget.js +61 -0
  245. package/editions/test/tiddlers/tests/test-wikitext-parser.js +48 -49
  246. package/editions/test/tiddlywiki.info +2 -1
  247. package/editions/tour/tiddlers/Solar System/Asteroid (253) Mathilde Image.png +0 -0
  248. package/editions/tour/tiddlers/Solar System/Asteroid (253) Mathilde Image.png.meta +3 -0
  249. package/editions/tour/tiddlers/Solar System/Asteroid.tid +17 -0
  250. package/editions/tour/tiddlers/Solar System/Comet Image.png +0 -0
  251. package/editions/tour/tiddlers/Solar System/Comet Image.png.meta +3 -0
  252. package/editions/tour/tiddlers/Solar System/Comet.tid +15 -0
  253. package/editions/tour/tiddlers/Solar System/Earth Image.png +0 -0
  254. package/editions/tour/tiddlers/Solar System/Earth Image.png.meta +3 -0
  255. package/editions/tour/tiddlers/Solar System/Earth's Moon Image.png +0 -0
  256. package/editions/tour/tiddlers/Solar System/Earth's Moon Image.png.meta +3 -0
  257. package/editions/tour/tiddlers/Solar System/Earth's Moon.tid +10 -0
  258. package/editions/tour/tiddlers/Solar System/Earth.tid +21 -0
  259. package/editions/tour/tiddlers/Solar System/Jupiter Image.png +0 -0
  260. package/editions/tour/tiddlers/Solar System/Jupiter Image.png.meta +3 -0
  261. package/editions/tour/tiddlers/Solar System/Jupiter.tid +15 -0
  262. package/editions/tour/tiddlers/Solar System/Kuiper belt.tid +12 -0
  263. package/editions/tour/tiddlers/Solar System/Mars Image.png +0 -0
  264. package/editions/tour/tiddlers/Solar System/Mars Image.png.meta +5 -0
  265. package/editions/tour/tiddlers/Solar System/Mars.tid +11 -0
  266. package/editions/tour/tiddlers/Solar System/Mercury Image.png +0 -0
  267. package/editions/tour/tiddlers/Solar System/Mercury Image.png.meta +3 -0
  268. package/editions/tour/tiddlers/Solar System/Mercury.tid +21 -0
  269. package/editions/tour/tiddlers/Solar System/Milky Way Image.png +0 -0
  270. package/editions/tour/tiddlers/Solar System/Milky Way Image.png.meta +5 -0
  271. package/editions/tour/tiddlers/Solar System/Milky Way.tid +14 -0
  272. package/editions/tour/tiddlers/Solar System/Moon.tid +9 -0
  273. package/editions/tour/tiddlers/Solar System/Neptune Image.png +0 -0
  274. package/editions/tour/tiddlers/Solar System/Neptune Image.png.meta +3 -0
  275. package/editions/tour/tiddlers/Solar System/Neptune.tid +19 -0
  276. package/editions/tour/tiddlers/Solar System/Planet Image.png +0 -0
  277. package/editions/tour/tiddlers/Solar System/Planet Image.png.meta +3 -0
  278. package/editions/tour/tiddlers/Solar System/Planet.tid +17 -0
  279. package/editions/tour/tiddlers/Solar System/Pluto Image.png +0 -0
  280. package/editions/tour/tiddlers/Solar System/Pluto Image.png.meta +3 -0
  281. package/editions/tour/tiddlers/Solar System/Pluto.tid +12 -0
  282. package/editions/tour/tiddlers/Solar System/Saturn Image.png +0 -0
  283. package/editions/tour/tiddlers/Solar System/Saturn Image.png.meta +3 -0
  284. package/editions/tour/tiddlers/Solar System/Saturn.tid +17 -0
  285. package/editions/tour/tiddlers/Solar System/Solar System Image.png +0 -0
  286. package/editions/tour/tiddlers/Solar System/Solar System Image.png.meta +3 -0
  287. package/editions/tour/tiddlers/Solar System/Solar System.tid +18 -0
  288. package/editions/tour/tiddlers/Solar System/Sun Image.png +0 -0
  289. package/editions/tour/tiddlers/Solar System/Sun Image.png.meta +5 -0
  290. package/editions/tour/tiddlers/Solar System/Sun.tid +17 -0
  291. package/editions/tour/tiddlers/Solar System/Uranus Image.png +0 -0
  292. package/editions/tour/tiddlers/Solar System/Uranus Image.png.meta +3 -0
  293. package/editions/tour/tiddlers/Solar System/Uranus.tid +19 -0
  294. package/editions/tour/tiddlers/Solar System/Venus Image.png +0 -0
  295. package/editions/tour/tiddlers/Solar System/Venus Image.png.meta +3 -0
  296. package/editions/tour/tiddlers/Solar System/Venus.tid +17 -0
  297. package/editions/tour/tiddlers/System/$__themes_tiddlywiki_vanilla_options_sidebarlayout.tid +4 -0
  298. package/editions/tour/tiddlers/System/DefaultTiddlers.tid +4 -0
  299. package/editions/tour/tiddlers/System/HelloThere.tid +5 -0
  300. package/editions/tour/tiddlers/System/SiteSubtitle.tid +2 -0
  301. package/editions/tour/tiddlers/System/SiteTitle.tid +2 -0
  302. package/editions/tour/tiddlers/System/configAutoStartTour.tid +2 -0
  303. package/editions/tour/tiddlers/System/styles.tid +9 -0
  304. package/editions/tour/tiddlywiki.info +16 -0
  305. package/editions/translators/tiddlywiki.info +1 -0
  306. package/editions/tw5.com/tiddlers/Operators without parameters.tid +18 -0
  307. package/editions/tw5.com/tiddlers/Selection Constructors: Conditional.tid +9 -0
  308. package/editions/tw5.com/tiddlers/String Operators.tid +8 -0
  309. package/editions/tw5.com/tiddlers/Tag Operators.tid +8 -0
  310. package/editions/tw5.com/tiddlers/TiddlyWiki Docs PR Maker.tid +12 -0
  311. package/editions/tw5.com/tiddlers/about/Archive.tid +3 -3
  312. package/editions/tw5.com/tiddlers/about/Developers.tid +1 -0
  313. package/editions/tw5.com/tiddlers/about/History of TiddlyWiki.tid +5 -5
  314. package/editions/tw5.com/tiddlers/community/Community Editions.tid +2 -2
  315. package/editions/tw5.com/tiddlers/community/Contributor License Agreement.tid +2 -2
  316. package/editions/tw5.com/tiddlers/community/Improving TiddlyWiki Documentation.tid +21 -1
  317. package/editions/tw5.com/tiddlers/community/plugins/Disqus comments plugin by bimlas.tid +1 -1
  318. package/editions/tw5.com/tiddlers/community/plugins/Kin filter operator by bimlas.tid +1 -1
  319. package/editions/tw5.com/tiddlers/community/plugins/Locator plugin by bimlas.tid +1 -1
  320. package/editions/tw5.com/tiddlers/community/themes/Notebook theme by Nicolas Petton.tid +2 -2
  321. package/editions/tw5.com/tiddlers/concepts/Bags and Recipes.tid +42 -0
  322. package/editions/tw5.com/tiddlers/concepts/ColourPalettes.tid +2 -2
  323. package/editions/tw5.com/tiddlers/concepts/CompoundTiddlers.tid +31 -0
  324. package/editions/tw5.com/tiddlers/concepts/Dominant Append.tid +3 -1
  325. package/editions/tw5.com/tiddlers/concepts/Filters.tid +3 -3
  326. package/editions/tw5.com/tiddlers/concepts/Hard and Soft Links.tid +4 -2
  327. package/editions/tw5.com/tiddlers/concepts/Hard and Soft Transclusions.tid +16 -0
  328. package/editions/tw5.com/tiddlers/concepts/Selection Constructors.tid +5 -1
  329. package/editions/tw5.com/tiddlers/concepts/ShadowTiddlers.tid +4 -2
  330. package/editions/tw5.com/tiddlers/concepts/Temporary Tiddlers.tid +8 -0
  331. package/editions/tw5.com/tiddlers/concepts/TestCaseTiddlers.tid +26 -0
  332. package/editions/tw5.com/tiddlers/concepts/TextReference.tid +2 -2
  333. package/editions/tw5.com/tiddlers/concepts/TiddlerFields.tid +4 -3
  334. package/editions/tw5.com/tiddlers/concepts/Transclusion.tid +10 -3
  335. package/editions/tw5.com/tiddlers/currentTab Variable.tid +12 -0
  336. package/editions/tw5.com/tiddlers/customising/Alternative page layouts.tid +34 -3
  337. package/editions/tw5.com/tiddlers/customising/Creating new toolbar buttons.tid +2 -2
  338. package/editions/tw5.com/tiddlers/definitions/Legacy.tid +9 -0
  339. package/editions/tw5.com/tiddlers/definitions/TiddlyFox.tid +4 -2
  340. package/editions/tw5.com/tiddlers/definitions/TiddlyWeb.tid +2 -3
  341. package/editions/tw5.com/tiddlers/definitions/TiddlyWebAdaptor.tid +9 -0
  342. package/editions/tw5.com/tiddlers/definitions/UnaMesa.tid +10 -0
  343. package/editions/tw5.com/tiddlers/features/AutoSave.tid +1 -1
  344. package/editions/tw5.com/tiddlers/fields/ListField.tid +3 -3
  345. package/editions/tw5.com/tiddlers/fields/_canonical_uriField.tid +5 -0
  346. package/editions/tw5.com/tiddlers/filters/Conditional Operators.tid +6 -4
  347. package/editions/tw5.com/tiddlers/filters/Filter Operators.tid +13 -6
  348. package/editions/tw5.com/tiddlers/filters/Mathematics Operators.tid +2 -2
  349. package/editions/tw5.com/tiddlers/filters/add.tid +2 -2
  350. package/editions/tw5.com/tiddlers/filters/all.tid +8 -4
  351. package/editions/tw5.com/tiddlers/filters/append.tid +3 -3
  352. package/editions/tw5.com/tiddlers/filters/backtranscludes.tid +14 -0
  353. package/editions/tw5.com/tiddlers/filters/charcode.tid +2 -2
  354. package/editions/tw5.com/tiddlers/filters/compare Operator.tid +2 -2
  355. package/editions/tw5.com/tiddlers/filters/cycle Operator.tid +1 -1
  356. package/editions/tw5.com/tiddlers/filters/divide Operator.tid +1 -1
  357. package/editions/tw5.com/tiddlers/filters/enlist Operator.tid +2 -2
  358. package/editions/tw5.com/tiddlers/filters/enlist-input Operator.tid +1 -1
  359. package/editions/tw5.com/tiddlers/filters/examples/Brownies.tid +1 -1
  360. package/editions/tw5.com/tiddlers/filters/examples/Chick Peas.tid +1 -1
  361. package/editions/tw5.com/tiddlers/filters/examples/Milk.tid +1 -1
  362. package/editions/tw5.com/tiddlers/filters/examples/Rice Pudding.tid +1 -1
  363. package/editions/tw5.com/tiddlers/filters/examples/backtransclude.tid +7 -0
  364. package/editions/tw5.com/tiddlers/filters/examples/prepend.tid +2 -2
  365. package/editions/tw5.com/tiddlers/filters/examples/sha256 Operator (Examples).tid +9 -0
  366. package/editions/tw5.com/tiddlers/filters/examples/subfilter Operator (Examples).tid +1 -1
  367. package/editions/tw5.com/tiddlers/filters/examples/transclude.tid +5 -0
  368. package/editions/tw5.com/tiddlers/filters/field.tid +11 -11
  369. package/editions/tw5.com/tiddlers/filters/format.tid +6 -6
  370. package/editions/tw5.com/tiddlers/filters/jsonextract.tid +2 -2
  371. package/editions/tw5.com/tiddlers/filters/jsonget.tid +2 -2
  372. package/editions/tw5.com/tiddlers/filters/jsonindexes.tid +2 -2
  373. package/editions/tw5.com/tiddlers/filters/jsontype.tid +2 -2
  374. package/editions/tw5.com/tiddlers/filters/log Operator.tid +1 -1
  375. package/editions/tw5.com/tiddlers/filters/match Operator.tid +5 -6
  376. package/editions/tw5.com/tiddlers/filters/max Operator.tid +2 -2
  377. package/editions/tw5.com/tiddlers/filters/min Operator.tid +1 -1
  378. package/editions/tw5.com/tiddlers/filters/minlength.tid +3 -3
  379. package/editions/tw5.com/tiddlers/filters/moduleproperty Operator.tid +1 -1
  380. package/editions/tw5.com/tiddlers/filters/modules.tid +1 -1
  381. package/editions/tw5.com/tiddlers/filters/multiply Operator.tid +1 -1
  382. package/editions/tw5.com/tiddlers/filters/power Operator.tid +1 -1
  383. package/editions/tw5.com/tiddlers/filters/prefix.tid +9 -10
  384. package/editions/tw5.com/tiddlers/filters/prepend.tid +2 -2
  385. package/editions/tw5.com/tiddlers/filters/range.tid +11 -11
  386. package/editions/tw5.com/tiddlers/filters/reduce.tid +2 -2
  387. package/editions/tw5.com/tiddlers/filters/remainder Operator.tid +1 -1
  388. package/editions/tw5.com/tiddlers/filters/remove.tid +3 -3
  389. package/editions/tw5.com/tiddlers/filters/removeprefix.tid +8 -9
  390. package/editions/tw5.com/tiddlers/filters/removesuffix.tid +8 -9
  391. package/editions/tw5.com/tiddlers/filters/search.tid +3 -3
  392. package/editions/tw5.com/tiddlers/filters/sortby.tid +1 -1
  393. package/editions/tw5.com/tiddlers/filters/splitregexp Operator.tid +20 -2
  394. package/editions/tw5.com/tiddlers/filters/subfilter Operator.tid +3 -3
  395. package/editions/tw5.com/tiddlers/filters/subtract Operator.tid +1 -1
  396. package/editions/tw5.com/tiddlers/filters/suffix.tid +9 -10
  397. package/editions/tw5.com/tiddlers/filters/syntax/All Filter Run Prefix.tid +18 -0
  398. package/editions/tw5.com/tiddlers/filters/syntax/And Filter Run Prefix.tid +18 -0
  399. package/editions/tw5.com/tiddlers/filters/syntax/Cascade Filter Run Prefix (Examples).tid +2 -2
  400. package/editions/tw5.com/tiddlers/filters/syntax/Cascade Filter Run Prefix.tid +14 -9
  401. package/editions/tw5.com/tiddlers/filters/syntax/Else Filter Run Prefix.tid +18 -0
  402. package/editions/tw5.com/tiddlers/filters/syntax/Except Filter Run Prefix.tid +18 -0
  403. package/editions/tw5.com/tiddlers/filters/syntax/Filter Expression.tid +11 -63
  404. package/editions/tw5.com/tiddlers/filters/syntax/Filter Filter Run Prefix (Examples).tid +2 -2
  405. package/editions/tw5.com/tiddlers/filters/syntax/Filter Filter Run Prefix.tid +19 -14
  406. package/editions/tw5.com/tiddlers/filters/syntax/Filter Parameter.tid +13 -7
  407. package/editions/tw5.com/tiddlers/filters/syntax/Filter Run Prefix (Examples).tid +2 -2
  408. package/editions/tw5.com/tiddlers/filters/syntax/Filter Run Prefix.tid +18 -0
  409. package/editions/tw5.com/tiddlers/filters/syntax/Filter Run.tid +5 -4
  410. package/editions/tw5.com/tiddlers/filters/syntax/Filter Step.tid +22 -10
  411. package/editions/tw5.com/tiddlers/filters/syntax/Filter Syntax.tid +12 -6
  412. package/editions/tw5.com/tiddlers/filters/syntax/Filter Whitespace.tid +5 -3
  413. package/editions/tw5.com/tiddlers/filters/syntax/Interchangeable Filter Run Prefixes.tid +44 -0
  414. package/editions/tw5.com/tiddlers/filters/syntax/Intersection Filter Run Prefix (Examples).tid +2 -2
  415. package/editions/tw5.com/tiddlers/filters/syntax/Intersection Filter Run Prefix.tid +13 -8
  416. package/editions/tw5.com/tiddlers/filters/syntax/Map Filter Run Prefix (Examples).tid +2 -2
  417. package/editions/tw5.com/tiddlers/filters/syntax/Map Filter Run Prefix.tid +21 -16
  418. package/editions/tw5.com/tiddlers/filters/syntax/Named Filter Run Prefix.tid +32 -6
  419. package/editions/tw5.com/tiddlers/filters/syntax/Or Filter Run Prefix.tid +18 -0
  420. package/editions/tw5.com/tiddlers/filters/syntax/Reduce Filter Run Prefix (Examples).tid +2 -2
  421. package/editions/tw5.com/tiddlers/filters/syntax/Reduce Filter Run Prefix.tid +23 -14
  422. package/editions/tw5.com/tiddlers/filters/syntax/Shortcut Filter Run Prefixes.tid +29 -0
  423. package/editions/tw5.com/tiddlers/filters/syntax/Sort Filter Run Prefix (Examples).tid +2 -2
  424. package/editions/tw5.com/tiddlers/filters/syntax/Sort Filter Run Prefix.tid +16 -9
  425. package/editions/tw5.com/tiddlers/filters/syntax/then Filter Run Prefix.tid +3 -36
  426. package/editions/tw5.com/tiddlers/filters/toggle Operator.tid +2 -2
  427. package/editions/tw5.com/tiddlers/filters/transcludes.tid +14 -0
  428. package/editions/tw5.com/tiddlers/filters/unique.tid +4 -0
  429. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Firefox.tid +4 -3
  430. package/editions/tw5.com/tiddlers/hellothere/HelloThere.tid +1 -1
  431. package/editions/tw5.com/tiddlers/howtos/Concatenating text and variables using macro substitution.tid +6 -0
  432. package/editions/tw5.com/tiddlers/howtos/Custom_data-styles.tid +4 -2
  433. package/editions/tw5.com/tiddlers/howtos/How to embed PDF and other documents.tid +2 -2
  434. package/editions/tw5.com/tiddlers/howtos/Setting a page background image.tid +2 -2
  435. package/editions/tw5.com/tiddlers/howtos/Tagging.tid +3 -3
  436. package/editions/tw5.com/tiddlers/howtos/Using Excise.tid +2 -2
  437. package/editions/tw5.com/tiddlers/images/New Release Banner.png +0 -0
  438. package/editions/tw5.com/tiddlers/images/Open Collective Logo.tid +4 -2
  439. package/editions/tw5.com/tiddlers/macros/StylesheetMacros.tid +3 -1
  440. package/editions/tw5.com/tiddlers/macros/TabsMacro.tid +2 -2
  441. package/editions/tw5.com/tiddlers/macros/TagMacro.tid +30 -2
  442. package/editions/tw5.com/tiddlers/macros/examples/tag.tid +8 -4
  443. package/editions/tw5.com/tiddlers/macros/import/tags-of-current-tiddler.tid +2 -1
  444. package/editions/tw5.com/tiddlers/macros/import/tv-get-export-image-link.tid +3 -2
  445. package/editions/tw5.com/tiddlers/macros/import/tv-wikilink-tooltip.tid +2 -1
  446. package/editions/tw5.com/tiddlers/macros/list-thumbnails Macro.tid +5 -5
  447. package/editions/tw5.com/tiddlers/macros/syntax/Macro Call Syntax.tid +5 -1
  448. package/editions/tw5.com/tiddlers/macros/syntax/Macro Definition Syntax.tid +5 -1
  449. package/editions/tw5.com/tiddlers/macros/syntax/Procedure Call Syntax.tid +33 -0
  450. package/editions/tw5.com/tiddlers/macros/syntax/Procedure Definition Syntax.tid +93 -0
  451. package/editions/tw5.com/tiddlers/macros/syntax/Procedure Syntax.tid +11 -0
  452. package/editions/tw5.com/tiddlers/macros/tag-picker_Macro.tid +14 -5
  453. package/editions/tw5.com/tiddlers/macros/thumbnail Macro.tid +19 -4
  454. package/editions/tw5.com/tiddlers/mechanisms/PluginMechanism.tid +5 -1
  455. package/editions/tw5.com/tiddlers/mechanisms/RefreshThrottling.tid +1 -1
  456. package/editions/tw5.com/tiddlers/mechanisms/WikificationMechanism.tid +3 -3
  457. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-copy-to-clipboard.tid +3 -1
  458. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-edit-bitmap-operation.tid +2 -2
  459. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-edit-text-operation.tid +2 -2
  460. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-http-request Example Basic Authentication.tid +34 -0
  461. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-http-request Example Random Dog.tid +1 -1
  462. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-http-request Example Zotero.tid +1 -1
  463. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-http-request Examples.tid +117 -0
  464. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-http-request.tid +8 -1
  465. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-permalink.tid +3 -1
  466. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-permaview.tid +3 -1
  467. package/editions/tw5.com/tiddlers/nodejs/Naming of System Tiddlers.tid +4 -4
  468. package/editions/tw5.com/tiddlers/nodejs/TiddlyWiki5 Versioning.tid +1 -1
  469. package/editions/tw5.com/tiddlers/plugins/Plugin Stability.tid +14 -0
  470. package/editions/tw5.com/tiddlers/pragmas/Pragma_ _parsermode.tid +1 -1
  471. package/editions/tw5.com/tiddlers/procedures/Procedures.tid +6 -3
  472. package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.2.tid +1 -1
  473. package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.3.tid +1 -1
  474. package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.4.tid +170 -0
  475. package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.5.tid +49 -0
  476. package/editions/tw5.com/tiddlers/saving/Saving with FireFox.tid +17 -0
  477. package/editions/tw5.com/tiddlers/saving/Saving with Polly.tid +0 -1
  478. package/editions/tw5.com/tiddlers/saving/Saving with TiddlyFox on Android.tid +4 -2
  479. package/editions/tw5.com/tiddlers/saving/Saving with TiddlyFox.tid +2 -19
  480. package/editions/tw5.com/tiddlers/saving/TiddlyBucket - Save to AWS or Google Storage.tid +0 -1
  481. package/editions/tw5.com/tiddlers/styleguide/Documentation Macros.tid +188 -163
  482. package/editions/tw5.com/tiddlers/system/$__SplashScreen.tid +3 -1
  483. package/editions/tw5.com/tiddlers/system/ContributionBanner.tid +7 -3
  484. package/editions/tw5.com/tiddlers/system/Deprecated.tid +5 -1
  485. package/editions/tw5.com/tiddlers/system/Deprecated_-_What_does_it_mean.tid +0 -3
  486. package/editions/tw5.com/tiddlers/system/Sources.tid +36 -15
  487. package/editions/tw5.com/tiddlers/system/TableOfContents.tid +2 -2
  488. package/editions/tw5.com/tiddlers/system/doc-macros.tid +181 -170
  489. package/editions/tw5.com/tiddlers/system/doc-styles.tid +46 -23
  490. package/editions/tw5.com/tiddlers/system/download-empty.tid +4 -4
  491. package/editions/tw5.com/tiddlers/system/filter-run-template.tid +50 -0
  492. package/editions/tw5.com/tiddlers/system/operator-macros.tid +46 -32
  493. package/editions/tw5.com/tiddlers/system/operator-template.tid +52 -71
  494. package/editions/tw5.com/tiddlers/system/variable-macros.tid +15 -10
  495. package/editions/tw5.com/tiddlers/system/version-macros.tid +29 -5
  496. package/editions/tw5.com/tiddlers/system/wikitext-macros.tid +54 -62
  497. package/editions/tw5.com/tiddlers/tag-picker Macro (Examples).tid +69 -0
  498. package/editions/tw5.com/tiddlers/tag-pill Macro (Examples).tid +14 -0
  499. package/editions/tw5.com/tiddlers/testcases/DataWidget/FilterMissingTiddler.tid +17 -0
  500. package/editions/tw5.com/tiddlers/testcases/DataWidget/ImportCompound.tid +33 -0
  501. package/editions/tw5.com/tiddlers/testcases/DataWidget/ImportedFilter.tid +49 -0
  502. package/editions/tw5.com/tiddlers/testcases/DataWidget/ImportedTiddler.tid +29 -0
  503. package/editions/tw5.com/tiddlers/testcases/DataWidget/Refreshing.tid +30 -0
  504. package/editions/tw5.com/tiddlers/testcases/DataWidget/SimpleTiddler.tid +22 -0
  505. package/editions/tw5.com/tiddlers/testcases/TestCaseWidget/FailingTest.tid +15 -0
  506. package/editions/tw5.com/tiddlers/testcases/TestCaseWidget/NoExpectedResults.tid +12 -0
  507. package/editions/tw5.com/tiddlers/testcases/TestCaseWidget/TwoPlusTwo.tid +18 -0
  508. package/editions/tw5.com/tiddlers/testcases/TestCaseWidget/currentTiddler.tid +16 -0
  509. package/editions/tw5.com/tiddlers/testcases/TranscludeWidget/SimpleTransclusion.tid +23 -0
  510. package/editions/tw5.com/tiddlers/variables/Variables.tid +4 -3
  511. package/editions/tw5.com/tiddlers/variables/examples/tv-get-export-image-link.tid +7 -1
  512. package/editions/tw5.com/tiddlers/variables/tv-filter-export-link Variable.tid +2 -2
  513. package/editions/tw5.com/tiddlers/variables/tv-get-export-image-link.tid +4 -4
  514. package/editions/tw5.com/tiddlers/variables/tv-get-export-link.tid +4 -4
  515. package/editions/tw5.com/tiddlers/variables/tv-wikilink-template.tid +2 -2
  516. package/editions/tw5.com/tiddlers/webserver/Using the external JavaScript template.tid +2 -2
  517. package/editions/tw5.com/tiddlers/webserver/Using the integrated static file server.tid +17 -2
  518. package/editions/tw5.com/tiddlers/webserver/WebServer Parameter_ use-browse-cache.tid +25 -0
  519. package/editions/tw5.com/tiddlers/webserver/WebServer.tid +1 -1
  520. package/editions/tw5.com/tiddlers/widgets/ActionDeleteFieldWidget.tid +51 -20
  521. package/editions/tw5.com/tiddlers/widgets/ActionDeleteTiddlerWidget.tid +16 -14
  522. package/editions/tw5.com/tiddlers/widgets/ActionListopsWidget.tid +5 -3
  523. package/editions/tw5.com/tiddlers/widgets/DataWidget.tid +42 -0
  524. package/editions/tw5.com/tiddlers/widgets/EditTextWidget.tid +18 -1
  525. package/editions/tw5.com/tiddlers/widgets/EditWidget.tid +14 -1
  526. package/editions/tw5.com/tiddlers/widgets/EncryptWidget.tid +5 -5
  527. package/editions/tw5.com/tiddlers/widgets/ImageWidget.tid +32 -0
  528. package/editions/tw5.com/tiddlers/widgets/RevealWidget.tid +2 -2
  529. package/editions/tw5.com/tiddlers/widgets/ScrollableWidget.tid +10 -0
  530. package/editions/tw5.com/tiddlers/widgets/TestCaseWidget.tid +107 -0
  531. package/editions/tw5.com/tiddlers/widgets/TranscludeWidget.tid +34 -34
  532. package/editions/tw5.com/tiddlers/widgets/Widgets.tid +4 -4
  533. package/editions/tw5.com/tiddlers/wikitext/Block Quotes in WikiText.tid +32 -1
  534. package/editions/tw5.com/tiddlers/wikitext/Hard Linebreaks in WikiText.tid +7 -3
  535. package/editions/tw5.com/tiddlers/wikitext/Lists in WikiText.tid +1 -1
  536. package/editions/tw5.com/tiddlers/wikitext/Transclusion and Substitution.tid +2 -2
  537. package/editions/tw5.com/tiddlers/wikitext/Transclusion in WikiText.tid +27 -6
  538. package/editions/tw5.com/tiddlers/wikitext/parser/Block Mode WikiText.tid +2 -2
  539. package/editions/tw5.com/tiddlers/workingwithtw/Sharing your tiddlers with others.tid +2 -2
  540. package/editions/tw5.com/tiddlywiki.info +5 -2
  541. package/languages/de-DE/Buttons.multids +4 -1
  542. package/languages/de-DE/ControlPanel.multids +7 -1
  543. package/languages/de-DE/Dates.multids +1 -1
  544. package/languages/de-DE/Docs/ModuleTypes.multids +2 -2
  545. package/languages/de-DE/Docs/PaletteColours.multids +4 -1
  546. package/languages/de-DE/EditTemplate.multids +1 -1
  547. package/languages/de-DE/Exporters.multids +1 -1
  548. package/languages/de-DE/Fields.multids +3 -1
  549. package/languages/de-DE/Help/build.tid +1 -1
  550. package/languages/de-DE/Help/clearpassword.tid +2 -2
  551. package/languages/de-DE/Help/commands.tid +2 -2
  552. package/languages/de-DE/Help/editions.tid +1 -1
  553. package/languages/de-DE/Help/fetch.tid +6 -6
  554. package/languages/de-DE/Help/import.tid +5 -5
  555. package/languages/de-DE/Help/init.tid +1 -1
  556. package/languages/de-DE/Help/listen.tid +8 -8
  557. package/languages/de-DE/Help/load.tid +3 -3
  558. package/languages/de-DE/Help/makelibrary.tid +2 -2
  559. package/languages/de-DE/Help/output.tid +2 -2
  560. package/languages/de-DE/Help/password.tid +1 -1
  561. package/languages/de-DE/Help/render.tid +6 -6
  562. package/languages/de-DE/Help/save.tid +3 -4
  563. package/languages/de-DE/Help/server.tid +5 -0
  564. package/languages/de-DE/Help/setfield.tid +1 -1
  565. package/languages/de-DE/Import.multids +1 -1
  566. package/languages/de-DE/Misc.multids +6 -6
  567. package/languages/de-DE/Modals/Download.tid +0 -1
  568. package/languages/de-DE/NewJournal.multids +1 -1
  569. package/languages/de-DE/Notifications.multids +1 -1
  570. package/languages/de-DE/Search.multids +1 -1
  571. package/languages/de-DE/SideBar.multids +1 -1
  572. package/languages/de-DE/SiteSubtitle.tid +1 -1
  573. package/languages/de-DE/ThemeTweaks.multids +1 -1
  574. package/languages/de-DE/TiddlerInfo.multids +1 -1
  575. package/languages/fr-FR/Buttons.multids +1 -0
  576. package/languages/fr-FR/ControlPanel.multids +6 -0
  577. package/languages/fr-FR/Docs/ModuleTypes.multids +1 -1
  578. package/languages/fr-FR/Docs/PaletteColours.multids +3 -0
  579. package/languages/fr-FR/Fields.multids +3 -1
  580. package/languages/fr-FR/Help/commands.tid +1 -1
  581. package/languages/fr-FR/Help/savewikifolder.tid +15 -0
  582. package/languages/fr-FR/Help/server.tid +1 -1
  583. package/languages/fr-FR/Types/application_javascript.tid +3 -3
  584. package/languages/fr-FR/Types/application_json.tid +2 -2
  585. package/languages/fr-FR/Types/application_x_tiddler_dictionary.tid +2 -2
  586. package/languages/fr-FR/Types/image_gif.tid +2 -2
  587. package/languages/fr-FR/Types/image_jpeg.tid +1 -1
  588. package/languages/fr-FR/Types/image_png.tid +1 -1
  589. package/languages/fr-FR/Types/image_svg_xml.tid +1 -1
  590. package/languages/fr-FR/Types/image_x-icon.tid +1 -1
  591. package/languages/fr-FR/Types/text_css.tid +2 -2
  592. package/languages/fr-FR/Types/text_html.tid +2 -2
  593. package/languages/fr-FR/Types/text_plain.tid +2 -2
  594. package/languages/fr-FR/Types/text_vnd.tiddlywiki.tid +2 -2
  595. package/languages/fr-FR/Types/text_x-tiddlywiki.tid +1 -1
  596. package/languages/mk-MK/Buttons.multids +195 -0
  597. package/languages/mk-MK/ControlPanel.multids +231 -0
  598. package/languages/mk-MK/CoreReadMe.tid +8 -0
  599. package/languages/mk-MK/Dates.multids +87 -0
  600. package/languages/mk-MK/Docs/ModuleTypes.multids +30 -0
  601. package/languages/mk-MK/Docs/PaletteColours.multids +109 -0
  602. package/languages/mk-MK/EditTemplate.multids +38 -0
  603. package/languages/mk-MK/Exporters.multids +6 -0
  604. package/languages/mk-MK/Fields.multids +43 -0
  605. package/languages/mk-MK/Filters.multids +16 -0
  606. package/languages/mk-MK/GettingStarted.tid +18 -0
  607. package/languages/mk-MK/Help/build.tid +11 -0
  608. package/languages/mk-MK/Help/clearpassword.tid +8 -0
  609. package/languages/mk-MK/Help/commands.tid +18 -0
  610. package/languages/mk-MK/Help/default.tid +26 -0
  611. package/languages/mk-MK/Help/deletetiddlers.tid +8 -0
  612. package/languages/mk-MK/Help/editions.tid +8 -0
  613. package/languages/mk-MK/Help/fetch.tid +38 -0
  614. package/languages/mk-MK/Help/help.tid +10 -0
  615. package/languages/mk-MK/Help/import.tid +24 -0
  616. package/languages/mk-MK/Help/init.tid +23 -0
  617. package/languages/mk-MK/Help/listen.tid +35 -0
  618. package/languages/mk-MK/Help/load.tid +19 -0
  619. package/languages/mk-MK/Help/makelibrary.tid +14 -0
  620. package/languages/mk-MK/Help/notfound.tid +4 -0
  621. package/languages/mk-MK/Help/output.tid +11 -0
  622. package/languages/mk-MK/Help/password.tid +10 -0
  623. package/languages/mk-MK/Help/render.tid +35 -0
  624. package/languages/mk-MK/Help/rendertiddler.tid +24 -0
  625. package/languages/mk-MK/Help/rendertiddlers.tid +20 -0
  626. package/languages/mk-MK/Help/save.tid +25 -0
  627. package/languages/mk-MK/Help/savetiddler.tid +14 -0
  628. package/languages/mk-MK/Help/savetiddlers.tid +16 -0
  629. package/languages/mk-MK/Help/savewikifolder.tid +34 -0
  630. package/languages/mk-MK/Help/server.tid +43 -0
  631. package/languages/mk-MK/Help/setfield.tid +17 -0
  632. package/languages/mk-MK/Help/unpackplugin.tid +8 -0
  633. package/languages/mk-MK/Help/verbose.tid +8 -0
  634. package/languages/mk-MK/Help/version.tid +8 -0
  635. package/languages/mk-MK/Import.multids +34 -0
  636. package/languages/mk-MK/Misc.multids +99 -0
  637. package/languages/mk-MK/Modals/Download.tid +13 -0
  638. package/languages/mk-MK/NewJournal.multids +5 -0
  639. package/languages/mk-MK/Notifications.multids +6 -0
  640. package/languages/mk-MK/Search.multids +20 -0
  641. package/languages/mk-MK/SideBar.multids +18 -0
  642. package/languages/mk-MK/SiteSubtitle.tid +3 -0
  643. package/languages/mk-MK/SiteTitle.tid +3 -0
  644. package/languages/mk-MK/Snippets/ListByTag.tid +5 -0
  645. package/languages/mk-MK/Snippets/MacroDefinition.tid +7 -0
  646. package/languages/mk-MK/Snippets/Table4x3.tid +8 -0
  647. package/languages/mk-MK/Snippets/TableOfContents.tid +9 -0
  648. package/languages/mk-MK/ThemeTweaks.multids +42 -0
  649. package/languages/mk-MK/TiddlerInfo.multids +21 -0
  650. package/languages/mk-MK/Types/application%2Fjavascript.tid +4 -0
  651. package/languages/mk-MK/Types/application%2Fjson.tid +4 -0
  652. package/languages/mk-MK/Types/application%2Fx-tiddler-dictionary.tid +4 -0
  653. package/languages/mk-MK/Types/image%2Fgif.tid +4 -0
  654. package/languages/mk-MK/Types/image%2Fjpeg.tid +4 -0
  655. package/languages/mk-MK/Types/image%2Fpng.tid +4 -0
  656. package/languages/mk-MK/Types/image%2Fsvg%2Bxml.tid +4 -0
  657. package/languages/mk-MK/Types/image%2Fx-icon.tid +4 -0
  658. package/languages/mk-MK/Types/text%2Fcss.tid +4 -0
  659. package/languages/mk-MK/Types/text%2Fhtml.tid +4 -0
  660. package/languages/mk-MK/Types/text%2Fplain.tid +4 -0
  661. package/languages/mk-MK/Types/text%2Fvnd.tiddlywiki.tid +4 -0
  662. package/languages/mk-MK/Types/text%2Fx-tiddlywiki.tid +4 -0
  663. package/languages/mk-MK/icon.tid +8 -0
  664. package/languages/mk-MK/plugin.info +8 -0
  665. package/languages/pl-PL/Dates.multids +41 -41
  666. package/languages/zh-Hans/Buttons.multids +3 -0
  667. package/languages/zh-Hans/ControlPanel.multids +6 -0
  668. package/languages/zh-Hans/Docs/ModuleTypes.multids +1 -1
  669. package/languages/zh-Hans/Docs/PaletteColours.multids +7 -0
  670. package/languages/zh-Hans/Fields.multids +2 -0
  671. package/languages/zh-Hans/Misc.multids +3 -3
  672. package/languages/zh-Hant/Buttons.multids +3 -0
  673. package/languages/zh-Hant/ControlPanel.multids +6 -0
  674. package/languages/zh-Hant/Docs/ModuleTypes.multids +1 -1
  675. package/languages/zh-Hant/Docs/PaletteColours.multids +7 -0
  676. package/languages/zh-Hant/Fields.multids +2 -0
  677. package/languages/zh-Hant/Misc.multids +2 -2
  678. package/license +1 -1
  679. package/licenses/cla-individual.md +22 -0
  680. package/package.json +1 -1
  681. package/plugins/tiddlywiki/async/plugin.info +2 -1
  682. package/plugins/tiddlywiki/aws/plugin.info +2 -1
  683. package/plugins/tiddlywiki/aws/templates/lambda/sjcl.tid +2 -2
  684. package/plugins/tiddlywiki/bibtex/plugin.info +2 -1
  685. package/plugins/tiddlywiki/blog/plugin.info +2 -1
  686. package/plugins/tiddlywiki/browser-sniff/plugin.info +2 -1
  687. package/plugins/tiddlywiki/browser-storage/plugin.info +2 -1
  688. package/plugins/tiddlywiki/cecily/plugin.info +2 -1
  689. package/plugins/tiddlywiki/classictools/modules/recipe.js +9 -0
  690. package/plugins/tiddlywiki/classictools/plugin.info +2 -1
  691. package/plugins/tiddlywiki/classictools/templates/tiddlywiki2.externaljs.template.html.tid +4 -4
  692. package/plugins/tiddlywiki/classictools/templates/tiddlywiki2.template.html.tid +21 -21
  693. package/plugins/tiddlywiki/codemirror/plugin.info +2 -1
  694. package/plugins/tiddlywiki/codemirror-autocomplete/plugin.info +2 -1
  695. package/plugins/tiddlywiki/codemirror-closebrackets/plugin.info +2 -1
  696. package/plugins/tiddlywiki/codemirror-closetag/plugin.info +2 -1
  697. package/plugins/tiddlywiki/codemirror-fullscreen-editing/plugin.info +2 -1
  698. package/plugins/tiddlywiki/codemirror-keymap-emacs/plugin.info +2 -1
  699. package/plugins/tiddlywiki/codemirror-keymap-sublime-text/plugin.info +2 -1
  700. package/plugins/tiddlywiki/codemirror-keymap-vim/plugin.info +2 -1
  701. package/plugins/tiddlywiki/codemirror-mode-css/plugin.info +2 -1
  702. package/plugins/tiddlywiki/codemirror-mode-htmlembedded/plugin.info +2 -1
  703. package/plugins/tiddlywiki/codemirror-mode-htmlmixed/plugin.info +2 -1
  704. package/plugins/tiddlywiki/codemirror-mode-javascript/plugin.info +2 -1
  705. package/plugins/tiddlywiki/codemirror-mode-markdown/plugin.info +2 -1
  706. package/plugins/tiddlywiki/codemirror-mode-x-tiddlywiki/plugin.info +2 -1
  707. package/plugins/tiddlywiki/codemirror-mode-xml/plugin.info +2 -1
  708. package/plugins/tiddlywiki/codemirror-search-replace/plugin.info +2 -1
  709. package/plugins/tiddlywiki/codemirror-trailingspace/plugin.info +2 -1
  710. package/plugins/tiddlywiki/comments/plugin.info +2 -1
  711. package/plugins/tiddlywiki/confetti/confetti-manager.js +56 -0
  712. package/plugins/tiddlywiki/confetti/confetti-widget.js +67 -0
  713. package/plugins/tiddlywiki/confetti/examples/staggered.tid +10 -0
  714. package/plugins/tiddlywiki/confetti/examples/typing-trigger.tid +10 -0
  715. package/plugins/tiddlywiki/confetti/files/LICENSE +15 -0
  716. package/plugins/tiddlywiki/confetti/files/confetti.js +626 -0
  717. package/plugins/tiddlywiki/confetti/files/tiddlywiki.files +20 -0
  718. package/plugins/tiddlywiki/confetti/plugin.info +7 -0
  719. package/plugins/tiddlywiki/confetti/readme.tid +65 -0
  720. package/plugins/tiddlywiki/confetti/startup.js +63 -0
  721. package/plugins/tiddlywiki/consent-banner/plugin.info +2 -1
  722. package/plugins/tiddlywiki/d3/plugin.info +2 -1
  723. package/plugins/tiddlywiki/dynannotate/docs/readme.tid +10 -0
  724. package/plugins/tiddlywiki/dynannotate/examples/spotlight.tid +71 -0
  725. package/plugins/tiddlywiki/dynannotate/modules/element-spotlight.js +136 -0
  726. package/plugins/tiddlywiki/dynannotate/modules/startup.js +24 -1
  727. package/plugins/tiddlywiki/dynannotate/plugin.info +2 -1
  728. package/plugins/tiddlywiki/dynannotate/styles.tid +17 -0
  729. package/plugins/tiddlywiki/dynaview/plugin.info +2 -1
  730. package/plugins/tiddlywiki/evernote/plugin.info +2 -1
  731. package/plugins/tiddlywiki/external-attachments/plugin.info +2 -1
  732. package/plugins/tiddlywiki/filesystem/plugin.info +2 -1
  733. package/plugins/tiddlywiki/freelinks/plugin.info +2 -1
  734. package/plugins/tiddlywiki/geospatial/baselayers/TagsGeoBaseLayer.tid +2 -0
  735. package/plugins/tiddlywiki/geospatial/baselayers/esri-world-imagery.tid +7 -0
  736. package/plugins/tiddlywiki/geospatial/baselayers/openstreetmap.tid +7 -0
  737. package/plugins/tiddlywiki/geospatial/baselayers/opentopomap.tid +7 -0
  738. package/plugins/tiddlywiki/geospatial/docs/flickr.tid +141 -0
  739. package/plugins/tiddlywiki/geospatial/docs/geobaselayer.tid +20 -0
  740. package/plugins/tiddlywiki/geospatial/docs/geodifference.tid +20 -0
  741. package/plugins/tiddlywiki/geospatial/docs/geodistance.tid +14 -0
  742. package/plugins/tiddlywiki/geospatial/docs/geointersect.tid +20 -0
  743. package/plugins/tiddlywiki/geospatial/docs/geolayer.tid +24 -0
  744. package/plugins/tiddlywiki/geospatial/docs/geolocation.tid +92 -0
  745. package/plugins/tiddlywiki/geospatial/docs/geolookup.tid +16 -0
  746. package/plugins/tiddlywiki/geospatial/docs/geomap.tid +122 -0
  747. package/plugins/tiddlywiki/geospatial/docs/geonearestpoint.tid +19 -0
  748. package/plugins/tiddlywiki/geospatial/docs/geopoint.tid +22 -0
  749. package/plugins/tiddlywiki/geospatial/docs/geounion.tid +20 -0
  750. package/plugins/tiddlywiki/geospatial/docs/olc-decode.tid +14 -0
  751. package/plugins/tiddlywiki/geospatial/docs/olc-encode.tid +14 -0
  752. package/plugins/tiddlywiki/geospatial/docs.tid +3 -0
  753. package/plugins/tiddlywiki/geospatial/files/leaflet.js/LICENSE +26 -0
  754. package/plugins/tiddlywiki/geospatial/files/leaflet.js/images/layers-2x.png +0 -0
  755. package/plugins/tiddlywiki/geospatial/files/leaflet.js/images/layers.png +0 -0
  756. package/plugins/tiddlywiki/geospatial/files/leaflet.js/images/marker-icon-2x.png +0 -0
  757. package/plugins/tiddlywiki/geospatial/files/leaflet.js/images/marker-icon.png +0 -0
  758. package/plugins/tiddlywiki/geospatial/files/leaflet.js/images/marker-shadow.png +0 -0
  759. package/plugins/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js +14512 -0
  760. package/plugins/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js.map +1 -0
  761. package/plugins/tiddlywiki/geospatial/files/leaflet.js/leaflet.css +661 -0
  762. package/plugins/tiddlywiki/geospatial/files/leaflet.js/leaflet.js +6 -0
  763. package/plugins/tiddlywiki/geospatial/files/leaflet.js/leaflet.js.map +1 -0
  764. package/plugins/tiddlywiki/geospatial/files/leaflet.js/tiddlywiki.files +34 -0
  765. package/plugins/tiddlywiki/geospatial/files/leaflet.markercluster/MIT-LICENCE.txt +20 -0
  766. package/plugins/tiddlywiki/geospatial/files/leaflet.markercluster/MarkerCluster.Default.css +60 -0
  767. package/plugins/tiddlywiki/geospatial/files/leaflet.markercluster/MarkerCluster.css +14 -0
  768. package/plugins/tiddlywiki/geospatial/files/leaflet.markercluster/leaflet.markercluster-src.js +2718 -0
  769. package/plugins/tiddlywiki/geospatial/files/leaflet.markercluster/leaflet.markercluster-src.js.map +1 -0
  770. package/plugins/tiddlywiki/geospatial/files/leaflet.markercluster/leaflet.markercluster.js +2 -0
  771. package/plugins/tiddlywiki/geospatial/files/leaflet.markercluster/leaflet.markercluster.js.map +1 -0
  772. package/plugins/tiddlywiki/geospatial/files/leaflet.markercluster/tiddlywiki.files +41 -0
  773. package/plugins/tiddlywiki/geospatial/files/open-location-code/LICENSE +202 -0
  774. package/plugins/tiddlywiki/geospatial/files/open-location-code/openlocationcode.js +695 -0
  775. package/plugins/tiddlywiki/geospatial/files/open-location-code/openlocationcode.min.js +1 -0
  776. package/plugins/tiddlywiki/geospatial/files/open-location-code/tiddlywiki.files +21 -0
  777. package/plugins/tiddlywiki/geospatial/files/turf.js/LICENSE +20 -0
  778. package/plugins/tiddlywiki/geospatial/files/turf.js/tiddlywiki.files +21 -0
  779. package/plugins/tiddlywiki/geospatial/files/turf.js/turf.6.5.0.js +88 -0
  780. package/plugins/tiddlywiki/geospatial/geotools.js +41 -0
  781. package/plugins/tiddlywiki/geospatial/helpers/Flickr.tid +99 -0
  782. package/plugins/tiddlywiki/geospatial/helpers/FlickrDefaultPhotoTemplate.tid +11 -0
  783. package/plugins/tiddlywiki/geospatial/icon.tid +6 -0
  784. package/plugins/tiddlywiki/geospatial/images/markers/pin.svg +9 -0
  785. package/plugins/tiddlywiki/geospatial/images/markers/pin.svg.meta +2 -0
  786. package/plugins/tiddlywiki/geospatial/license.tid +10 -0
  787. package/plugins/tiddlywiki/geospatial/operators/helper.js +24 -0
  788. package/plugins/tiddlywiki/geospatial/operators/lookup.js +45 -0
  789. package/plugins/tiddlywiki/geospatial/operators/measurement.js +54 -0
  790. package/plugins/tiddlywiki/geospatial/operators/olc.js +55 -0
  791. package/plugins/tiddlywiki/geospatial/operators/transformation.js +88 -0
  792. package/plugins/tiddlywiki/geospatial/plugin.info +7 -0
  793. package/plugins/tiddlywiki/geospatial/readme.tid +13 -0
  794. package/plugins/tiddlywiki/geospatial/settings.tid +24 -0
  795. package/plugins/tiddlywiki/geospatial/startup.js +78 -0
  796. package/plugins/tiddlywiki/geospatial/styles.tid +10 -0
  797. package/plugins/tiddlywiki/geospatial/tests/operators/geodifference-interactive.tid +63 -0
  798. package/plugins/tiddlywiki/geospatial/tests/operators/geodifference.tid +54 -0
  799. package/plugins/tiddlywiki/geospatial/tests/operators/geodistance.tid +30 -0
  800. package/plugins/tiddlywiki/geospatial/tests/operators/geointersect-interactive.tid +63 -0
  801. package/plugins/tiddlywiki/geospatial/tests/operators/geointersect.tid +54 -0
  802. package/plugins/tiddlywiki/geospatial/tests/operators/geolookup.tid +64 -0
  803. package/plugins/tiddlywiki/geospatial/tests/operators/geonearestpoint.tid +28 -0
  804. package/plugins/tiddlywiki/geospatial/tests/operators/geonearestpoint2.tid +45 -0
  805. package/plugins/tiddlywiki/geospatial/tests/operators/geopoint.tid +21 -0
  806. package/plugins/tiddlywiki/geospatial/tests/operators/geounion-interactive.tid +63 -0
  807. package/plugins/tiddlywiki/geospatial/tests/operators/geounion.tid +54 -0
  808. package/plugins/tiddlywiki/geospatial/tests/operators/olc-decode.tid +20 -0
  809. package/plugins/tiddlywiki/geospatial/tests/operators/olc-encode.tid +20 -0
  810. package/plugins/tiddlywiki/geospatial/tests/widgets/geomap-draggable-marker.tid +40 -0
  811. package/plugins/tiddlywiki/geospatial/tests/widgets/geomap-refresh.tid +62 -0
  812. package/plugins/tiddlywiki/geospatial/tests/widgets/geomap.tid +54 -0
  813. package/plugins/tiddlywiki/geospatial/widgets/geobaselayer.js +17 -0
  814. package/plugins/tiddlywiki/geospatial/widgets/geolayer.js +17 -0
  815. package/plugins/tiddlywiki/geospatial/widgets/geomap.js +301 -0
  816. package/plugins/tiddlywiki/github-fork-ribbon/plugin.info +2 -1
  817. package/plugins/tiddlywiki/github-fork-ribbon/readme.tid +2 -4
  818. package/plugins/tiddlywiki/github-fork-ribbon/styles.tid +10 -11
  819. package/plugins/tiddlywiki/github-fork-ribbon/template.tid +26 -0
  820. package/plugins/tiddlywiki/github-fork-ribbon/usage.tid +79 -24
  821. package/plugins/tiddlywiki/googleanalytics/plugin.info +2 -1
  822. package/plugins/tiddlywiki/hammerjs/plugin.info +2 -1
  823. package/plugins/tiddlywiki/help/plugin.info +2 -1
  824. package/plugins/tiddlywiki/highlight/files/tiddlywiki.files +0 -1
  825. package/plugins/tiddlywiki/highlight/plugin.info +2 -1
  826. package/plugins/tiddlywiki/highlight-legacy/plugin.info +2 -1
  827. package/plugins/tiddlywiki/innerwiki/anchor.js +17 -0
  828. package/plugins/tiddlywiki/innerwiki/innerwiki.js +6 -66
  829. package/plugins/tiddlywiki/innerwiki/plugin.info +2 -1
  830. package/plugins/tiddlywiki/internals/plugin.info +2 -1
  831. package/plugins/tiddlywiki/jasmine/plugin.info +2 -1
  832. package/plugins/tiddlywiki/jasmine/run-wiki-based-tests.js +21 -18
  833. package/plugins/tiddlywiki/jszip/plugin.info +2 -1
  834. package/plugins/tiddlywiki/katex/plugin.info +2 -1
  835. package/plugins/tiddlywiki/markdown/plugin.info +2 -1
  836. package/plugins/tiddlywiki/markdown-legacy/plugin.info +2 -1
  837. package/plugins/tiddlywiki/menubar/items/pagecontrols.tid +9 -10
  838. package/plugins/tiddlywiki/menubar/plugin.info +2 -1
  839. package/plugins/tiddlywiki/mobiledragdrop/plugin.info +2 -1
  840. package/plugins/tiddlywiki/nodewebkitsaver/plugin.info +2 -1
  841. package/plugins/tiddlywiki/pluginlibrary/plugin.info +2 -1
  842. package/plugins/tiddlywiki/powered-by-tiddlywiki/plugin.info +2 -1
  843. package/plugins/tiddlywiki/qrcode/plugin.info +2 -1
  844. package/plugins/tiddlywiki/railroad/plugin.info +2 -1
  845. package/plugins/tiddlywiki/savetrail/plugin.info +2 -1
  846. package/plugins/tiddlywiki/sax/plugin.info +2 -1
  847. package/plugins/tiddlywiki/share/plugin.info +2 -1
  848. package/plugins/tiddlywiki/stacked-view/plugin.info +2 -1
  849. package/plugins/tiddlywiki/tahoelafs/plugin.info +2 -1
  850. package/plugins/tiddlywiki/text-slicer/plugin.info +2 -1
  851. package/plugins/tiddlywiki/tiddlyweb/configOfficialPluginLibrary.tid +1 -1
  852. package/plugins/tiddlywiki/tiddlyweb/plugin.info +2 -1
  853. package/plugins/tiddlywiki/tour/config-AutoStartTour.tid +2 -0
  854. package/plugins/tiddlywiki/tour/config-CurrentTour.tid +2 -0
  855. package/plugins/tiddlywiki/tour/config-DefaultColourMappings.multids +31 -0
  856. package/plugins/tiddlywiki/tour/config-ShowTour.tid +2 -0
  857. package/plugins/tiddlywiki/tour/docs.tid +25 -0
  858. package/plugins/tiddlywiki/tour/images/tour-button-icon.tid +9 -0
  859. package/plugins/tiddlywiki/tour/plugin.info +8 -0
  860. package/plugins/tiddlywiki/tour/readme.tid +3 -0
  861. package/plugins/tiddlywiki/tour/settings.tid +154 -0
  862. package/plugins/tiddlywiki/tour/simplified-tiddler-with-tags.tid +106 -0
  863. package/plugins/tiddlywiki/tour/simplified-tiddler.tid +22 -0
  864. package/plugins/tiddlywiki/tour/start-tour-button.tid +18 -0
  865. package/plugins/tiddlywiki/tour/startup-actions.tid +7 -0
  866. package/plugins/tiddlywiki/tour/styles.tid +262 -0
  867. package/plugins/tiddlywiki/tour/tour-panel.tid +104 -0
  868. package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/config/ProductName.tid +2 -0
  869. package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/data/tiddlers-GasGiant.tid +4 -0
  870. package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/data/tiddlers-Jupiter.tid +5 -0
  871. package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/data/tiddlers-Mars.tid +5 -0
  872. package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/data/tiddlers-Planet.tid +4 -0
  873. package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/data/tiddlers-Rocky.tid +4 -0
  874. package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/data/tiddlers-Saturn.tid +5 -0
  875. package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/images/tiddlywiki-tour-logo.svg +28 -0
  876. package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/images/tiddlywiki-tour-logo.svg.meta +2 -0
  877. package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/introduction-to-tiddlywiki.tid +8 -0
  878. package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/settings.tid +4 -0
  879. package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/close-control-panel.tid +9 -0
  880. package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/closing-tiddlers.tid +25 -0
  881. package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/create-tiddler.tid +11 -0
  882. package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/end-of-fullscreen.tid +10 -0
  883. package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/finished.tid +13 -0
  884. package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/links.tid +23 -0
  885. package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/open-control-panel.tid +9 -0
  886. package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/recent.tid +9 -0
  887. package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/search.tid +9 -0
  888. package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/tags.tid +26 -0
  889. package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/tiddlers.tid +16 -0
  890. package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/welcome.tid +10 -0
  891. package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/tagsTourIntroductionToTiddlyWiki.tid +2 -0
  892. package/plugins/tiddlywiki/tour/variables.tid +104 -0
  893. package/plugins/tiddlywiki/translators/plugin.info +2 -1
  894. package/plugins/tiddlywiki/tw2parser/plugin.info +2 -1
  895. package/plugins/tiddlywiki/tw5.com-docs/plugin.info +2 -1
  896. package/plugins/tiddlywiki/tw5.com-docs/readme.tid +7 -0
  897. package/plugins/tiddlywiki/twitter/plugin.info +2 -1
  898. package/plugins/tiddlywiki/twitter-archivist/plugin.info +2 -1
  899. package/plugins/tiddlywiki/upgrade/plugin.info +2 -1
  900. package/plugins/tiddlywiki/xlsx-utils/plugin.info +2 -1
  901. package/plugins/tiddlywiki/xmldom/plugin.info +2 -1
  902. package/readme.md +6 -6
  903. package/themes/tiddlywiki/vanilla/base.tid +212 -9
  904. package/themes/tiddlywiki/vanilla/reset.tid +61 -85
  905. package/boot/sjcl.js.meta +0 -3
  906. package/core/modules/indexers/backlinks-index.js +0 -86
  907. package/editions/es-ES/tiddlers/$__StoryList.tid +0 -6
  908. package/editions/tw.org/tiddlers/$__StoryList.tid +0 -3
  909. package/editions/tw5.com/tiddlers/$__StoryList.tid +0 -5
  910. package/plugins/tiddlywiki/innerwiki/data.js +0 -58
  911. /package/editions/fr-FR/tiddlers/community/editions/{_Noteself_ by Danielo Rodr/303/255guez.tid" → _Noteself_ by Danielo Rodriguez.tid} +0 -0
  912. /package/editions/test/tiddlers/tests/data/macros/{NestedMacros-indented.tid → nested-macros/NestedMacros-indented.tid} +0 -0
  913. /package/editions/test/tiddlers/tests/data/macros/{NestedMacros-indented2.tid → nested-macros/NestedMacros-indented2.tid} +0 -0
  914. /package/editions/test/tiddlers/tests/data/macros/{NestedMacros.tid → nested-macros/NestedMacros.tid} +0 -0
  915. /package/editions/test/tiddlers/tests/data/macros/{TrailingNewlines.tid → trailing-newlines/TrailingNewlines.tid} +0 -0
  916. /package/editions/tw5.com/tiddlers/{Tables in WikiText CSS Utility Classes.tid → wikitext/Tables in WikiText CSS Utility Classes.tid} +0 -0
@@ -0,0 +1,26 @@
1
+ /*\
2
+ title: $:/core/modules/filters/transcludes.js
3
+ type: application/javascript
4
+ module-type: filteroperator
5
+
6
+ Filter operator for returning all the transcludes from a tiddler
7
+
8
+ \*/
9
+ (function(){
10
+
11
+ /*jslint node: true, browser: true */
12
+ /*global $tw: false */
13
+ "use strict";
14
+
15
+ /*
16
+ Export our filter function
17
+ */
18
+ exports.transcludes = function(source,operator,options) {
19
+ var results = new $tw.utils.LinkedList();
20
+ source(function(tiddler,title) {
21
+ results.pushTop(options.wiki.getTiddlerTranscludes(title));
22
+ });
23
+ return results.makeTiddlerIterator(options.wiki);
24
+ };
25
+
26
+ })();
@@ -202,7 +202,7 @@ Extended filter operators to manipulate the current list.
202
202
  }
203
203
  if(resultsIndex !== -1) {
204
204
  i = i + step;
205
- nextOperandIndex = (i < opLength ? i : i - opLength);
205
+ nextOperandIndex = (i < opLength ? i : i % opLength);
206
206
  if(operands.length > 1) {
207
207
  results.splice(resultsIndex,1,operands[nextOperandIndex]);
208
208
  } else {
@@ -0,0 +1,122 @@
1
+ /*\
2
+ title: $:/core/modules/indexers/back-indexer.js
3
+ type: application/javascript
4
+ module-type: indexer
5
+
6
+ By parsing the tiddler text, indexes the tiddlers' back links, back transclusions, block level back links.
7
+
8
+ \*/
9
+ function BackIndexer(wiki) {
10
+ this.wiki = wiki;
11
+ }
12
+
13
+ BackIndexer.prototype.init = function() {
14
+ this.subIndexers = {
15
+ link: new BackSubIndexer(this,"extractLinks"),
16
+ transclude: new BackSubIndexer(this,"extractTranscludes"),
17
+ };
18
+ };
19
+
20
+ BackIndexer.prototype.rebuild = function() {
21
+ $tw.utils.each(this.subIndexers,function(subIndexer) {
22
+ subIndexer.rebuild();
23
+ });
24
+ };
25
+
26
+ BackIndexer.prototype.update = function(updateDescriptor) {
27
+ $tw.utils.each(this.subIndexers,function(subIndexer) {
28
+ subIndexer.update(updateDescriptor);
29
+ });
30
+ };
31
+ function BackSubIndexer(indexer,extractor) {
32
+ this.wiki = indexer.wiki;
33
+ this.indexer = indexer;
34
+ this.extractor = extractor;
35
+ /**
36
+ * {
37
+ * [target title, e.g. tiddler title being linked to]:
38
+ * {
39
+ * [source title, e.g. tiddler title that has link syntax in its text]: true
40
+ * }
41
+ * }
42
+ */
43
+ this.index = null;
44
+ }
45
+
46
+ BackSubIndexer.prototype.init = function() {
47
+ // lazy init until first lookup
48
+ this.index = null;
49
+ }
50
+
51
+ BackSubIndexer.prototype._init = function() {
52
+ this.index = Object.create(null);
53
+ var self = this;
54
+ this.wiki.forEachTiddler(function(sourceTitle,tiddler) {
55
+ var newTargets = self._getTarget(tiddler);
56
+ $tw.utils.each(newTargets, function(target) {
57
+ if(!self.index[target]) {
58
+ self.index[target] = Object.create(null);
59
+ }
60
+ self.index[target][sourceTitle] = true;
61
+ });
62
+ });
63
+ }
64
+
65
+ BackSubIndexer.prototype.rebuild = function() {
66
+ this.index = null;
67
+ }
68
+
69
+ /*
70
+ * Get things that is being referenced in the text, e.g. tiddler names in the link syntax.
71
+ */
72
+ BackSubIndexer.prototype._getTarget = function(tiddler) {
73
+ if(this.wiki.isBinaryTiddler(tiddler.fields.text)) {
74
+ return [];
75
+ }
76
+ var parser = this.wiki.parseText(tiddler.fields.type, tiddler.fields.text, {});
77
+ if(parser) {
78
+ return this.wiki[this.extractor](parser.tree, tiddler.fields.title);
79
+ }
80
+ return [];
81
+ }
82
+
83
+ BackSubIndexer.prototype.update = function(updateDescriptor) {
84
+ // lazy init/update until first lookup
85
+ if(!this.index) {
86
+ return;
87
+ }
88
+ var newTargets = [],
89
+ oldTargets = [],
90
+ self = this;
91
+ if(updateDescriptor.old.exists) {
92
+ oldTargets = this._getTarget(updateDescriptor.old.tiddler);
93
+ }
94
+ if(updateDescriptor.new.exists) {
95
+ newTargets = this._getTarget(updateDescriptor.new.tiddler);
96
+ }
97
+
98
+ $tw.utils.each(oldTargets,function(target) {
99
+ if(self.index[target]) {
100
+ delete self.index[target][updateDescriptor.old.tiddler.fields.title];
101
+ }
102
+ });
103
+ $tw.utils.each(newTargets,function(target) {
104
+ if(!self.index[target]) {
105
+ self.index[target] = Object.create(null);
106
+ }
107
+ self.index[target][updateDescriptor.new.tiddler.fields.title] = true;
108
+ });
109
+ }
110
+
111
+ BackSubIndexer.prototype.lookup = function(title) {
112
+ if(!this.index) {
113
+ this._init();
114
+ }
115
+ if(this.index[title]) {
116
+ return Object.keys(this.index[title]);
117
+ } else {
118
+ return [];
119
+ }
120
+ }
121
+
122
+ exports.BackIndexer = BackIndexer;
@@ -35,9 +35,11 @@ exports.run = function(filter,format) {
35
35
  // Collect all the fields
36
36
  for(t=0;t<tiddlers.length; t++) {
37
37
  tiddler = this.wiki.getTiddler(tiddlers[t]);
38
- for(f in tiddler.fields) {
39
- if(fields.indexOf(f) === -1) {
40
- fields.push(f);
38
+ if(tiddler) {
39
+ for(f in tiddler.fields) {
40
+ if(fields.indexOf(f) === -1) {
41
+ fields.push(f);
42
+ }
41
43
  }
42
44
  }
43
45
  }
@@ -60,8 +62,10 @@ exports.run = function(filter,format) {
60
62
  for(var t=0;t<tiddlers.length; t++) {
61
63
  row = [];
62
64
  tiddler = this.wiki.getTiddler(tiddlers[t]);
63
- for(f=0; f<fields.length; f++) {
64
- row.push(quoteAndEscape(tiddler ? tiddler.getFieldString(fields[f]) || "" : ""));
65
+ if(tiddler) {
66
+ for(f=0; f<fields.length; f++) {
67
+ row.push(quoteAndEscape(tiddler ? tiddler.getFieldString(fields[f]) || "" : ""));
68
+ }
65
69
  }
66
70
  output.push(row.join(","));
67
71
  }
@@ -114,7 +114,7 @@ exports.parseStringLiteral = function(source,pos) {
114
114
  var match = reString.exec(source);
115
115
  if(match && match.index === pos) {
116
116
  node.value = match[1] !== undefined ? match[1] :(
117
- match[2] !== undefined ? match[2] : match[3]
117
+ match[2] !== undefined ? match[2] : match[3]
118
118
  );
119
119
  node.end = pos + match[0].length;
120
120
  return node;
@@ -29,13 +29,16 @@ exports.init = function(parser) {
29
29
 
30
30
  exports.parse = function() {
31
31
  var reEnd = /(\r?\n```$)/mg;
32
+ var languageStart = this.parser.pos + 3,
33
+ languageEnd = languageStart + this.match[1].length;
32
34
  // Move past the match
33
35
  this.parser.pos = this.matchRegExp.lastIndex;
34
36
 
35
37
  // Look for the end of the block
36
38
  reEnd.lastIndex = this.parser.pos;
37
39
  var match = reEnd.exec(this.parser.source),
38
- text;
40
+ text,
41
+ codeStart = this.parser.pos;
39
42
  // Process the block
40
43
  if(match) {
41
44
  text = this.parser.source.substring(this.parser.pos,match.index);
@@ -48,8 +51,8 @@ exports.parse = function() {
48
51
  return [{
49
52
  type: "codeblock",
50
53
  attributes: {
51
- code: {type: "string", value: text},
52
- language: {type: "string", value: this.match[1]}
54
+ code: {type: "string", value: text, start: codeStart, end: this.parser.pos},
55
+ language: {type: "string", value: this.match[1], start: languageStart, end: languageEnd}
53
56
  }
54
57
  }];
55
58
  };
@@ -33,7 +33,8 @@ exports.parse = function() {
33
33
  // Look for the end marker
34
34
  reEnd.lastIndex = this.parser.pos;
35
35
  var match = reEnd.exec(this.parser.source),
36
- text;
36
+ text,
37
+ start = this.parser.pos;
37
38
  // Process the text
38
39
  if(match) {
39
40
  text = this.parser.source.substring(this.parser.pos,match.index);
@@ -47,7 +48,9 @@ exports.parse = function() {
47
48
  tag: "code",
48
49
  children: [{
49
50
  type: "text",
50
- text: text
51
+ text: text,
52
+ start: start,
53
+ end: this.parser.pos
51
54
  }]
52
55
  }];
53
56
  };
@@ -31,6 +31,7 @@ exports.init = function(parser) {
31
31
 
32
32
  exports.parse = function() {
33
33
  // Move past the match
34
+ var start = this.parser.pos;
34
35
  this.parser.pos = this.matchRegExp.lastIndex;
35
36
  // Create the link unless it is suppressed
36
37
  if(this.match[0].substr(0,1) === "~") {
@@ -46,7 +47,7 @@ exports.parse = function() {
46
47
  rel: {type: "string", value: "noopener noreferrer"}
47
48
  },
48
49
  children: [{
49
- type: "text", text: this.match[0]
50
+ type: "text", text: this.match[0], start: start, end: this.parser.pos
50
51
  }]
51
52
  }];
52
53
  }
@@ -31,6 +31,16 @@ exports.init = function(parser) {
31
31
 
32
32
  exports.parse = function() {
33
33
  // Move past the match
34
+ var filterStart = this.parser.pos + 3;
35
+ var filterEnd = filterStart + this.match[1].length;
36
+ var toolTipStart = filterEnd + 1;
37
+ var toolTipEnd = toolTipStart + (this.match[2] ? this.match[2].length : 0);
38
+ var templateStart = toolTipEnd + 2;
39
+ var templateEnd = templateStart + (this.match[3] ? this.match[3].length : 0);
40
+ var styleStart = templateEnd + 2;
41
+ var styleEnd = styleStart + (this.match[4] ? this.match[4].length : 0);
42
+ var classesStart = styleEnd + 1;
43
+ var classesEnd = classesStart + (this.match[5] ? this.match[5].length : 0);
34
44
  this.parser.pos = this.matchRegExp.lastIndex;
35
45
  // Get the match details
36
46
  var filter = this.match[1],
@@ -42,21 +52,21 @@ exports.parse = function() {
42
52
  var node = {
43
53
  type: "list",
44
54
  attributes: {
45
- filter: {type: "string", value: filter}
55
+ filter: {type: "string", value: filter, start: filterStart, end: filterEnd},
46
56
  },
47
57
  isBlock: true
48
58
  };
49
59
  if(tooltip) {
50
- node.attributes.tooltip = {type: "string", value: tooltip};
60
+ node.attributes.tooltip = {type: "string", value: tooltip, start: toolTipStart, end: toolTipEnd};
51
61
  }
52
62
  if(template) {
53
- node.attributes.template = {type: "string", value: template};
63
+ node.attributes.template = {type: "string", value: template, start: templateStart, end: templateEnd};
54
64
  }
55
65
  if(style) {
56
- node.attributes.style = {type: "string", value: style};
66
+ node.attributes.style = {type: "string", value: style, start: styleStart, end: styleEnd};
57
67
  }
58
68
  if(classes) {
59
- node.attributes.itemClass = {type: "string", value: classes.split(".").join(" ")};
69
+ node.attributes.itemClass = {type: "string", value: classes.split(".").join(" "), start: classesStart, end: classesEnd};
60
70
  }
61
71
  return [node];
62
72
  };
@@ -30,6 +30,16 @@ exports.init = function(parser) {
30
30
  };
31
31
 
32
32
  exports.parse = function() {
33
+ var filterStart = this.parser.pos + 3;
34
+ var filterEnd = filterStart + this.match[1].length;
35
+ var toolTipStart = filterEnd + 1;
36
+ var toolTipEnd = toolTipStart + (this.match[2] ? this.match[2].length : 0);
37
+ var templateStart = toolTipEnd + 2;
38
+ var templateEnd = templateStart + (this.match[3] ? this.match[3].length : 0);
39
+ var styleStart = templateEnd + 2;
40
+ var styleEnd = styleStart + (this.match[4] ? this.match[4].length : 0);
41
+ var classesStart = styleEnd + 1;
42
+ var classesEnd = classesStart + (this.match[5] ? this.match[5].length : 0);
33
43
  // Move past the match
34
44
  this.parser.pos = this.matchRegExp.lastIndex;
35
45
  // Get the match details
@@ -42,20 +52,20 @@ exports.parse = function() {
42
52
  var node = {
43
53
  type: "list",
44
54
  attributes: {
45
- filter: {type: "string", value: filter}
55
+ filter: {type: "string", value: filter, start: filterStart, end: filterEnd},
46
56
  }
47
57
  };
48
58
  if(tooltip) {
49
- node.attributes.tooltip = {type: "string", value: tooltip};
59
+ node.attributes.tooltip = {type: "string", value: tooltip, start: toolTipStart, end: toolTipEnd};
50
60
  }
51
61
  if(template) {
52
- node.attributes.template = {type: "string", value: template};
62
+ node.attributes.template = {type: "string", value: template, start: templateStart, end: templateEnd};
53
63
  }
54
64
  if(style) {
55
- node.attributes.style = {type: "string", value: style};
65
+ node.attributes.style = {type: "string", value: style, start: styleStart, end: styleEnd};
56
66
  }
57
67
  if(classes) {
58
- node.attributes.itemClass = {type: "string", value: classes.split(".").join(" ")};
68
+ node.attributes.itemClass = {type: "string", value: classes.split(".").join(" "), start: classesStart, end: classesEnd};
59
69
  }
60
70
  return [node];
61
71
  };
@@ -49,11 +49,11 @@ exports.parse = function() {
49
49
  if(this.match[3]) {
50
50
  params = $tw.utils.parseParameterDefinition(this.match[4]);
51
51
  }
52
- // Is this a multiline definition?
52
+ // Is the remainder of the line blank after the parameter close paren?
53
53
  var reEnd;
54
54
  if(this.match[5]) {
55
- // If so, the end of the body is marked with \end
56
- reEnd = new RegExp("(\\r?\\n[^\\S\\n\\r]*\\\\end[^\\S\\n\\r]*(?:" + $tw.utils.escapeRegExp(this.match[2]) + ")?(?:$|\\r?\\n))","mg");
55
+ // If so, it is a multiline definition and the end of the body is marked with \end
56
+ reEnd = new RegExp("((:?^|\\r?\\n)[^\\S\\n\\r]*\\\\end[^\\S\\n\\r]*(?:" + $tw.utils.escapeRegExp(this.match[2]) + ")?(?:$|\\r?\\n))","mg");
57
57
  } else {
58
58
  // Otherwise, the end of the definition is marked by the end of the line
59
59
  reEnd = /($|\r?\n)/mg;
@@ -45,10 +45,11 @@ exports.parse = function() {
45
45
  reEnd.lastIndex = this.parser.pos;
46
46
  match = reEnd.exec(this.parser.source);
47
47
  if(match) {
48
+ var start = this.parser.pos;
48
49
  this.parser.pos = reEnd.lastIndex;
49
50
  // Add a line break if the terminator was a line break
50
51
  if(match[2]) {
51
- tree.push({type: "element", tag: "br"});
52
+ tree.push({type: "element", tag: "br", start: start, end: this.parser.pos});
52
53
  }
53
54
  }
54
55
  } while(match && !match[1]);
@@ -30,15 +30,17 @@ exports.parse = function() {
30
30
  // Move past the !s
31
31
  this.parser.pos = this.matchRegExp.lastIndex;
32
32
  // Parse any classes, whitespace and then the heading itself
33
+ var classStart = this.parser.pos;
33
34
  var classes = this.parser.parseClasses();
35
+ var classEnd = this.parser.pos;
34
36
  this.parser.skipWhitespace({treatNewlinesAsNonWhitespace: true});
35
37
  var tree = this.parser.parseInlineRun(/(\r?\n)/mg);
36
38
  // Return the heading
37
39
  return [{
38
40
  type: "element",
39
- tag: "h" + headingLevel,
41
+ tag: "h" + headingLevel,
40
42
  attributes: {
41
- "class": {type: "string", value: classes.join(" ")}
43
+ "class": {type: "string", value: classes.join(" "), start: classStart, end: classEnd}
42
44
  },
43
45
  children: tree
44
46
  }];
@@ -44,6 +44,10 @@ Parse the most recent match
44
44
  exports.parse = function() {
45
45
  // Retrieve the most recent match so that recursive calls don't overwrite it
46
46
  var tag = this.nextTag;
47
+ if (!tag.isSelfClosing) {
48
+ tag.openTagStart = tag.start;
49
+ tag.openTagEnd = tag.end;
50
+ }
47
51
  this.nextTag = null;
48
52
  // Advance the parser position to past the tag
49
53
  this.parser.pos = tag.end;
@@ -60,6 +64,27 @@ exports.parse = function() {
60
64
  var reEnd = new RegExp("(" + reEndString + ")","mg");
61
65
  tag.children = this.parser.parseInlineRun(reEnd,{eatTerminator: true});
62
66
  }
67
+ tag.end = this.parser.pos;
68
+ tag.closeTagEnd = tag.end;
69
+ if (tag.closeTagEnd === tag.openTagEnd || this.parser.source[tag.closeTagEnd - 1] !== '>') {
70
+ tag.closeTagStart = tag.end;
71
+ } else {
72
+ tag.closeTagStart = tag.closeTagEnd - 2;
73
+ var closeTagMinPos = tag.children.length > 0 ? tag.children[tag.children.length-1].end : tag.openTagEnd;
74
+ if (!Number.isSafeInteger(closeTagMinPos)) closeTagMinPos = tag.openTagEnd;
75
+ while (tag.closeTagStart >= closeTagMinPos) {
76
+ var char = this.parser.source[tag.closeTagStart];
77
+ if (char === '>') {
78
+ tag.closeTagStart = -1;
79
+ break;
80
+ }
81
+ if (char === '<') break;
82
+ tag.closeTagStart -= 1;
83
+ }
84
+ if (tag.closeTagStart < closeTagMinPos) {
85
+ tag.closeTagStart = tag.end;
86
+ }
87
+ }
63
88
  }
64
89
  // Return the tag
65
90
  return [tag];
@@ -122,9 +122,9 @@ exports.parseImage = function(source,pos) {
122
122
  }
123
123
  pos = token.end;
124
124
  if(token.match[1]) {
125
- node.attributes.tooltip = {type: "string", value: token.match[1].trim()};
125
+ node.attributes.tooltip = {type: "string", value: token.match[1].trim(),start: token.start,end:token.start + token.match[1].length - 1};
126
126
  }
127
- node.attributes.source = {type: "string", value: (token.match[2] || "").trim()};
127
+ node.attributes.source = {type: "string", value: (token.match[2] || "").trim(), start: token.start + (token.match[1] ? token.match[1].length : 0), end: token.end - 2};
128
128
  // Update the end position
129
129
  node.end = pos;
130
130
  return node;
@@ -38,13 +38,14 @@ exports.parse = function() {
38
38
  // Parse the filter terminated by a line break
39
39
  var reMatch = /(.*)(?:$|\r?\n)/mg;
40
40
  reMatch.lastIndex = this.parser.pos;
41
+ var filterStart = this.parser.source;
41
42
  var match = reMatch.exec(this.parser.source);
42
43
  this.parser.pos = reMatch.lastIndex;
43
44
  // Parse tree nodes to return
44
45
  return [{
45
46
  type: "importvariables",
46
47
  attributes: {
47
- filter: {type: "string", value: match[1]}
48
+ filter: {type: "string", value: match[1], start: filterStart, end: this.parser.pos}
48
49
  },
49
50
  children: []
50
51
  }];
@@ -74,6 +74,7 @@ exports.parse = function() {
74
74
  // Match the list marker
75
75
  var reMatch = /([\*#;:>]+)/mg;
76
76
  reMatch.lastIndex = this.parser.pos;
77
+ var start = this.parser.pos;
77
78
  var match = reMatch.exec(this.parser.source);
78
79
  if(!match || match.index !== this.parser.pos) {
79
80
  break;
@@ -94,9 +95,21 @@ exports.parse = function() {
94
95
  }
95
96
  // Construct the list element or reuse the previous one at this level
96
97
  if(listStack.length <= t) {
97
- var listElement = {type: "element", tag: listInfo.listTag, children: [
98
- {type: "element", tag: listInfo.itemTag, children: []}
99
- ]};
98
+ var listElement = {
99
+ type: "element",
100
+ tag: listInfo.listTag,
101
+ children: [
102
+ {
103
+ type: "element",
104
+ tag: listInfo.itemTag,
105
+ children: [],
106
+ start: start,
107
+ end: this.parser.pos,
108
+ }
109
+ ],
110
+ start: start,
111
+ end: this.parser.pos,
112
+ };
100
113
  // Link this list element into the last child item of the parent list item
101
114
  if(t) {
102
115
  var prevListItem = listStack[t-1].children[listStack[t-1].children.length-1];
@@ -105,21 +118,33 @@ exports.parse = function() {
105
118
  // Save this element in the stack
106
119
  listStack[t] = listElement;
107
120
  } else if(t === (match[0].length - 1)) {
108
- listStack[t].children.push({type: "element", tag: listInfo.itemTag, children: []});
121
+ listStack[t].children.push({
122
+ type: "element",
123
+ tag: listInfo.itemTag,
124
+ children: [],
125
+ start: start,
126
+ end: this.parser.pos,
127
+ });
109
128
  }
110
129
  }
111
130
  if(listStack.length > match[0].length) {
112
131
  listStack.splice(match[0].length,listStack.length - match[0].length);
113
132
  }
114
133
  // Process the body of the list item into the last list item
134
+ var classStart = this.parser.pos;
115
135
  var lastListChildren = listStack[listStack.length-1].children,
116
136
  lastListItem = lastListChildren[lastListChildren.length-1],
117
137
  classes = this.parser.parseClasses();
138
+ var classEnd = this.parser.pos;
118
139
  this.parser.skipWhitespace({treatNewlinesAsNonWhitespace: true});
119
140
  var tree = this.parser.parseInlineRun(/(\r?\n)/mg);
120
141
  lastListItem.children.push.apply(lastListItem.children,tree);
142
+ lastListItem.end = this.parser.pos;
143
+ listStack[listStack.length-1].end = this.parser.pos;
121
144
  if(classes.length > 0) {
122
145
  $tw.utils.addClassToParseTreeNode(lastListItem,classes.join(" "));
146
+ lastListItem.attributes.class.start = classStart;
147
+ lastListItem.attributes.class.end = classEnd;
123
148
  }
124
149
  // Consume any whitespace following the list item
125
150
  this.parser.skipWhitespace();
@@ -54,11 +54,11 @@ exports.parse = function() {
54
54
  paramMatch = reParam.exec(paramString);
55
55
  }
56
56
  }
57
- // Is this a multiline definition?
57
+ // Is the remainder of the \define line blank after the parameter close paren?
58
58
  var reEnd;
59
59
  if(this.match[3]) {
60
- // If so, the end of the body is marked with \end
61
- reEnd = new RegExp("(\\r?\\n[^\\S\\n\\r]*\\\\end[^\\S\\n\\r]*(?:" + $tw.utils.escapeRegExp(this.match[1]) + ")?(?:$|\\r?\\n))","mg");
60
+ // If so, it is a multiline definition and the end of the body is marked with \end
61
+ reEnd = new RegExp("((?:^|\\r?\\n)[^\\S\\n\\r]*\\\\end[^\\S\\n\\r]*(?:" + $tw.utils.escapeRegExp(this.match[1]) + ")?(?:$|\\r?\\n))","mg");
62
62
  } else {
63
63
  // Otherwise, the end of the definition is marked by the end of the line
64
64
  reEnd = /($|\r?\n)/mg;
@@ -96,15 +96,20 @@ exports.parseLink = function(source,pos) {
96
96
  splitPos = null;
97
97
  }
98
98
  // Pull out the tooltip and URL
99
- var tooltip, URL;
99
+ var tooltip, URL, urlStart;
100
+ textNode.start = pos;
100
101
  if(splitPos) {
102
+ urlStart = splitPos + 1;
101
103
  URL = source.substring(splitPos + 1,closePos).trim();
102
104
  textNode.text = source.substring(pos,splitPos).trim();
105
+ textNode.end = splitPos;
103
106
  } else {
107
+ urlStart = pos;
104
108
  URL = source.substring(pos,closePos).trim();
105
109
  textNode.text = URL;
110
+ textNode.end = closePos;
106
111
  }
107
- node.attributes.href = {type: "string", value: URL};
112
+ node.attributes.href = {type: "string", value: URL, start: urlStart, end: closePos};
108
113
  node.attributes.target = {type: "string", value: "_blank"};
109
114
  node.attributes.rel = {type: "string", value: "noopener noreferrer"};
110
115
  // Update the end position
@@ -29,32 +29,39 @@ exports.init = function(parser) {
29
29
 
30
30
  exports.parse = function() {
31
31
  // Move past the match
32
+ var start = this.parser.pos + 2;
32
33
  this.parser.pos = this.matchRegExp.lastIndex;
33
34
  // Process the link
34
35
  var text = this.match[1],
35
- link = this.match[2] || text;
36
+ link = this.match[2] || text,
37
+ textEndPos = this.parser.source.indexOf("|", start);
38
+ if (textEndPos < 0 || textEndPos > this.matchRegExp.lastIndex) {
39
+ textEndPos = this.matchRegExp.lastIndex - 2;
40
+ }
41
+ var linkStart = this.match[2] ? (start + this.match[1].length + 1) : start;
42
+ var linkEnd = linkStart + link.length;
36
43
  if($tw.utils.isLinkExternal(link)) {
37
44
  return [{
38
45
  type: "element",
39
46
  tag: "a",
40
47
  attributes: {
41
- href: {type: "string", value: link},
48
+ href: {type: "string", value: link, start: linkStart, end: linkEnd},
42
49
  "class": {type: "string", value: "tc-tiddlylink-external"},
43
50
  target: {type: "string", value: "_blank"},
44
51
  rel: {type: "string", value: "noopener noreferrer"}
45
52
  },
46
53
  children: [{
47
- type: "text", text: text
54
+ type: "text", text: text, start: start, end: textEndPos
48
55
  }]
49
56
  }];
50
57
  } else {
51
58
  return [{
52
59
  type: "link",
53
60
  attributes: {
54
- to: {type: "string", value: link}
61
+ to: {type: "string", value: link, start: linkStart, end: linkEnd}
55
62
  },
56
63
  children: [{
57
- type: "text", text: text
64
+ type: "text", text: text, start: start, end: textEndPos
58
65
  }]
59
66
  }];
60
67
  }