tiddlywiki 5.3.3 → 5.3.4
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.
- package/bin/build-site.sh +33 -0
- package/boot/boot.js +61 -26
- package/boot/tiddlywiki.files +32 -0
- package/contributing.md +1 -1
- package/core/copyright.tid +1 -1
- package/core/images/standard-layout.tid +7 -0
- package/core/language/en-GB/Buttons.multids +3 -0
- package/core/language/en-GB/ControlPanel.multids +6 -0
- package/core/language/en-GB/Docs/ModuleTypes.multids +1 -1
- package/core/language/en-GB/Docs/PaletteColours.multids +7 -0
- package/core/language/en-GB/Fields.multids +2 -0
- package/core/language/en-GB/Misc.multids +2 -2
- package/core/modules/commands/listen.js +1 -1
- package/core/modules/commands/makelibrary.js +1 -26
- package/core/modules/commands/save.js +3 -1
- package/core/modules/commands/savewikifolder.js +4 -1
- package/core/modules/filters/backtranscludes.js +26 -0
- package/core/modules/filters/crypto.js +2 -5
- package/core/modules/filters/strings.js +6 -3
- package/core/modules/filters/transcludes.js +26 -0
- package/core/modules/filters/x-listops.js +1 -1
- package/core/modules/indexers/back-indexer.js +122 -0
- package/core/modules/macros/csvtiddlers.js +9 -5
- package/core/modules/parsers/parseutils.js +1 -1
- package/core/modules/parsers/wikiparser/rules/codeblock.js +6 -3
- package/core/modules/parsers/wikiparser/rules/codeinline.js +5 -2
- package/core/modules/parsers/wikiparser/rules/extlink.js +2 -1
- package/core/modules/parsers/wikiparser/rules/filteredtranscludeblock.js +15 -5
- package/core/modules/parsers/wikiparser/rules/filteredtranscludeinline.js +15 -5
- package/core/modules/parsers/wikiparser/rules/fnprocdef.js +3 -3
- package/core/modules/parsers/wikiparser/rules/hardlinebreaks.js +2 -1
- package/core/modules/parsers/wikiparser/rules/heading.js +4 -2
- package/core/modules/parsers/wikiparser/rules/html.js +25 -0
- package/core/modules/parsers/wikiparser/rules/image.js +2 -2
- package/core/modules/parsers/wikiparser/rules/import.js +2 -1
- package/core/modules/parsers/wikiparser/rules/list.js +29 -4
- package/core/modules/parsers/wikiparser/rules/macrodef.js +3 -3
- package/core/modules/parsers/wikiparser/rules/prettyextlink.js +7 -2
- package/core/modules/parsers/wikiparser/rules/prettylink.js +12 -5
- package/core/modules/parsers/wikiparser/rules/quoteblock.js +16 -30
- package/core/modules/parsers/wikiparser/rules/syslink.js +6 -3
- package/core/modules/parsers/wikiparser/rules/table.js +2 -1
- package/core/modules/parsers/wikiparser/rules/typedblock.js +4 -1
- package/core/modules/parsers/wikiparser/rules/wikilink.js +4 -1
- package/core/modules/parsers/wikiparser/wikiparser.js +39 -5
- package/core/modules/saver-handler.js +7 -3
- package/core/modules/server/authenticators/header.js +3 -1
- package/core/modules/server/server.js +5 -0
- package/core/modules/startup/render.js +8 -2
- package/core/modules/startup/rootwidget.js +10 -2
- package/core/modules/startup/story.js +14 -4
- package/core/modules/startup/windows.js +1 -1
- package/core/modules/utils/dom/dom.js +3 -1
- package/core/modules/utils/dom/http.js +19 -7
- package/core/modules/utils/errors.js +23 -0
- package/core/modules/utils/fakedom.js +2 -2
- package/core/modules/utils/filesystem.js +13 -10
- package/core/modules/utils/repository.js +52 -0
- package/core/modules/utils/utils.js +11 -2
- package/core/modules/widgets/action-deletefield.js +7 -2
- package/core/modules/widgets/action-log.js +6 -1
- package/core/modules/widgets/button.js +1 -1
- package/core/modules/widgets/data.js +182 -0
- package/core/modules/widgets/draggable.js +2 -2
- package/core/modules/widgets/edit.js +1 -1
- package/core/modules/widgets/importvariables.js +1 -1
- package/core/modules/widgets/link.js +1 -1
- package/core/modules/widgets/parameters.js +12 -0
- package/core/modules/widgets/testcase.js +165 -0
- package/core/modules/widgets/transclude.js +24 -1
- package/core/modules/widgets/widget.js +23 -10
- package/core/modules/wiki.js +78 -2
- package/core/palettes/Vanilla.tid +7 -0
- package/core/plugin.info +2 -1
- package/core/templates/external-js/save-all-external-js.tid +1 -1
- package/core/templates/external-js/save-offline-external-js.tid +1 -1
- package/core/templates/save-all.tid +1 -1
- package/core/templates/save-empty.tid +1 -1
- package/core/templates/save-lazy-all.tid +1 -1
- package/core/templates/save-lazy-images.tid +1 -1
- package/core/ui/AdvancedSearch/Filter.tid +1 -4
- package/core/ui/AdvancedSearch/Standard.tid +5 -4
- package/core/ui/Components/plugin-info.tid +11 -1
- package/core/ui/ControlPanel/Modals/AddPlugins.tid +13 -2
- package/core/ui/ControlPanel/Saving/DownloadSaver.tid +11 -2
- package/core/ui/ControlPanel/Saving/General.tid +11 -3
- package/core/ui/ControlPanel/Settings/CamelCase.tid +10 -1
- package/core/ui/ControlPanel/Settings/DefaultMoreSidebarTab.tid +11 -6
- package/core/ui/ControlPanel/Settings/DefaultSidebarTab.tid +11 -5
- package/core/ui/ControlPanel/Settings/EditorToolbar.tid +9 -2
- package/core/ui/ControlPanel/Settings/InfoPanelMode.tid +11 -3
- package/core/ui/ControlPanel/Settings/LinkToBehaviour.tid +15 -11
- package/core/ui/ControlPanel/Settings/MissingLinks.tid +6 -2
- package/core/ui/ControlPanel/Settings/NavigationAddressBar.tid +13 -4
- package/core/ui/ControlPanel/Settings/NavigationHistory.tid +11 -3
- package/core/ui/ControlPanel/Settings/NavigationPermalinkviewMode.tid +17 -2
- package/core/ui/ControlPanel/Settings/PerformanceInstrumentation.tid +9 -1
- package/core/ui/ControlPanel/Settings/TitleLinks.tid +11 -3
- package/core/ui/ControlPanel/Settings/ToolbarButtonStyle.tid +9 -6
- package/core/ui/ControlPanel/Settings/ToolbarButtons.tid +17 -2
- package/core/ui/ControlPanel/TestCases.tid +10 -0
- package/core/ui/ControlPanel/TestCasesAll.tid +24 -0
- package/core/ui/ControlPanel/TestCasesFailed.tid +15 -0
- package/core/ui/ControlPanel/TiddlyWiki.tid +2 -2
- package/core/ui/EditTemplate/body/default.tid +7 -2
- package/core/ui/EditTemplate/controls.tid +12 -6
- package/core/ui/EditTemplate/tags.tid +52 -28
- package/core/ui/EditorToolbar/preview.tid +2 -2
- package/core/ui/KeyboardShortcuts/refresh.tid +5 -0
- package/core/ui/PageControls/more-page-actions.tid +37 -44
- package/core/ui/PageControls.tid +10 -13
- package/core/ui/{PageTemplate.tid → StandardLayout.tid} +1 -1
- package/core/ui/TestCaseTemplate.tid +19 -0
- package/core/ui/TestCases/DefaultTemplate.tid +91 -0
- package/core/ui/TestCases/DefaultTemplateSourceTabs.tid +27 -0
- package/core/ui/TestCases/RawJSONTemplate.tid +4 -0
- package/core/ui/TestCases/actions/Export.tid +4 -0
- package/core/ui/TestCases/actions/Import.tid +11 -0
- package/core/ui/ViewTemplate/title.tid +33 -26
- package/core/ui/ViewToolbar/more-tiddler-actions.tid +35 -43
- package/core/wiki/config/OfficialPluginLibrary.tid +1 -1
- package/core/wiki/config/ShortcutInfo.multids +1 -0
- package/core/wiki/config/ViewTemplateBodyFilters.multids +1 -0
- package/core/wiki/config/shortcuts/shortcuts-mac.multids +1 -0
- package/core/wiki/config/shortcuts/shortcuts-not-mac.multids +1 -0
- package/core/wiki/macros/CSS.tid +44 -51
- package/core/wiki/macros/copy-to-clipboard.tid +17 -11
- package/core/wiki/macros/diff.tid +28 -28
- package/core/wiki/macros/tag-picker.tid +165 -160
- package/core/wiki/macros/tag.tid +3 -1
- package/core/wiki/macros/testcase.tid +10 -0
- package/core/wiki/tags/TestCaseActions.tid +2 -0
- package/core/wiki/tags/ViewTemplateBodyFilter.tid +1 -1
- package/editions/dev/tiddlers/HelloThere.tid +1 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Javascript Widget Tutorial.tid +22 -16
- package/editions/dev/tiddlers/new/Using ES2016 for Writing Plugins.tid +18 -8
- package/editions/dev/tiddlers/new/Using TiddlyWiki as a library.tid +5 -0
- package/editions/dev/tiddlers/system/$__themes_tiddlywiki_vanilla_options_sidebarlayout.tid +6 -0
- package/editions/full/tiddlywiki.info +1 -0
- package/editions/geospatialdemo/tiddlers/DefaultTiddlers.tid +4 -0
- package/editions/geospatialdemo/tiddlers/Features.tid +14 -0
- package/editions/geospatialdemo/tiddlers/Flickr Demo.tid +27 -0
- package/editions/geospatialdemo/tiddlers/Geospatial Plugin Logo.png +0 -0
- package/editions/geospatialdemo/tiddlers/Geospatial Plugin Logo.png.meta +2 -0
- package/editions/geospatialdemo/tiddlers/HelloThere.tid +37 -0
- package/editions/geospatialdemo/tiddlers/Markers.tid +53 -0
- package/editions/geospatialdemo/tiddlers/SiteSubtitle.tid +3 -0
- package/editions/geospatialdemo/tiddlers/SiteTitle.tid +3 -0
- package/editions/geospatialdemo/tiddlers/cascades/ViewTemplateBodyFilters.tid +6 -0
- package/editions/geospatialdemo/tiddlers/cities/LimehouseTownHall.tid +9 -0
- package/editions/geospatialdemo/tiddlers/cities/Motovun.tid +9 -0
- package/editions/geospatialdemo/tiddlers/cities/NewYork.tid +8 -0
- package/editions/geospatialdemo/tiddlers/cities/Oxford.tid +8 -0
- package/editions/geospatialdemo/tiddlers/cities/Toronto.tid +8 -0
- package/editions/geospatialdemo/tiddlers/cities/Winchester.tid +8 -0
- package/editions/geospatialdemo/tiddlers/config/flickr-param.multids +5 -0
- package/editions/geospatialdemo/tiddlers/default-import-spec.tid +4 -0
- package/editions/geospatialdemo/tiddlers/favicon.png +0 -0
- package/editions/geospatialdemo/tiddlers/favicon.png.meta +2 -0
- package/editions/geospatialdemo/tiddlers/features/canada-census-subdivision-millesime.geojson +1 -0
- package/editions/geospatialdemo/tiddlers/features/canada-census-subdivision-millesime.geojson.meta +5 -0
- package/editions/geospatialdemo/tiddlers/features/denver-bikerental.tid +109 -0
- package/editions/geospatialdemo/tiddlers/features/denver-campus.tid +63 -0
- package/editions/geospatialdemo/tiddlers/features/denver-freebus.tid +56 -0
- package/editions/geospatialdemo/tiddlers/features/denver-lightrail.tid +30 -0
- package/editions/geospatialdemo/tiddlers/features/harvard-glb-volc-geojson.json +1 -0
- package/editions/geospatialdemo/tiddlers/features/harvard-glb-volc-geojson.json.meta +5 -0
- package/editions/geospatialdemo/tiddlers/features/us-states.geojson +54 -0
- package/editions/geospatialdemo/tiddlers/features/us-states.geojson.meta +5 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/real-estate-demo.tid +99 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/schema.json +22 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/schema.json.meta +3 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRow.tid +5 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldAddress.tid +7 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldBroker.tid +7 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldCity.tid +7 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldLat.tid +8 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldLong.tid +8 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldPrice.tid +8 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldSalesAgent.tid +7 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldState.tid +7 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldTags.tid +7 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldTitle.tid +8 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldZipCode.tid +7 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesSheet.tid +7 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/workbook.tid +7 -0
- package/editions/geospatialdemo/tiddlers/sidebarlayout.tid +2 -0
- package/editions/geospatialdemo/tiddlers/ui/geofeature.tid +39 -0
- package/editions/geospatialdemo/tiddlers/ui/geomarker.tid +128 -0
- package/editions/geospatialdemo/tiddlywiki.info +23 -0
- package/editions/introduction/tiddlers/slides/CecilyMap.tid +12 -12
- package/editions/introduction/tiddlers/slides/blank.json +1 -1
- package/editions/prerelease/tiddlers/{Release 5.3.4.tid → Release 5.3.5.tid } +11 -8
- package/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid +1 -1
- package/editions/prerelease/tiddlers/system/configPerformanceInstrumentation.tid +2 -0
- package/editions/prerelease/tiddlywiki.info +4 -1
- package/editions/test/tiddlers/HelloThere.tid +4 -0
- package/editions/test/tiddlers/tests/data/data-widget/ImportCompound.tid +27 -0
- package/editions/test/tiddlers/tests/data/data-widget/ImportFilter.tid +28 -0
- package/editions/test/tiddlers/tests/data/data-widget/ImportTiddler.tid +23 -0
- package/editions/test/tiddlers/tests/data/data-widget/Simple.tid +18 -0
- package/editions/test/tiddlers/tests/data/functions/FunctionFilterrunVariables.tid +24 -0
- package/editions/test/tiddlers/tests/data/functions/FunctionFilterrunVariables2.tid +20 -0
- package/editions/test/tiddlers/tests/data/functions/FunctionFilterrunVariables3.tid +21 -0
- package/editions/test/tiddlers/tests/data/importvariables/WithSetWidgets2.tid +1 -0
- package/editions/test/tiddlers/tests/data/importvariables/WithSetWidgetsAndMacros.tid +1 -0
- package/editions/test/tiddlers/tests/data/macros/EndInBody.tid +16 -0
- package/editions/test/tiddlers/tests/data/macros/IndentedEnd.tid +16 -0
- package/editions/test/tiddlers/tests/data/macros/MismatchedNamedEnd.tid +16 -0
- package/editions/test/tiddlers/tests/data/macros/WhitespaceOnlyWithEnd.tid +18 -0
- package/editions/test/tiddlers/tests/data/macros/WhitespaceOnlyWithEnd2.tid +15 -0
- package/editions/test/tiddlers/tests/data/macros/unusedtitle/basic-params-draft-exists.tid +27 -0
- package/editions/test/tiddlers/tests/data/macros/unusedtitle/basic-params-empty-tiddler-exists.tid +23 -0
- package/editions/test/tiddlers/tests/data/macros/unusedtitle/basic-params-empty.tid +20 -0
- package/editions/test/tiddlers/tests/data/macros/unusedtitle/basic-params-tiddlers-exist.tid +28 -0
- package/editions/test/tiddlers/tests/data/macros/unusedtitle/basic-params.tid +20 -0
- package/editions/test/tiddlers/tests/data/macros/unusedtitle/template-empty-params-tiddler-exist.tid +50 -0
- package/editions/test/tiddlers/tests/data/macros/unusedtitle/template-empty-params.tid +24 -0
- package/editions/test/tiddlers/tests/data/macros/unusedtitle/template.tid +28 -0
- package/editions/test/tiddlers/tests/data/pragmas/WhitespaceAfterPragma.tid +4 -1
- package/editions/test/tiddlers/tests/data/procedures/EndInBody.tid +16 -0
- package/editions/test/tiddlers/tests/data/procedures/IndentedEnd.tid +16 -0
- package/editions/test/tiddlers/tests/data/procedures/MismatchedNamedEnd.tid +16 -0
- package/editions/test/tiddlers/tests/data/procedures/WhitespaceOnlyWithEnd.tid +18 -0
- package/editions/test/tiddlers/tests/data/procedures/WhitespaceOnlyWithEnd2.tid +15 -0
- package/editions/test/tiddlers/tests/data/transclude/Procedures-Whitespace2.tid +25 -0
- package/editions/test/tiddlers/tests/data/transclude/Procedures-Whitespace3.tid +30 -0
- package/editions/test/tiddlers/tests/data/transclude/Recursion.tid +2 -1
- package/editions/test/tiddlers/tests/from-tw5.com/tiddlywiki.files +5 -0
- package/editions/test/tiddlers/tests/test-action-deletefield.js +176 -0
- package/editions/test/tiddlers/tests/test-backlinks.js +57 -44
- package/editions/test/tiddlers/tests/test-backtranscludes.js +241 -0
- package/editions/test/tiddlers/tests/test-fakedom.js +27 -0
- package/editions/test/tiddlers/tests/test-plugins.js +55 -0
- package/editions/test/tiddlers/tests/test-widget-getVariableInfo.js +95 -0
- package/editions/test/tiddlers/tests/test-widget.js +61 -0
- package/editions/test/tiddlers/tests/test-wikitext-parser.js +48 -49
- package/editions/test/tiddlywiki.info +2 -1
- package/editions/tour/tiddlers/Solar System/Asteroid (253) Mathilde Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Asteroid (253) Mathilde Image.png.meta +3 -0
- package/editions/tour/tiddlers/Solar System/Asteroid.tid +17 -0
- package/editions/tour/tiddlers/Solar System/Comet Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Comet Image.png.meta +3 -0
- package/editions/tour/tiddlers/Solar System/Comet.tid +15 -0
- package/editions/tour/tiddlers/Solar System/Earth Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Earth Image.png.meta +3 -0
- package/editions/tour/tiddlers/Solar System/Earth's Moon Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Earth's Moon Image.png.meta +3 -0
- package/editions/tour/tiddlers/Solar System/Earth's Moon.tid +10 -0
- package/editions/tour/tiddlers/Solar System/Earth.tid +21 -0
- package/editions/tour/tiddlers/Solar System/Jupiter Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Jupiter Image.png.meta +3 -0
- package/editions/tour/tiddlers/Solar System/Jupiter.tid +15 -0
- package/editions/tour/tiddlers/Solar System/Kuiper belt.tid +12 -0
- package/editions/tour/tiddlers/Solar System/Mars Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Mars Image.png.meta +5 -0
- package/editions/tour/tiddlers/Solar System/Mars.tid +11 -0
- package/editions/tour/tiddlers/Solar System/Mercury Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Mercury Image.png.meta +3 -0
- package/editions/tour/tiddlers/Solar System/Mercury.tid +21 -0
- package/editions/tour/tiddlers/Solar System/Milky Way Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Milky Way Image.png.meta +5 -0
- package/editions/tour/tiddlers/Solar System/Milky Way.tid +14 -0
- package/editions/tour/tiddlers/Solar System/Moon.tid +9 -0
- package/editions/tour/tiddlers/Solar System/Neptune Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Neptune Image.png.meta +3 -0
- package/editions/tour/tiddlers/Solar System/Neptune.tid +19 -0
- package/editions/tour/tiddlers/Solar System/Planet Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Planet Image.png.meta +3 -0
- package/editions/tour/tiddlers/Solar System/Planet.tid +17 -0
- package/editions/tour/tiddlers/Solar System/Pluto Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Pluto Image.png.meta +3 -0
- package/editions/tour/tiddlers/Solar System/Pluto.tid +12 -0
- package/editions/tour/tiddlers/Solar System/Saturn Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Saturn Image.png.meta +3 -0
- package/editions/tour/tiddlers/Solar System/Saturn.tid +17 -0
- package/editions/tour/tiddlers/Solar System/Solar System Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Solar System Image.png.meta +3 -0
- package/editions/tour/tiddlers/Solar System/Solar System.tid +18 -0
- package/editions/tour/tiddlers/Solar System/Sun Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Sun Image.png.meta +5 -0
- package/editions/tour/tiddlers/Solar System/Sun.tid +17 -0
- package/editions/tour/tiddlers/Solar System/Uranus Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Uranus Image.png.meta +3 -0
- package/editions/tour/tiddlers/Solar System/Uranus.tid +19 -0
- package/editions/tour/tiddlers/Solar System/Venus Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Venus Image.png.meta +3 -0
- package/editions/tour/tiddlers/Solar System/Venus.tid +17 -0
- package/editions/tour/tiddlers/System/$__themes_tiddlywiki_vanilla_options_sidebarlayout.tid +4 -0
- package/editions/tour/tiddlers/System/DefaultTiddlers.tid +4 -0
- package/editions/tour/tiddlers/System/HelloThere.tid +5 -0
- package/editions/tour/tiddlers/System/SiteSubtitle.tid +2 -0
- package/editions/tour/tiddlers/System/SiteTitle.tid +2 -0
- package/editions/tour/tiddlers/System/configAutoStartTour.tid +2 -0
- package/editions/tour/tiddlers/System/styles.tid +9 -0
- package/editions/tour/tiddlywiki.info +16 -0
- package/editions/translators/tiddlywiki.info +1 -0
- package/editions/tw5.com/tiddlers/String Operators.tid +8 -0
- package/editions/tw5.com/tiddlers/Tag Operators.tid +8 -0
- package/editions/tw5.com/tiddlers/TiddlyWiki Docs PR Maker.tid +12 -0
- package/editions/tw5.com/tiddlers/about/Archive.tid +1 -1
- package/editions/tw5.com/tiddlers/about/Developers.tid +1 -0
- package/editions/tw5.com/tiddlers/about/History of TiddlyWiki.tid +5 -5
- package/editions/tw5.com/tiddlers/community/Community Editions.tid +2 -2
- package/editions/tw5.com/tiddlers/community/Contributor License Agreement.tid +2 -2
- package/editions/tw5.com/tiddlers/community/Improving TiddlyWiki Documentation.tid +21 -1
- package/editions/tw5.com/tiddlers/community/plugins/Disqus comments plugin by bimlas.tid +1 -1
- package/editions/tw5.com/tiddlers/community/plugins/Kin filter operator by bimlas.tid +1 -1
- package/editions/tw5.com/tiddlers/community/plugins/Locator plugin by bimlas.tid +1 -1
- package/editions/tw5.com/tiddlers/community/themes/Notebook theme by Nicolas Petton.tid +2 -2
- package/editions/tw5.com/tiddlers/concepts/Bags and Recipes.tid +42 -0
- package/editions/tw5.com/tiddlers/concepts/ColourPalettes.tid +2 -2
- package/editions/tw5.com/tiddlers/concepts/CompoundTiddlers.tid +31 -0
- package/editions/tw5.com/tiddlers/concepts/Filters.tid +3 -3
- package/editions/tw5.com/tiddlers/concepts/Hard and Soft Links.tid +4 -2
- package/editions/tw5.com/tiddlers/concepts/Hard and Soft Transclusions.tid +16 -0
- package/editions/tw5.com/tiddlers/concepts/ShadowTiddlers.tid +4 -2
- package/editions/tw5.com/tiddlers/concepts/Temporary Tiddlers.tid +8 -0
- package/editions/tw5.com/tiddlers/concepts/TestCaseTiddlers.tid +26 -0
- package/editions/tw5.com/tiddlers/concepts/TextReference.tid +2 -2
- package/editions/tw5.com/tiddlers/concepts/TiddlerFields.tid +4 -3
- package/editions/tw5.com/tiddlers/concepts/Transclusion.tid +10 -3
- package/editions/tw5.com/tiddlers/customising/Alternative page layouts.tid +34 -3
- package/editions/tw5.com/tiddlers/customising/Creating new toolbar buttons.tid +2 -2
- package/editions/tw5.com/tiddlers/definitions/Legacy.tid +9 -0
- package/editions/tw5.com/tiddlers/definitions/TiddlyFox.tid +4 -2
- package/editions/tw5.com/tiddlers/definitions/TiddlyWeb.tid +2 -3
- package/editions/tw5.com/tiddlers/definitions/TiddlyWebAdaptor.tid +9 -0
- package/editions/tw5.com/tiddlers/definitions/UnaMesa.tid +10 -0
- package/editions/tw5.com/tiddlers/fields/ListField.tid +3 -3
- package/editions/tw5.com/tiddlers/filters/Conditional Operators.tid +6 -4
- package/editions/tw5.com/tiddlers/filters/Filter Operators.tid +13 -6
- package/editions/tw5.com/tiddlers/filters/Mathematics Operators.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/add.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/all.tid +8 -4
- package/editions/tw5.com/tiddlers/filters/append.tid +3 -3
- package/editions/tw5.com/tiddlers/filters/backtranscludes.tid +14 -0
- package/editions/tw5.com/tiddlers/filters/charcode.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/compare Operator.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/cycle Operator.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/divide Operator.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/enlist Operator.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/enlist-input Operator.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/examples/Brownies.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/examples/Chick Peas.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/examples/Milk.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/examples/Rice Pudding.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/examples/backtransclude.tid +7 -0
- package/editions/tw5.com/tiddlers/filters/examples/prepend.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/examples/sha256 Operator (Examples).tid +9 -0
- package/editions/tw5.com/tiddlers/filters/examples/subfilter Operator (Examples).tid +1 -1
- package/editions/tw5.com/tiddlers/filters/examples/transclude.tid +5 -0
- package/editions/tw5.com/tiddlers/filters/field.tid +11 -11
- package/editions/tw5.com/tiddlers/filters/format.tid +6 -6
- package/editions/tw5.com/tiddlers/filters/jsonextract.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/jsonget.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/jsonindexes.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/jsontype.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/log Operator.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/match Operator.tid +5 -6
- package/editions/tw5.com/tiddlers/filters/max Operator.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/min Operator.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/minlength.tid +3 -3
- package/editions/tw5.com/tiddlers/filters/moduleproperty Operator.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/modules.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/multiply Operator.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/power Operator.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/prefix.tid +9 -10
- package/editions/tw5.com/tiddlers/filters/prepend.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/range.tid +11 -11
- package/editions/tw5.com/tiddlers/filters/reduce.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/remainder Operator.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/remove.tid +3 -3
- package/editions/tw5.com/tiddlers/filters/removeprefix.tid +8 -9
- package/editions/tw5.com/tiddlers/filters/removesuffix.tid +8 -9
- package/editions/tw5.com/tiddlers/filters/search.tid +3 -3
- package/editions/tw5.com/tiddlers/filters/sortby.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/splitregexp Operator.tid +20 -2
- package/editions/tw5.com/tiddlers/filters/subfilter Operator.tid +3 -3
- package/editions/tw5.com/tiddlers/filters/subtract Operator.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/suffix.tid +9 -10
- package/editions/tw5.com/tiddlers/filters/syntax/All Filter Run Prefix.tid +18 -0
- package/editions/tw5.com/tiddlers/filters/syntax/And Filter Run Prefix.tid +18 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Cascade Filter Run Prefix (Examples).tid +2 -2
- package/editions/tw5.com/tiddlers/filters/syntax/Cascade Filter Run Prefix.tid +14 -9
- package/editions/tw5.com/tiddlers/filters/syntax/Else Filter Run Prefix.tid +18 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Except Filter Run Prefix.tid +18 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Expression.tid +11 -63
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Filter Run Prefix (Examples).tid +2 -2
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Filter Run Prefix.tid +19 -14
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Parameter.tid +11 -7
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Run Prefix (Examples).tid +2 -2
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Run Prefix.tid +18 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Run.tid +5 -4
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Step.tid +22 -10
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Syntax.tid +12 -6
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Whitespace.tid +5 -3
- package/editions/tw5.com/tiddlers/filters/syntax/Interchangeable Filter Run Prefixes.tid +44 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Intersection Filter Run Prefix (Examples).tid +2 -2
- package/editions/tw5.com/tiddlers/filters/syntax/Intersection Filter Run Prefix.tid +13 -8
- package/editions/tw5.com/tiddlers/filters/syntax/Map Filter Run Prefix (Examples).tid +2 -2
- package/editions/tw5.com/tiddlers/filters/syntax/Map Filter Run Prefix.tid +21 -16
- package/editions/tw5.com/tiddlers/filters/syntax/Named Filter Run Prefix.tid +32 -6
- package/editions/tw5.com/tiddlers/filters/syntax/Or Filter Run Prefix.tid +18 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Reduce Filter Run Prefix (Examples).tid +2 -2
- package/editions/tw5.com/tiddlers/filters/syntax/Reduce Filter Run Prefix.tid +23 -14
- package/editions/tw5.com/tiddlers/filters/syntax/Shortcut Filter Run Prefixes.tid +29 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Sort Filter Run Prefix (Examples).tid +2 -2
- package/editions/tw5.com/tiddlers/filters/syntax/Sort Filter Run Prefix.tid +16 -9
- package/editions/tw5.com/tiddlers/filters/syntax/then Filter Run Prefix.tid +3 -36
- package/editions/tw5.com/tiddlers/filters/toggle Operator.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/transcludes.tid +14 -0
- package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Firefox.tid +4 -3
- package/editions/tw5.com/tiddlers/hellothere/HelloThere.tid +1 -1
- package/editions/tw5.com/tiddlers/howtos/Concatenating text and variables using macro substitution.tid +6 -0
- package/editions/tw5.com/tiddlers/howtos/Custom_data-styles.tid +4 -2
- package/editions/tw5.com/tiddlers/howtos/How to embed PDF and other documents.tid +2 -2
- package/editions/tw5.com/tiddlers/howtos/Setting a page background image.tid +2 -2
- package/editions/tw5.com/tiddlers/howtos/Tagging.tid +3 -3
- package/editions/tw5.com/tiddlers/howtos/Using Excise.tid +2 -2
- package/editions/tw5.com/tiddlers/images/New Release Banner.png +0 -0
- package/editions/tw5.com/tiddlers/images/Open Collective Logo.tid +4 -2
- package/editions/tw5.com/tiddlers/macros/StylesheetMacros.tid +3 -1
- package/editions/tw5.com/tiddlers/macros/TagMacro.tid +30 -2
- package/editions/tw5.com/tiddlers/macros/examples/tag.tid +8 -4
- package/editions/tw5.com/tiddlers/macros/import/tags-of-current-tiddler.tid +2 -1
- package/editions/tw5.com/tiddlers/macros/import/tv-get-export-image-link.tid +3 -2
- package/editions/tw5.com/tiddlers/macros/import/tv-wikilink-tooltip.tid +2 -1
- package/editions/tw5.com/tiddlers/macros/list-thumbnails Macro.tid +5 -5
- package/editions/tw5.com/tiddlers/macros/syntax/Macro Call Syntax.tid +5 -1
- package/editions/tw5.com/tiddlers/macros/syntax/Macro Definition Syntax.tid +5 -1
- package/editions/tw5.com/tiddlers/macros/syntax/Procedure Call Syntax.tid +33 -0
- package/editions/tw5.com/tiddlers/macros/syntax/Procedure Definition Syntax.tid +93 -0
- package/editions/tw5.com/tiddlers/macros/syntax/Procedure Syntax.tid +11 -0
- package/editions/tw5.com/tiddlers/macros/tag-picker_Macro.tid +13 -5
- package/editions/tw5.com/tiddlers/macros/thumbnail Macro.tid +19 -4
- package/editions/tw5.com/tiddlers/mechanisms/PluginMechanism.tid +5 -1
- package/editions/tw5.com/tiddlers/mechanisms/RefreshThrottling.tid +1 -1
- package/editions/tw5.com/tiddlers/mechanisms/WikificationMechanism.tid +3 -3
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-copy-to-clipboard.tid +3 -1
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-edit-bitmap-operation.tid +2 -2
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-edit-text-operation.tid +2 -2
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-http-request Example Basic Authentication.tid +34 -0
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-http-request Example Random Dog.tid +1 -1
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-http-request Example Zotero.tid +1 -1
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-http-request Examples.tid +117 -0
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-http-request.tid +8 -1
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-permalink.tid +3 -1
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-permaview.tid +3 -1
- package/editions/tw5.com/tiddlers/nodejs/Naming of System Tiddlers.tid +4 -4
- package/editions/tw5.com/tiddlers/nodejs/TiddlyWiki5 Versioning.tid +1 -1
- package/editions/tw5.com/tiddlers/plugins/Plugin Stability.tid +14 -0
- package/editions/tw5.com/tiddlers/pragmas/Pragma_ _parsermode.tid +1 -1
- package/editions/tw5.com/tiddlers/procedures/Procedures.tid +6 -3
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.2.tid +1 -1
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.3.tid +1 -1
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.4.tid +170 -0
- package/editions/tw5.com/tiddlers/saving/Saving with FireFox.tid +17 -0
- package/editions/tw5.com/tiddlers/saving/Saving with Polly.tid +0 -1
- package/editions/tw5.com/tiddlers/saving/Saving with TiddlyFox on Android.tid +4 -2
- package/editions/tw5.com/tiddlers/saving/Saving with TiddlyFox.tid +2 -19
- package/editions/tw5.com/tiddlers/saving/TiddlyBucket - Save to AWS or Google Storage.tid +0 -1
- package/editions/tw5.com/tiddlers/styleguide/Documentation Macros.tid +188 -163
- package/editions/tw5.com/tiddlers/system/$__SplashScreen.tid +3 -1
- package/editions/tw5.com/tiddlers/system/ContributionBanner.tid +7 -3
- package/editions/tw5.com/tiddlers/system/Deprecated.tid +5 -1
- package/editions/tw5.com/tiddlers/system/Deprecated_-_What_does_it_mean.tid +0 -3
- package/editions/tw5.com/tiddlers/system/Sources.tid +36 -15
- package/editions/tw5.com/tiddlers/system/TableOfContents.tid +2 -2
- package/editions/tw5.com/tiddlers/system/doc-macros.tid +181 -170
- package/editions/tw5.com/tiddlers/system/doc-styles.tid +46 -23
- package/editions/tw5.com/tiddlers/system/download-empty.tid +4 -4
- package/editions/tw5.com/tiddlers/system/filter-run-template.tid +50 -0
- package/editions/tw5.com/tiddlers/system/operator-macros.tid +46 -32
- package/editions/tw5.com/tiddlers/system/operator-template.tid +52 -71
- package/editions/tw5.com/tiddlers/system/variable-macros.tid +15 -10
- package/editions/tw5.com/tiddlers/system/version-macros.tid +29 -5
- package/editions/tw5.com/tiddlers/system/wikitext-macros.tid +54 -62
- package/editions/tw5.com/tiddlers/tag-picker Macro (Examples).tid +69 -0
- package/editions/tw5.com/tiddlers/tag-pill Macro (Examples).tid +14 -0
- package/editions/tw5.com/tiddlers/testcases/DataWidget/ImportCompound.tid +33 -0
- package/editions/tw5.com/tiddlers/testcases/DataWidget/ImportedFilter.tid +49 -0
- package/editions/tw5.com/tiddlers/testcases/DataWidget/ImportedTiddler.tid +29 -0
- package/editions/tw5.com/tiddlers/testcases/DataWidget/Refreshing.tid +30 -0
- package/editions/tw5.com/tiddlers/testcases/DataWidget/SimpleTiddler.tid +22 -0
- package/editions/tw5.com/tiddlers/testcases/TestCaseWidget/FailingTest.tid +15 -0
- package/editions/tw5.com/tiddlers/testcases/TestCaseWidget/NoExpectedResults.tid +12 -0
- package/editions/tw5.com/tiddlers/testcases/TestCaseWidget/TwoPlusTwo.tid +18 -0
- package/editions/tw5.com/tiddlers/testcases/TestCaseWidget/currentTiddler.tid +16 -0
- package/editions/tw5.com/tiddlers/testcases/TranscludeWidget/SimpleTransclusion.tid +23 -0
- package/editions/tw5.com/tiddlers/variables/Variables.tid +4 -3
- package/editions/tw5.com/tiddlers/variables/examples/tv-get-export-image-link.tid +7 -1
- package/editions/tw5.com/tiddlers/variables/tv-filter-export-link Variable.tid +2 -2
- package/editions/tw5.com/tiddlers/variables/tv-get-export-image-link.tid +4 -4
- package/editions/tw5.com/tiddlers/variables/tv-get-export-link.tid +4 -4
- package/editions/tw5.com/tiddlers/variables/tv-wikilink-template.tid +2 -2
- package/editions/tw5.com/tiddlers/webserver/Using the external JavaScript template.tid +2 -2
- package/editions/tw5.com/tiddlers/webserver/Using the integrated static file server.tid +17 -2
- package/editions/tw5.com/tiddlers/webserver/WebServer Parameter_ use-browse-cache.tid +25 -0
- package/editions/tw5.com/tiddlers/webserver/WebServer.tid +1 -1
- package/editions/tw5.com/tiddlers/widgets/ActionDeleteFieldWidget.tid +51 -20
- package/editions/tw5.com/tiddlers/widgets/ActionDeleteTiddlerWidget.tid +16 -14
- package/editions/tw5.com/tiddlers/widgets/ActionListopsWidget.tid +5 -3
- package/editions/tw5.com/tiddlers/widgets/DataWidget.tid +42 -0
- package/editions/tw5.com/tiddlers/widgets/EncryptWidget.tid +5 -5
- package/editions/tw5.com/tiddlers/widgets/ImageWidget.tid +32 -0
- package/editions/tw5.com/tiddlers/widgets/RevealWidget.tid +2 -2
- package/editions/tw5.com/tiddlers/widgets/ScrollableWidget.tid +10 -0
- package/editions/tw5.com/tiddlers/widgets/TestCaseWidget.tid +107 -0
- package/editions/tw5.com/tiddlers/widgets/TranscludeWidget.tid +34 -34
- package/editions/tw5.com/tiddlers/widgets/Widgets.tid +4 -4
- package/editions/tw5.com/tiddlers/wikitext/Block Quotes in WikiText.tid +32 -1
- package/editions/tw5.com/tiddlers/wikitext/Hard Linebreaks in WikiText.tid +7 -3
- package/editions/tw5.com/tiddlers/wikitext/Transclusion and Substitution.tid +2 -2
- package/editions/tw5.com/tiddlers/wikitext/Transclusion in WikiText.tid +27 -6
- package/editions/tw5.com/tiddlers/wikitext/parser/Block Mode WikiText.tid +2 -2
- package/editions/tw5.com/tiddlers/workingwithtw/Sharing your tiddlers with others.tid +2 -2
- package/editions/tw5.com/tiddlywiki.info +5 -2
- package/languages/de-DE/Buttons.multids +4 -1
- package/languages/de-DE/ControlPanel.multids +7 -1
- package/languages/de-DE/Dates.multids +1 -1
- package/languages/de-DE/Docs/ModuleTypes.multids +2 -2
- package/languages/de-DE/Docs/PaletteColours.multids +4 -1
- package/languages/de-DE/EditTemplate.multids +1 -1
- package/languages/de-DE/Exporters.multids +1 -1
- package/languages/de-DE/Fields.multids +3 -1
- package/languages/de-DE/Help/build.tid +1 -1
- package/languages/de-DE/Help/clearpassword.tid +2 -2
- package/languages/de-DE/Help/commands.tid +2 -2
- package/languages/de-DE/Help/editions.tid +1 -1
- package/languages/de-DE/Help/fetch.tid +6 -6
- package/languages/de-DE/Help/import.tid +5 -5
- package/languages/de-DE/Help/init.tid +1 -1
- package/languages/de-DE/Help/listen.tid +8 -8
- package/languages/de-DE/Help/load.tid +3 -3
- package/languages/de-DE/Help/makelibrary.tid +2 -2
- package/languages/de-DE/Help/output.tid +2 -2
- package/languages/de-DE/Help/password.tid +1 -1
- package/languages/de-DE/Help/render.tid +6 -6
- package/languages/de-DE/Help/save.tid +3 -4
- package/languages/de-DE/Help/server.tid +5 -0
- package/languages/de-DE/Help/setfield.tid +1 -1
- package/languages/de-DE/Import.multids +1 -1
- package/languages/de-DE/Misc.multids +6 -6
- package/languages/de-DE/Modals/Download.tid +0 -1
- package/languages/de-DE/NewJournal.multids +1 -1
- package/languages/de-DE/Notifications.multids +1 -1
- package/languages/de-DE/Search.multids +1 -1
- package/languages/de-DE/SideBar.multids +1 -1
- package/languages/de-DE/SiteSubtitle.tid +1 -1
- package/languages/de-DE/ThemeTweaks.multids +1 -1
- package/languages/de-DE/TiddlerInfo.multids +1 -1
- package/languages/fr-FR/Buttons.multids +1 -0
- package/languages/fr-FR/ControlPanel.multids +6 -0
- package/languages/fr-FR/Docs/ModuleTypes.multids +1 -1
- package/languages/fr-FR/Docs/PaletteColours.multids +3 -0
- package/languages/fr-FR/Fields.multids +3 -1
- package/languages/fr-FR/Help/commands.tid +1 -1
- package/languages/fr-FR/Help/savewikifolder.tid +15 -0
- package/languages/fr-FR/Help/server.tid +1 -1
- package/languages/fr-FR/Types/application_javascript.tid +3 -3
- package/languages/fr-FR/Types/application_json.tid +2 -2
- package/languages/fr-FR/Types/application_x_tiddler_dictionary.tid +2 -2
- package/languages/fr-FR/Types/image_gif.tid +2 -2
- package/languages/fr-FR/Types/image_jpeg.tid +1 -1
- package/languages/fr-FR/Types/image_png.tid +1 -1
- package/languages/fr-FR/Types/image_svg_xml.tid +1 -1
- package/languages/fr-FR/Types/image_x-icon.tid +1 -1
- package/languages/fr-FR/Types/text_css.tid +2 -2
- package/languages/fr-FR/Types/text_html.tid +2 -2
- package/languages/fr-FR/Types/text_plain.tid +2 -2
- package/languages/fr-FR/Types/text_vnd.tiddlywiki.tid +2 -2
- package/languages/fr-FR/Types/text_x-tiddlywiki.tid +1 -1
- package/languages/mk-MK/Buttons.multids +195 -0
- package/languages/mk-MK/ControlPanel.multids +231 -0
- package/languages/mk-MK/CoreReadMe.tid +8 -0
- package/languages/mk-MK/Dates.multids +87 -0
- package/languages/mk-MK/Docs/ModuleTypes.multids +30 -0
- package/languages/mk-MK/Docs/PaletteColours.multids +109 -0
- package/languages/mk-MK/EditTemplate.multids +38 -0
- package/languages/mk-MK/Exporters.multids +6 -0
- package/languages/mk-MK/Fields.multids +43 -0
- package/languages/mk-MK/Filters.multids +16 -0
- package/languages/mk-MK/GettingStarted.tid +18 -0
- package/languages/mk-MK/Help/build.tid +11 -0
- package/languages/mk-MK/Help/clearpassword.tid +8 -0
- package/languages/mk-MK/Help/commands.tid +18 -0
- package/languages/mk-MK/Help/default.tid +26 -0
- package/languages/mk-MK/Help/deletetiddlers.tid +8 -0
- package/languages/mk-MK/Help/editions.tid +8 -0
- package/languages/mk-MK/Help/fetch.tid +38 -0
- package/languages/mk-MK/Help/help.tid +10 -0
- package/languages/mk-MK/Help/import.tid +24 -0
- package/languages/mk-MK/Help/init.tid +23 -0
- package/languages/mk-MK/Help/listen.tid +35 -0
- package/languages/mk-MK/Help/load.tid +19 -0
- package/languages/mk-MK/Help/makelibrary.tid +14 -0
- package/languages/mk-MK/Help/notfound.tid +4 -0
- package/languages/mk-MK/Help/output.tid +11 -0
- package/languages/mk-MK/Help/password.tid +10 -0
- package/languages/mk-MK/Help/render.tid +35 -0
- package/languages/mk-MK/Help/rendertiddler.tid +24 -0
- package/languages/mk-MK/Help/rendertiddlers.tid +20 -0
- package/languages/mk-MK/Help/save.tid +25 -0
- package/languages/mk-MK/Help/savetiddler.tid +14 -0
- package/languages/mk-MK/Help/savetiddlers.tid +16 -0
- package/languages/mk-MK/Help/savewikifolder.tid +34 -0
- package/languages/mk-MK/Help/server.tid +43 -0
- package/languages/mk-MK/Help/setfield.tid +17 -0
- package/languages/mk-MK/Help/unpackplugin.tid +8 -0
- package/languages/mk-MK/Help/verbose.tid +8 -0
- package/languages/mk-MK/Help/version.tid +8 -0
- package/languages/mk-MK/Import.multids +34 -0
- package/languages/mk-MK/Misc.multids +99 -0
- package/languages/mk-MK/Modals/Download.tid +13 -0
- package/languages/mk-MK/NewJournal.multids +5 -0
- package/languages/mk-MK/Notifications.multids +6 -0
- package/languages/mk-MK/Search.multids +20 -0
- package/languages/mk-MK/SideBar.multids +18 -0
- package/languages/mk-MK/SiteSubtitle.tid +3 -0
- package/languages/mk-MK/SiteTitle.tid +3 -0
- package/languages/mk-MK/Snippets/ListByTag.tid +5 -0
- package/languages/mk-MK/Snippets/MacroDefinition.tid +7 -0
- package/languages/mk-MK/Snippets/Table4x3.tid +8 -0
- package/languages/mk-MK/Snippets/TableOfContents.tid +9 -0
- package/languages/mk-MK/ThemeTweaks.multids +42 -0
- package/languages/mk-MK/TiddlerInfo.multids +21 -0
- package/languages/mk-MK/Types/application%2Fjavascript.tid +4 -0
- package/languages/mk-MK/Types/application%2Fjson.tid +4 -0
- package/languages/mk-MK/Types/application%2Fx-tiddler-dictionary.tid +4 -0
- package/languages/mk-MK/Types/image%2Fgif.tid +4 -0
- package/languages/mk-MK/Types/image%2Fjpeg.tid +4 -0
- package/languages/mk-MK/Types/image%2Fpng.tid +4 -0
- package/languages/mk-MK/Types/image%2Fsvg%2Bxml.tid +4 -0
- package/languages/mk-MK/Types/image%2Fx-icon.tid +4 -0
- package/languages/mk-MK/Types/text%2Fcss.tid +4 -0
- package/languages/mk-MK/Types/text%2Fhtml.tid +4 -0
- package/languages/mk-MK/Types/text%2Fplain.tid +4 -0
- package/languages/mk-MK/Types/text%2Fvnd.tiddlywiki.tid +4 -0
- package/languages/mk-MK/Types/text%2Fx-tiddlywiki.tid +4 -0
- package/languages/mk-MK/icon.tid +8 -0
- package/languages/mk-MK/plugin.info +8 -0
- package/languages/pl-PL/Dates.multids +41 -41
- package/languages/zh-Hans/Buttons.multids +3 -0
- package/languages/zh-Hans/ControlPanel.multids +6 -0
- package/languages/zh-Hans/Docs/ModuleTypes.multids +1 -1
- package/languages/zh-Hans/Docs/PaletteColours.multids +7 -0
- package/languages/zh-Hans/Fields.multids +2 -0
- package/languages/zh-Hans/Misc.multids +3 -3
- package/languages/zh-Hant/Buttons.multids +3 -0
- package/languages/zh-Hant/ControlPanel.multids +6 -0
- package/languages/zh-Hant/Docs/ModuleTypes.multids +1 -1
- package/languages/zh-Hant/Docs/PaletteColours.multids +7 -0
- package/languages/zh-Hant/Fields.multids +2 -0
- package/languages/zh-Hant/Misc.multids +2 -2
- package/license +1 -1
- package/licenses/cla-individual.md +14 -0
- package/package.json +1 -1
- package/plugins/tiddlywiki/async/plugin.info +2 -1
- package/plugins/tiddlywiki/aws/plugin.info +2 -1
- package/plugins/tiddlywiki/aws/templates/lambda/sjcl.tid +2 -2
- package/plugins/tiddlywiki/bibtex/plugin.info +2 -1
- package/plugins/tiddlywiki/blog/plugin.info +2 -1
- package/plugins/tiddlywiki/browser-sniff/plugin.info +2 -1
- package/plugins/tiddlywiki/browser-storage/plugin.info +2 -1
- package/plugins/tiddlywiki/cecily/plugin.info +2 -1
- package/plugins/tiddlywiki/classictools/modules/recipe.js +9 -0
- package/plugins/tiddlywiki/classictools/plugin.info +2 -1
- package/plugins/tiddlywiki/classictools/templates/tiddlywiki2.externaljs.template.html.tid +4 -4
- package/plugins/tiddlywiki/classictools/templates/tiddlywiki2.template.html.tid +21 -21
- package/plugins/tiddlywiki/codemirror/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-autocomplete/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-closebrackets/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-closetag/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-fullscreen-editing/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-keymap-emacs/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-keymap-sublime-text/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-keymap-vim/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-mode-css/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-mode-htmlembedded/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-mode-htmlmixed/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-mode-javascript/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-mode-markdown/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-mode-x-tiddlywiki/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-mode-xml/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-search-replace/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-trailingspace/plugin.info +2 -1
- package/plugins/tiddlywiki/comments/plugin.info +2 -1
- package/plugins/tiddlywiki/confetti/confetti-manager.js +56 -0
- package/plugins/tiddlywiki/confetti/confetti-widget.js +67 -0
- package/plugins/tiddlywiki/confetti/examples/staggered.tid +10 -0
- package/plugins/tiddlywiki/confetti/examples/typing-trigger.tid +10 -0
- package/plugins/tiddlywiki/confetti/files/LICENSE +15 -0
- package/plugins/tiddlywiki/confetti/files/confetti.js +626 -0
- package/plugins/tiddlywiki/confetti/files/tiddlywiki.files +20 -0
- package/plugins/tiddlywiki/confetti/plugin.info +7 -0
- package/plugins/tiddlywiki/confetti/readme.tid +65 -0
- package/plugins/tiddlywiki/confetti/startup.js +63 -0
- package/plugins/tiddlywiki/consent-banner/plugin.info +2 -1
- package/plugins/tiddlywiki/d3/plugin.info +2 -1
- package/plugins/tiddlywiki/dynannotate/docs/readme.tid +10 -0
- package/plugins/tiddlywiki/dynannotate/examples/spotlight.tid +71 -0
- package/plugins/tiddlywiki/dynannotate/modules/element-spotlight.js +136 -0
- package/plugins/tiddlywiki/dynannotate/modules/startup.js +24 -1
- package/plugins/tiddlywiki/dynannotate/plugin.info +2 -1
- package/plugins/tiddlywiki/dynannotate/styles.tid +17 -0
- package/plugins/tiddlywiki/dynaview/plugin.info +2 -1
- package/plugins/tiddlywiki/evernote/plugin.info +2 -1
- package/plugins/tiddlywiki/external-attachments/plugin.info +2 -1
- package/plugins/tiddlywiki/filesystem/plugin.info +2 -1
- package/plugins/tiddlywiki/freelinks/plugin.info +2 -1
- package/plugins/tiddlywiki/geospatial/baselayers/TagsGeoBaseLayer.tid +2 -0
- package/plugins/tiddlywiki/geospatial/baselayers/esri-world-imagery.tid +7 -0
- package/plugins/tiddlywiki/geospatial/baselayers/openstreetmap.tid +7 -0
- package/plugins/tiddlywiki/geospatial/baselayers/opentopomap.tid +7 -0
- package/plugins/tiddlywiki/geospatial/docs/flickr.tid +141 -0
- package/plugins/tiddlywiki/geospatial/docs/geobaselayer.tid +20 -0
- package/plugins/tiddlywiki/geospatial/docs/geodifference.tid +20 -0
- package/plugins/tiddlywiki/geospatial/docs/geodistance.tid +14 -0
- package/plugins/tiddlywiki/geospatial/docs/geointersect.tid +20 -0
- package/plugins/tiddlywiki/geospatial/docs/geolayer.tid +24 -0
- package/plugins/tiddlywiki/geospatial/docs/geolocation.tid +92 -0
- package/plugins/tiddlywiki/geospatial/docs/geolookup.tid +16 -0
- package/plugins/tiddlywiki/geospatial/docs/geomap.tid +122 -0
- package/plugins/tiddlywiki/geospatial/docs/geonearestpoint.tid +19 -0
- package/plugins/tiddlywiki/geospatial/docs/geopoint.tid +22 -0
- package/plugins/tiddlywiki/geospatial/docs/geounion.tid +20 -0
- package/plugins/tiddlywiki/geospatial/docs/olc-decode.tid +14 -0
- package/plugins/tiddlywiki/geospatial/docs/olc-encode.tid +14 -0
- package/plugins/tiddlywiki/geospatial/docs.tid +3 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.js/LICENSE +26 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.js/images/layers-2x.png +0 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.js/images/layers.png +0 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.js/images/marker-icon-2x.png +0 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.js/images/marker-icon.png +0 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.js/images/marker-shadow.png +0 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js +14512 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js.map +1 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.js/leaflet.css +661 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.js/leaflet.js +6 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.js/leaflet.js.map +1 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.js/tiddlywiki.files +34 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.markercluster/MIT-LICENCE.txt +20 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.markercluster/MarkerCluster.Default.css +60 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.markercluster/MarkerCluster.css +14 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.markercluster/leaflet.markercluster-src.js +2718 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.markercluster/leaflet.markercluster-src.js.map +1 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.markercluster/leaflet.markercluster.js +2 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.markercluster/leaflet.markercluster.js.map +1 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.markercluster/tiddlywiki.files +41 -0
- package/plugins/tiddlywiki/geospatial/files/open-location-code/LICENSE +202 -0
- package/plugins/tiddlywiki/geospatial/files/open-location-code/openlocationcode.js +695 -0
- package/plugins/tiddlywiki/geospatial/files/open-location-code/openlocationcode.min.js +1 -0
- package/plugins/tiddlywiki/geospatial/files/open-location-code/tiddlywiki.files +21 -0
- package/plugins/tiddlywiki/geospatial/files/turf.js/LICENSE +20 -0
- package/plugins/tiddlywiki/geospatial/files/turf.js/tiddlywiki.files +21 -0
- package/plugins/tiddlywiki/geospatial/files/turf.js/turf.6.5.0.js +88 -0
- package/plugins/tiddlywiki/geospatial/geotools.js +41 -0
- package/plugins/tiddlywiki/geospatial/helpers/Flickr.tid +99 -0
- package/plugins/tiddlywiki/geospatial/helpers/FlickrDefaultPhotoTemplate.tid +11 -0
- package/plugins/tiddlywiki/geospatial/icon.tid +6 -0
- package/plugins/tiddlywiki/geospatial/images/markers/pin.svg +9 -0
- package/plugins/tiddlywiki/geospatial/images/markers/pin.svg.meta +2 -0
- package/plugins/tiddlywiki/geospatial/license.tid +10 -0
- package/plugins/tiddlywiki/geospatial/operators/helper.js +24 -0
- package/plugins/tiddlywiki/geospatial/operators/lookup.js +45 -0
- package/plugins/tiddlywiki/geospatial/operators/measurement.js +54 -0
- package/plugins/tiddlywiki/geospatial/operators/olc.js +55 -0
- package/plugins/tiddlywiki/geospatial/operators/transformation.js +88 -0
- package/plugins/tiddlywiki/geospatial/plugin.info +7 -0
- package/plugins/tiddlywiki/geospatial/readme.tid +13 -0
- package/plugins/tiddlywiki/geospatial/settings.tid +24 -0
- package/plugins/tiddlywiki/geospatial/startup.js +78 -0
- package/plugins/tiddlywiki/geospatial/styles.tid +10 -0
- package/plugins/tiddlywiki/geospatial/tests/operators/geodifference-interactive.tid +63 -0
- package/plugins/tiddlywiki/geospatial/tests/operators/geodifference.tid +54 -0
- package/plugins/tiddlywiki/geospatial/tests/operators/geodistance.tid +30 -0
- package/plugins/tiddlywiki/geospatial/tests/operators/geointersect-interactive.tid +63 -0
- package/plugins/tiddlywiki/geospatial/tests/operators/geointersect.tid +54 -0
- package/plugins/tiddlywiki/geospatial/tests/operators/geolookup.tid +64 -0
- package/plugins/tiddlywiki/geospatial/tests/operators/geonearestpoint.tid +28 -0
- package/plugins/tiddlywiki/geospatial/tests/operators/geonearestpoint2.tid +45 -0
- package/plugins/tiddlywiki/geospatial/tests/operators/geopoint.tid +21 -0
- package/plugins/tiddlywiki/geospatial/tests/operators/geounion-interactive.tid +63 -0
- package/plugins/tiddlywiki/geospatial/tests/operators/geounion.tid +54 -0
- package/plugins/tiddlywiki/geospatial/tests/operators/olc-decode.tid +20 -0
- package/plugins/tiddlywiki/geospatial/tests/operators/olc-encode.tid +20 -0
- package/plugins/tiddlywiki/geospatial/tests/widgets/geomap-draggable-marker.tid +40 -0
- package/plugins/tiddlywiki/geospatial/tests/widgets/geomap-refresh.tid +62 -0
- package/plugins/tiddlywiki/geospatial/tests/widgets/geomap.tid +54 -0
- package/plugins/tiddlywiki/geospatial/widgets/geobaselayer.js +17 -0
- package/plugins/tiddlywiki/geospatial/widgets/geolayer.js +17 -0
- package/plugins/tiddlywiki/geospatial/widgets/geomap.js +301 -0
- package/plugins/tiddlywiki/github-fork-ribbon/plugin.info +2 -1
- package/plugins/tiddlywiki/github-fork-ribbon/readme.tid +2 -4
- package/plugins/tiddlywiki/github-fork-ribbon/styles.tid +10 -11
- package/plugins/tiddlywiki/github-fork-ribbon/template.tid +26 -0
- package/plugins/tiddlywiki/github-fork-ribbon/usage.tid +79 -24
- package/plugins/tiddlywiki/googleanalytics/plugin.info +2 -1
- package/plugins/tiddlywiki/hammerjs/plugin.info +2 -1
- package/plugins/tiddlywiki/help/plugin.info +2 -1
- package/plugins/tiddlywiki/highlight/files/tiddlywiki.files +0 -1
- package/plugins/tiddlywiki/highlight/plugin.info +2 -1
- package/plugins/tiddlywiki/highlight-legacy/plugin.info +2 -1
- package/plugins/tiddlywiki/innerwiki/anchor.js +17 -0
- package/plugins/tiddlywiki/innerwiki/innerwiki.js +6 -66
- package/plugins/tiddlywiki/innerwiki/plugin.info +2 -1
- package/plugins/tiddlywiki/internals/plugin.info +2 -1
- package/plugins/tiddlywiki/jasmine/plugin.info +2 -1
- package/plugins/tiddlywiki/jasmine/run-wiki-based-tests.js +21 -18
- package/plugins/tiddlywiki/jszip/plugin.info +2 -1
- package/plugins/tiddlywiki/katex/plugin.info +2 -1
- package/plugins/tiddlywiki/markdown/plugin.info +2 -1
- package/plugins/tiddlywiki/markdown-legacy/plugin.info +2 -1
- package/plugins/tiddlywiki/menubar/items/pagecontrols.tid +9 -10
- package/plugins/tiddlywiki/menubar/plugin.info +2 -1
- package/plugins/tiddlywiki/mobiledragdrop/plugin.info +2 -1
- package/plugins/tiddlywiki/nodewebkitsaver/plugin.info +2 -1
- package/plugins/tiddlywiki/pluginlibrary/plugin.info +2 -1
- package/plugins/tiddlywiki/powered-by-tiddlywiki/plugin.info +2 -1
- package/plugins/tiddlywiki/qrcode/plugin.info +2 -1
- package/plugins/tiddlywiki/railroad/plugin.info +2 -1
- package/plugins/tiddlywiki/savetrail/plugin.info +2 -1
- package/plugins/tiddlywiki/sax/plugin.info +2 -1
- package/plugins/tiddlywiki/share/plugin.info +2 -1
- package/plugins/tiddlywiki/stacked-view/plugin.info +2 -1
- package/plugins/tiddlywiki/tahoelafs/plugin.info +2 -1
- package/plugins/tiddlywiki/text-slicer/plugin.info +2 -1
- package/plugins/tiddlywiki/tiddlyweb/plugin.info +2 -1
- package/plugins/tiddlywiki/tour/config-AutoStartTour.tid +2 -0
- package/plugins/tiddlywiki/tour/config-CurrentTour.tid +2 -0
- package/plugins/tiddlywiki/tour/config-DefaultColourMappings.multids +31 -0
- package/plugins/tiddlywiki/tour/config-ShowTour.tid +2 -0
- package/plugins/tiddlywiki/tour/docs.tid +25 -0
- package/plugins/tiddlywiki/tour/images/tour-button-icon.tid +9 -0
- package/plugins/tiddlywiki/tour/plugin.info +8 -0
- package/plugins/tiddlywiki/tour/readme.tid +3 -0
- package/plugins/tiddlywiki/tour/settings.tid +154 -0
- package/plugins/tiddlywiki/tour/simplified-tiddler-with-tags.tid +106 -0
- package/plugins/tiddlywiki/tour/simplified-tiddler.tid +22 -0
- package/plugins/tiddlywiki/tour/start-tour-button.tid +18 -0
- package/plugins/tiddlywiki/tour/startup-actions.tid +7 -0
- package/plugins/tiddlywiki/tour/styles.tid +261 -0
- package/plugins/tiddlywiki/tour/tour-panel.tid +104 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/config/ProductName.tid +2 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/data/tiddlers-GasGiant.tid +4 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/data/tiddlers-Jupiter.tid +5 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/data/tiddlers-Mars.tid +5 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/data/tiddlers-Planet.tid +4 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/data/tiddlers-Rocky.tid +4 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/data/tiddlers-Saturn.tid +5 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/images/tiddlywiki-tour-logo.svg +28 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/images/tiddlywiki-tour-logo.svg.meta +2 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/introduction-to-tiddlywiki.tid +8 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/settings.tid +4 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/close-control-panel.tid +9 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/closing-tiddlers.tid +25 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/create-tiddler.tid +11 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/end-of-fullscreen.tid +10 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/finished.tid +13 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/links.tid +23 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/open-control-panel.tid +9 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/recent.tid +9 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/search.tid +9 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/tags.tid +26 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/tiddlers.tid +16 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/welcome.tid +10 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/tagsTourIntroductionToTiddlyWiki.tid +2 -0
- package/plugins/tiddlywiki/tour/variables.tid +104 -0
- package/plugins/tiddlywiki/translators/plugin.info +2 -1
- package/plugins/tiddlywiki/tw2parser/plugin.info +2 -1
- package/plugins/tiddlywiki/tw5.com-docs/plugin.info +2 -1
- package/plugins/tiddlywiki/tw5.com-docs/readme.tid +7 -0
- package/plugins/tiddlywiki/twitter/plugin.info +2 -1
- package/plugins/tiddlywiki/twitter-archivist/plugin.info +2 -1
- package/plugins/tiddlywiki/upgrade/plugin.info +2 -1
- package/plugins/tiddlywiki/xlsx-utils/plugin.info +2 -1
- package/plugins/tiddlywiki/xmldom/plugin.info +2 -1
- package/readme.md +6 -6
- package/themes/tiddlywiki/vanilla/base.tid +212 -9
- package/themes/tiddlywiki/vanilla/reset.tid +61 -85
- package/boot/sjcl.js.meta +0 -3
- package/core/modules/indexers/backlinks-index.js +0 -86
- package/editions/es-ES/tiddlers/$__StoryList.tid +0 -6
- package/editions/tw.org/tiddlers/$__StoryList.tid +0 -3
- package/editions/tw5.com/tiddlers/$__StoryList.tid +0 -5
- package/plugins/tiddlywiki/innerwiki/data.js +0 -58
- /package/editions/fr-FR/tiddlers/community/editions/{_Noteself_ by Danielo Rodr/303/255guez.tid" → _Noteself_ by Danielo Rodriguez.tid} +0 -0
- /package/editions/test/tiddlers/tests/data/macros/{NestedMacros-indented.tid → nested-macros/NestedMacros-indented.tid} +0 -0
- /package/editions/test/tiddlers/tests/data/macros/{NestedMacros-indented2.tid → nested-macros/NestedMacros-indented2.tid} +0 -0
- /package/editions/test/tiddlers/tests/data/macros/{NestedMacros.tid → nested-macros/NestedMacros.tid} +0 -0
- /package/editions/test/tiddlers/tests/data/macros/{TrailingNewlines.tid → trailing-newlines/TrailingNewlines.tid} +0 -0
- /package/editions/tw5.com/tiddlers/{Tables in WikiText CSS Utility Classes.tid → wikitext/Tables in WikiText CSS Utility Classes.tid} +0 -0
@@ -26,7 +26,7 @@ describe("WikiText parser tests", function() {
|
|
26
26
|
it("should parse tags", function() {
|
27
27
|
expect(parse("<br>")).toEqual(
|
28
28
|
|
29
|
-
[ { type : 'element', tag : 'p', start : 0, end : 4, children : [ { type : 'element', tag : 'br', start : 0, end : 4, isBlock : false, attributes : { }, orderedAttributes: [ ] } ] } ]
|
29
|
+
[ { type : 'element', tag : 'p', start : 0, end : 4, children : [ { type : 'element', tag : 'br', start : 0, end : 4, openTagStart: 0, openTagEnd: 4, rule: 'html', isBlock : false, attributes : { }, orderedAttributes: [ ] } ] } ]
|
30
30
|
|
31
31
|
);
|
32
32
|
expect(parse("</br>")).toEqual(
|
@@ -36,78 +36,77 @@ describe("WikiText parser tests", function() {
|
|
36
36
|
);
|
37
37
|
expect(parse("<div>")).toEqual(
|
38
38
|
|
39
|
-
[ { type : 'element', tag : 'p', start : 0, end : 5, children : [ { type : 'element', tag : 'div', start : 0, end : 5, isBlock : false, attributes : { }, orderedAttributes: [ ], children : [ ] } ] } ]
|
39
|
+
[ { type : 'element', tag : 'p', start : 0, end : 5, children : [ { type : 'element', tag : 'div', start : 0, end : 5, openTagStart: 0, openTagEnd: 5, closeTagStart: 5, closeTagEnd: 5, rule: 'html', isBlock : false, attributes : { }, orderedAttributes: [ ], children : [ ] } ] } ]
|
40
40
|
|
41
41
|
);
|
42
42
|
expect(parse("<div/>")).toEqual(
|
43
43
|
|
44
|
-
[ { type : 'element', tag : 'p', start : 0, end : 6, children : [ { type : 'element', tag : 'div', isSelfClosing : true, isBlock : false, attributes : { }, orderedAttributes: [ ], start : 0, end : 6 } ] } ]
|
44
|
+
[ { type : 'element', tag : 'p', start : 0, end : 6, children : [ { type : 'element', tag : 'div', isSelfClosing : true, isBlock : false, attributes : { }, orderedAttributes: [ ], start : 0, end : 6, rule: 'html' } ] } ]
|
45
45
|
|
46
46
|
);
|
47
47
|
expect(parse("<div></div>")).toEqual(
|
48
48
|
|
49
|
-
[ { type : 'element', tag : 'p', start : 0, end : 11, children : [ { type : 'element', tag : 'div', isBlock : false, attributes : { }, orderedAttributes: [ ], children : [ ], start : 0, end : 5 } ] } ]
|
49
|
+
[ { type : 'element', tag : 'p', start : 0, end : 11, children : [ { type : 'element', tag : 'div', isBlock : false, attributes : { }, orderedAttributes: [ ], children : [ ], start : 0, end : 11, openTagStart: 0, openTagEnd: 5, closeTagStart: 5, closeTagEnd: 11, rule: 'html' } ] } ]
|
50
50
|
|
51
51
|
);
|
52
52
|
expect(parse("<div>some text</div>")).toEqual(
|
53
53
|
|
54
|
-
[ { type : 'element', tag : 'p', start : 0, end : 20, children : [ { type : 'element', tag : 'div',
|
54
|
+
[ { type : 'element', tag : 'p', start : 0, end : 20, children : [ { type : 'element', tag : 'div', openTagStart: 0, openTagEnd: 5, closeTagStart: 14, closeTagEnd: 20, rule: 'html', isBlock : false, attributes : { }, orderedAttributes: [ ], children : [ { type : 'text', text : 'some text', start : 5, end : 14 } ], start : 0, end : 20 } ] } ]
|
55
55
|
|
56
56
|
);
|
57
57
|
expect(parse("<div attribute>some text</div>")).toEqual(
|
58
58
|
|
59
|
-
[ { type : 'element', tag : 'p', start : 0, end : 30, children : [ { type : 'element', tag : 'div', isBlock : false, attributes : { attribute : { type : 'string', value : 'true', start : 4, end : 14, name: 'attribute' } }, orderedAttributes: [ { type : 'string', value : 'true', start : 4, end : 14, name: 'attribute' } ], children : [ { type : 'text', text : 'some text', start : 15, end : 24 } ], start : 0, end : 15 } ] } ]
|
59
|
+
[ { type : 'element', tag : 'p', start : 0, end : 30, children : [ { type : 'element', tag : 'div', isBlock : false, attributes : { attribute : { type : 'string', value : 'true', start : 4, end : 14, name: 'attribute' } }, orderedAttributes: [ { type : 'string', value : 'true', start : 4, end : 14, name: 'attribute' } ], children : [ { type : 'text', text : 'some text', start : 15, end : 24 } ], start : 0, end : 30, openTagStart: 0, openTagEnd: 15, closeTagStart: 24, closeTagEnd: 30, rule: 'html' } ] } ]
|
60
60
|
|
61
61
|
);
|
62
62
|
expect(parse("<div attribute='value'>some text</div>")).toEqual(
|
63
|
-
|
64
|
-
[ { type : 'element', tag : 'p', start : 0, end : 38, children : [ { type : 'element', tag : 'div', start: 0, end: 38, isBlock : false, attributes : { attribute : { type : 'string', name: 'attribute', value : 'value', start: 4, end: 22 } }, orderedAttributes: [ { type: 'string', name: 'attribute', value : 'value', start: 4, end: 22 } ], children : [ { type : 'text', text : 'some text', start : 23, end : 32 } ], start : 0, end : 23 } ] } ]
|
63
|
+
[ { type : 'element', tag : 'p', start : 0, end : 38, children : [ { type : 'element', tag : 'div', openTagStart: 0, openTagEnd: 23, closeTagStart: 32, closeTagEnd: 38, rule: 'html', isBlock : false, attributes : { attribute : { type : 'string', name: 'attribute', value : 'value', start: 4, end: 22 } }, orderedAttributes: [ { type: 'string', name: 'attribute', value : 'value', start: 4, end: 22 } ], children : [ { type : 'text', text : 'some text', start : 23, end : 32 } ], start : 0, end : 38 } ] } ]
|
65
64
|
|
66
65
|
);
|
67
66
|
expect(parse("<div attribute={{TiddlerTitle}}>some text</div>")).toEqual(
|
68
67
|
|
69
|
-
[ { type : 'element', tag : 'p', start: 0, end: 47, children : [ { type : 'element', tag : 'div', isBlock : false, attributes : { attribute : { type : 'indirect', name: 'attribute', textReference : 'TiddlerTitle', start : 4, end : 31 } }, orderedAttributes: [ { type : 'indirect', name: 'attribute', textReference : 'TiddlerTitle', start : 4, end : 31 } ], children : [ { type : 'text', text : 'some text', start : 32, end : 41 } ], start : 0, end : 32 } ] } ]
|
68
|
+
[ { type : 'element', tag : 'p', start: 0, end: 47, children : [ { type : 'element', tag : 'div', isBlock : false, attributes : { attribute : { type : 'indirect', name: 'attribute', textReference : 'TiddlerTitle', start : 4, end : 31 } }, orderedAttributes: [ { type : 'indirect', name: 'attribute', textReference : 'TiddlerTitle', start : 4, end : 31 } ], children : [ { type : 'text', text : 'some text', start : 32, end : 41 } ], start : 0, end : 47, openTagStart: 0, openTagEnd: 32, closeTagStart: 41, closeTagEnd: 47, rule: 'html' } ] } ]
|
70
69
|
|
71
70
|
);
|
72
71
|
expect(parse("<$reveal state='$:/temp/search' type='nomatch' text=''>")).toEqual(
|
73
72
|
|
74
|
-
[ { type : 'element', tag : 'p', start: 0, end: 55, children : [ { type : 'reveal', tag: '$reveal',
|
73
|
+
[ { type : 'element', tag : 'p', start: 0, end: 55, children : [ { type : 'reveal', tag: '$reveal', rule: 'html', attributes : { state : { start : 8, name : 'state', type : 'string', value : '$:/temp/search', end : 31 }, type : { start : 31, name : 'type', type : 'string', value : 'nomatch', end : 46 }, text : { start : 46, name : 'text', type : 'string', value : '', end : 54 } }, orderedAttributes: [ { start : 8, name : 'state', type : 'string', value : '$:/temp/search', end : 31 }, { start : 31, name : 'type', type : 'string', value : 'nomatch', end : 46 }, { start : 46, name : 'text', type : 'string', value : '', end : 54 } ], start: 0, end : 55, openTagStart: 0, openTagEnd: 55, closeTagStart: 55, closeTagEnd: 55, isBlock : false, children : [ ] } ] } ]
|
75
74
|
|
76
75
|
);
|
77
76
|
expect(parse("<div attribute={{TiddlerTitle!!field}}>some text</div>")).toEqual(
|
78
77
|
|
79
|
-
[ { type : 'element', tag : 'p', start: 0, end: 54, children : [ { type : 'element', tag : 'div', isBlock : false, attributes : { attribute : { type : 'indirect', name : 'attribute', textReference : 'TiddlerTitle!!field', start : 4, end : 38 } }, orderedAttributes: [ { type : 'indirect', name : 'attribute', textReference : 'TiddlerTitle!!field', start : 4, end : 38 } ], children : [ { type : 'text', text : 'some text', start : 39, end : 48 } ], start : 0, end : 39 } ] } ]
|
78
|
+
[ { type : 'element', tag : 'p', start: 0, end: 54, children : [ { type : 'element', tag : 'div', rule: 'html', isBlock : false, attributes : { attribute : { type : 'indirect', name : 'attribute', textReference : 'TiddlerTitle!!field', start : 4, end : 38 } }, orderedAttributes: [ { type : 'indirect', name : 'attribute', textReference : 'TiddlerTitle!!field', start : 4, end : 38 } ], children : [ { type : 'text', text : 'some text', start : 39, end : 48 } ], start : 0, end : 54, openTagStart: 0, openTagEnd: 39, closeTagStart: 48, closeTagEnd: 54 } ] } ]
|
80
79
|
|
81
80
|
);
|
82
81
|
expect(parse("<div attribute={{Tiddler Title!!field}}>some text</div>")).toEqual(
|
83
82
|
|
84
|
-
[ { type : 'element', tag : 'p', start: 0, end: 55, children : [ { type : 'element', tag : 'div', isBlock : false, attributes : { attribute : { type : 'indirect', name : 'attribute', textReference : 'Tiddler Title!!field', start : 4, end : 39 } }, orderedAttributes: [ { type : 'indirect', name : 'attribute', textReference : 'Tiddler Title!!field', start : 4, end : 39 } ], children : [ { type : 'text', text : 'some text', start : 40, end : 49 } ], start : 0, end : 40 } ] } ]
|
83
|
+
[ { type : 'element', tag : 'p', start: 0, end: 55, children : [ { type : 'element', tag : 'div', rule: 'html', isBlock : false, attributes : { attribute : { type : 'indirect', name : 'attribute', textReference : 'Tiddler Title!!field', start : 4, end : 39 } }, orderedAttributes: [ { type : 'indirect', name : 'attribute', textReference : 'Tiddler Title!!field', start : 4, end : 39 } ], children : [ { type : 'text', text : 'some text', start : 40, end : 49 } ], start : 0, end : 55, openTagStart: 0, openTagEnd: 40, closeTagStart: 49, closeTagEnd: 55 } ] } ]
|
85
84
|
|
86
85
|
);
|
87
86
|
expect(parse("<div attribute={{TiddlerTitle!!field}}>\n\nsome text</div>")).toEqual(
|
88
87
|
|
89
|
-
[ { type : 'element', start : 0, attributes : { attribute : { start : 4, name : 'attribute', type : 'indirect', textReference : 'TiddlerTitle!!field', end : 38 } }, orderedAttributes: [ { start : 4, name : 'attribute', type : 'indirect', textReference : 'TiddlerTitle!!field', end : 38 } ], tag : 'div', end : 39, isBlock : true, children : [ { type : 'element', tag : 'p', start : 41, end : 50, children : [ { type : 'text', text : 'some text', start : 41, end : 50 } ] } ] } ]
|
88
|
+
[ { type : 'element', start : 0, attributes : { attribute : { start : 4, name : 'attribute', type : 'indirect', textReference : 'TiddlerTitle!!field', end : 38 } }, orderedAttributes: [ { start : 4, name : 'attribute', type : 'indirect', textReference : 'TiddlerTitle!!field', end : 38 } ], tag : 'div', rule: 'html', end : 56, openTagStart: 0, openTagEnd: 39, closeTagStart: 50, closeTagEnd: 56, isBlock : true, children : [ { type : 'element', tag : 'p', start : 41, end : 50, children : [ { type : 'text', text : 'some text', start : 41, end : 50 } ] } ] } ]
|
90
89
|
|
91
90
|
);
|
92
91
|
expect(parse("<div><div attribute={{TiddlerTitle!!field}}>\n\nsome text</div></div>")).toEqual(
|
93
92
|
|
94
|
-
[ { type : 'element', tag : 'p', start: 0, end: 67, children : [ { type : 'element', start : 0, attributes : { }, orderedAttributes: [ ], tag : 'div',
|
93
|
+
[ { type : 'element', tag : 'p', start: 0, end: 67, children : [ { type : 'element', start : 0, end: 67, openTagStart: 0, openTagEnd: 5, closeTagStart: 61, closeTagEnd: 67, attributes : { }, orderedAttributes: [ ], tag : 'div', rule: 'html', isBlock : false, children : [ { type : 'element', start : 5, attributes : { attribute : { start : 9, name : 'attribute', type : 'indirect', textReference : 'TiddlerTitle!!field', end : 43 } }, orderedAttributes: [ { start : 9, name : 'attribute', type : 'indirect', textReference : 'TiddlerTitle!!field', end : 43 } ], tag : 'div', end : 61, openTagStart: 5, openTagEnd: 44, closeTagStart: 55, closeTagEnd: 61, rule: 'html', isBlock : true, children : [ { type : 'element', tag : 'p', start : 46, end : 55, children : [ { type : 'text', text : 'some text', start : 46, end : 55 } ] } ] } ] } ] } ]
|
95
94
|
|
96
95
|
);
|
97
96
|
expect(parse("<div><div attribute={{TiddlerTitle!!field}}>\n\n!some heading</div></div>")).toEqual(
|
98
97
|
|
99
|
-
[ { type : 'element', tag : 'p', start: 0, end: 71, children : [ { type : 'element', start : 0, attributes : { }, orderedAttributes: [ ], tag : 'div',
|
98
|
+
[ { type : 'element', tag : 'p', start: 0, end: 71, children : [ { type : 'element', start : 0, end: 71, openTagStart: 0, openTagEnd: 5, closeTagStart: 71, closeTagEnd: 71, attributes : { }, orderedAttributes: [ ], tag : 'div', rule: 'html', isBlock : false, children : [ { type : 'element', start : 5, attributes : { attribute : { start : 9, name : 'attribute', type : 'indirect', textReference : 'TiddlerTitle!!field', end : 43 } }, orderedAttributes: [ { start : 9, name : 'attribute', type : 'indirect', textReference : 'TiddlerTitle!!field', end : 43 } ], tag : 'div', end : 71, openTagStart: 5, openTagEnd: 44, closeTagStart: 71, closeTagEnd: 71, rule: 'html', isBlock : true, children : [ { type : 'element', tag : 'h1', start: 46, end: 71, rule: 'heading', attributes : { class : { type : 'string', value : '', start: 47, end: 47 } }, children : [ { type : 'text', text : 'some heading</div></div>', start : 47, end : 71 } ] } ] } ] } ] } ]
|
100
99
|
|
101
100
|
);
|
102
101
|
expect(parse("<div><div attribute={{TiddlerTitle!!field}}>\n!some heading</div></div>")).toEqual(
|
103
102
|
|
104
|
-
[ { type : 'element', tag : 'p', start: 0, end: 70, children : [ { type : 'element', start : 0, attributes : { }, orderedAttributes: [ ], tag : 'div',
|
103
|
+
[ { type : 'element', tag : 'p', start: 0, end: 70, children : [ { type : 'element', start : 0, end: 70, openTagStart: 0, openTagEnd: 5, closeTagStart: 64, closeTagEnd: 70, attributes : { }, orderedAttributes: [ ], tag : 'div', rule: 'html', isBlock : false, children : [ { type : 'element', start : 5, attributes : { attribute : { start : 9, name : 'attribute', type : 'indirect', textReference : 'TiddlerTitle!!field', end : 43 } }, orderedAttributes: [ { start : 9, name : 'attribute', type : 'indirect', textReference : 'TiddlerTitle!!field', end : 43 } ], tag : 'div', end : 64, openTagStart: 5, openTagEnd: 44, closeTagStart: 58, closeTagEnd: 64, rule: 'html', isBlock : false, children : [ { type : 'text', text : '\n!some heading', start : 44, end : 58 } ] } ] } ] } ]
|
105
104
|
|
106
105
|
);
|
107
106
|
// Regression test for issue (#3306)
|
108
107
|
expect(parse("<div><span><span>\n\nSome text</span></span></div>")).toEqual(
|
109
108
|
|
110
|
-
[ { type : 'element', tag : 'p', start: 0, end: 48, children : [ { type : 'element', start : 0, attributes : { }, orderedAttributes: [ ], tag : 'div',
|
109
|
+
[ { type : 'element', tag : 'p', start: 0, end: 48, children : [ { type : 'element', start : 0, end: 48, openTagStart: 0, openTagEnd: 5, closeTagStart: 42, closeTagEnd: 48, attributes : { }, orderedAttributes: [ ], tag : 'div', rule: 'html', isBlock : false, children : [ { type : 'element', start : 5, attributes : { }, orderedAttributes: [ ], tag : 'span', end : 42, openTagStart: 5, openTagEnd: 11, closeTagStart: 35, closeTagEnd: 42, rule: 'html', isBlock : false, children : [ { type : 'element', start : 11, attributes : { }, orderedAttributes: [ ], tag : 'span', end : 35, openTagStart: 11, openTagEnd: 17, closeTagStart: 28, closeTagEnd: 35, rule: 'html', isBlock : true, children : [ { type : 'element', tag : 'p', start : 19, end : 28, children : [ { type : 'text', text : 'Some text', start : 19, end : 28 } ] } ] } ] } ] } ] } ]
|
111
110
|
|
112
111
|
);
|
113
112
|
});
|
@@ -115,7 +114,7 @@ describe("WikiText parser tests", function() {
|
|
115
114
|
it("should parse macro definitions", function() {
|
116
115
|
expect(parse("\\define myMacro()\nnothing\n\\end\n")).toEqual(
|
117
116
|
|
118
|
-
[{"type":"set","attributes":{"name":{"name":"name","type":"string","value":"myMacro"},"value":{"name":"value","type":"string","value":"nothing"}},"children":[],"params":[],"isMacroDefinition":true,"orderedAttributes":[{"name":"name","type":"string","value":"myMacro"},{"name":"value","type":"string","value":"nothing"}]}]
|
117
|
+
[{"type":"set","attributes":{"name":{"name":"name","type":"string","value":"myMacro"},"value":{"name":"value","type":"string","value":"nothing"}},"children":[],"params":[],"isMacroDefinition":true,"orderedAttributes":[{"name":"name","type":"string","value":"myMacro"},{"name":"value","type":"string","value":"nothing"}],"start":0,"end":30,"rule":"macrodef"}]
|
119
118
|
|
120
119
|
);
|
121
120
|
});
|
@@ -123,7 +122,7 @@ describe("WikiText parser tests", function() {
|
|
123
122
|
it("should parse procedure definitions with no parameters", function() {
|
124
123
|
expect(parse("\\procedure myMacro()\nnothing\n\\end\n")).toEqual(
|
125
124
|
|
126
|
-
[{"type":"set","attributes":{"name":{"name":"name","type":"string","value":"myMacro"},"value":{"name":"value","type":"string","value":"nothing"}},"children":[],"params":[],"orderedAttributes":[{"name":"name","type":"string","value":"myMacro"},{"name":"value","type":"string","value":"nothing"}],"isProcedureDefinition":true}]
|
125
|
+
[{"type":"set","attributes":{"name":{"name":"name","type":"string","value":"myMacro"},"value":{"name":"value","type":"string","value":"nothing"}},"children":[],"params":[],"orderedAttributes":[{"name":"name","type":"string","value":"myMacro"},{"name":"value","type":"string","value":"nothing"}],"isProcedureDefinition":true,"start":0,"end":33,"rule":"fnprocdef"}]
|
127
126
|
|
128
127
|
);
|
129
128
|
});
|
@@ -131,7 +130,7 @@ describe("WikiText parser tests", function() {
|
|
131
130
|
it("should parse single line procedure definitions with no parameters", function() {
|
132
131
|
expect(parse("\\procedure myMacro() nothing\n")).toEqual(
|
133
132
|
|
134
|
-
[{"type":"set","attributes":{"name":{"name":"name","type":"string","value":"myMacro"},"value":{"name":"value","type":"string","value":"nothing"}},"children":[],"params":[],"orderedAttributes":[{"name":"name","type":"string","value":"myMacro"},{"name":"value","type":"string","value":"nothing"}],"isProcedureDefinition":true}]
|
133
|
+
[{"type":"set","attributes":{"name":{"name":"name","type":"string","value":"myMacro"},"value":{"name":"value","type":"string","value":"nothing"}},"children":[],"params":[],"orderedAttributes":[{"name":"name","type":"string","value":"myMacro"},{"name":"value","type":"string","value":"nothing"}],"isProcedureDefinition":true,"start":0,"end":28,"rule":"fnprocdef"}]
|
135
134
|
|
136
135
|
);
|
137
136
|
});
|
@@ -139,7 +138,7 @@ describe("WikiText parser tests", function() {
|
|
139
138
|
it("should parse procedure definitions with parameters", function() {
|
140
139
|
expect(parse("\\procedure myMacro(one,two,three,four:elephant)\nnothing\n\\end\n")).toEqual(
|
141
140
|
|
142
|
-
[{"type":"set","attributes":{"name":{"name":"name","type":"string","value":"myMacro"},"value":{"name":"value","type":"string","value":"nothing"}},"children":[],"params":[{"name":"one"},{"name":"two"},{"name":"three"},{"name":"four","default":"elephant"}],"orderedAttributes":[{"name":"name","type":"string","value":"myMacro"},{"name":"value","type":"string","value":"nothing"}],"isProcedureDefinition":true}]
|
141
|
+
[{"type":"set","attributes":{"name":{"name":"name","type":"string","value":"myMacro"},"value":{"name":"value","type":"string","value":"nothing"}},"children":[],"params":[{"name":"one"},{"name":"two"},{"name":"three"},{"name":"four","default":"elephant"}],"orderedAttributes":[{"name":"name","type":"string","value":"myMacro"},{"name":"value","type":"string","value":"nothing"}],"isProcedureDefinition":true,"start":0,"end":60,"rule":"fnprocdef"}]
|
143
142
|
|
144
143
|
);
|
145
144
|
});
|
@@ -147,14 +146,14 @@ describe("WikiText parser tests", function() {
|
|
147
146
|
it("should parse procedure definitions", function() {
|
148
147
|
expect(parse("\\procedure myMacro(one:'Jaguar')\n<$text text=<<one>>/>\n\\end\n\n")).toEqual(
|
149
148
|
|
150
|
-
[{"type":"set","attributes":{"name":{"name":"name","type":"string","value":"myMacro"},"value":{"name":"value","type":"string","value":"<$text text=<<one>>/>"}},"children":[],"params":[{"name":"one","default":"Jaguar"}],"orderedAttributes":[{"name":"name","type":"string","value":"myMacro"},{"name":"value","type":"string","value":"<$text text=<<one>>/>"}],"isProcedureDefinition":true}]
|
149
|
+
[{"type":"set","attributes":{"name":{"name":"name","type":"string","value":"myMacro"},"value":{"name":"value","type":"string","value":"<$text text=<<one>>/>"}},"children":[],"params":[{"name":"one","default":"Jaguar"}],"orderedAttributes":[{"name":"name","type":"string","value":"myMacro"},{"name":"value","type":"string","value":"<$text text=<<one>>/>"}],"isProcedureDefinition":true,"start":0,"end":59,"rule":"fnprocdef"}]
|
151
150
|
|
152
151
|
);
|
153
152
|
|
154
153
|
}); it("should parse function definitions with no parameters", function() {
|
155
154
|
expect(parse("\\function myMacro()\nnothing\n\\end\n")).toEqual(
|
156
155
|
|
157
|
-
[{"type":"set","attributes":{"name":{"name":"name","type":"string","value":"myMacro"},"value":{"name":"value","type":"string","value":"nothing"}},"children":[],"params":[],"orderedAttributes":[{"name":"name","type":"string","value":"myMacro"},{"name":"value","type":"string","value":"nothing"}],"isFunctionDefinition":true}]
|
156
|
+
[{"type":"set","attributes":{"name":{"name":"name","type":"string","value":"myMacro"},"value":{"name":"value","type":"string","value":"nothing"}},"children":[],"params":[],"orderedAttributes":[{"name":"name","type":"string","value":"myMacro"},{"name":"value","type":"string","value":"nothing"}],"isFunctionDefinition":true,"start":0,"end":32,"rule":"fnprocdef"}]
|
158
157
|
|
159
158
|
);
|
160
159
|
});
|
@@ -162,7 +161,7 @@ describe("WikiText parser tests", function() {
|
|
162
161
|
it("should parse single line function definitions with no parameters", function() {
|
163
162
|
expect(parse("\\function myMacro() nothing\n")).toEqual(
|
164
163
|
|
165
|
-
[{"type":"set","attributes":{"name":{"name":"name","type":"string","value":"myMacro"},"value":{"name":"value","type":"string","value":"nothing"}},"children":[],"params":[],"orderedAttributes":[{"name":"name","type":"string","value":"myMacro"},{"name":"value","type":"string","value":"nothing"}],"isFunctionDefinition":true}]
|
164
|
+
[{"type":"set","attributes":{"name":{"name":"name","type":"string","value":"myMacro"},"value":{"name":"value","type":"string","value":"nothing"}},"children":[],"params":[],"orderedAttributes":[{"name":"name","type":"string","value":"myMacro"},{"name":"value","type":"string","value":"nothing"}],"isFunctionDefinition":true,"start":0,"end":27,"rule":"fnprocdef"}]
|
166
165
|
|
167
166
|
);
|
168
167
|
});
|
@@ -170,7 +169,7 @@ describe("WikiText parser tests", function() {
|
|
170
169
|
it("should parse function definitions with parameters", function() {
|
171
170
|
expect(parse("\\function myMacro(one,two,three,four:elephant)\nnothing\n\\end\n")).toEqual(
|
172
171
|
|
173
|
-
[{"type":"set","attributes":{"name":{"name":"name","type":"string","value":"myMacro"},"value":{"name":"value","type":"string","value":"nothing"}},"children":[],"params":[{"name":"one"},{"name":"two"},{"name":"three"},{"name":"four","default":"elephant"}],"orderedAttributes":[{"name":"name","type":"string","value":"myMacro"},{"name":"value","type":"string","value":"nothing"}],"isFunctionDefinition":true}]
|
172
|
+
[{"type":"set","attributes":{"name":{"name":"name","type":"string","value":"myMacro"},"value":{"name":"value","type":"string","value":"nothing"}},"children":[],"params":[{"name":"one"},{"name":"two"},{"name":"three"},{"name":"four","default":"elephant"}],"orderedAttributes":[{"name":"name","type":"string","value":"myMacro"},{"name":"value","type":"string","value":"nothing"}],"isFunctionDefinition":true,"start":0,"end":59,"rule":"fnprocdef"}]
|
174
173
|
|
175
174
|
);
|
176
175
|
});
|
@@ -178,7 +177,7 @@ describe("WikiText parser tests", function() {
|
|
178
177
|
it("should parse function definitions", function() {
|
179
178
|
expect(parse("\\function myMacro(one:'Jaguar')\n<$text text=<<one>>/>\n\\end\n\n")).toEqual(
|
180
179
|
|
181
|
-
[{"type":"set","attributes":{"name":{"name":"name","type":"string","value":"myMacro"},"value":{"name":"value","type":"string","value":"<$text text=<<one>>/>"}},"children":[],"params":[{"name":"one","default":"Jaguar"}],"orderedAttributes":[{"name":"name","type":"string","value":"myMacro"},{"name":"value","type":"string","value":"<$text text=<<one>>/>"}],"isFunctionDefinition":true}]
|
180
|
+
[{"type":"set","attributes":{"name":{"name":"name","type":"string","value":"myMacro"},"value":{"name":"value","type":"string","value":"<$text text=<<one>>/>"}},"children":[],"params":[{"name":"one","default":"Jaguar"}],"orderedAttributes":[{"name":"name","type":"string","value":"myMacro"},{"name":"value","type":"string","value":"<$text text=<<one>>/>"}],"isFunctionDefinition":true,"start":0,"end":58,"rule":"fnprocdef"}]
|
182
181
|
|
183
182
|
);
|
184
183
|
});
|
@@ -186,7 +185,7 @@ describe("WikiText parser tests", function() {
|
|
186
185
|
it("should parse comment in pragma area. Comment will be invisible", function() {
|
187
186
|
expect(parse("<!-- comment in pragma area -->\n\\define aMacro()\nnothing\n\\end\n")).toEqual(
|
188
187
|
|
189
|
-
[{"type":"set","attributes":{"name":{"name":"name","type":"string","value":"aMacro"},"value":{"name":"value","type":"string","value":"nothing"}},"children":[],"params":[],"isMacroDefinition":true,"orderedAttributes":[{"name":"name","type":"string","value":"aMacro"},{"name":"value","type":"string","value":"nothing"}]}]
|
188
|
+
[{"type":"set","attributes":{"name":{"name":"name","type":"string","value":"aMacro"},"value":{"name":"value","type":"string","value":"nothing"}},"children":[],"params":[],"isMacroDefinition":true,"orderedAttributes":[{"name":"name","type":"string","value":"aMacro"},{"name":"value","type":"string","value":"nothing"}],"start":32,"end":61,"rule":"macrodef"}]
|
190
189
|
|
191
190
|
);
|
192
191
|
});
|
@@ -194,12 +193,12 @@ describe("WikiText parser tests", function() {
|
|
194
193
|
it("should block mode filtered transclusions", function() {
|
195
194
|
expect(parse("{{{ filter }}}")).toEqual(
|
196
195
|
|
197
|
-
[ { type: 'list', attributes: { filter: { type: 'string', value: ' filter ' } }, isBlock: true } ]
|
196
|
+
[ { type: 'list', attributes: { filter: { type: 'string', value: ' filter ', start: 3, end: 11 } }, isBlock: true, start: 0, end: 14, rule: "filteredtranscludeblock" } ]
|
198
197
|
|
199
198
|
);
|
200
199
|
expect(parse("{{{ fil\nter }}}")).toEqual(
|
201
200
|
|
202
|
-
[ { type: 'list', attributes: { filter: { type: 'string', value: ' fil\nter ' } }, isBlock: true } ]
|
201
|
+
[ { type: 'list', attributes: { filter: { type: 'string', value: ' fil\nter ', start: 3, end: 12 } }, isBlock: true, start: 0, end: 15, rule: "filteredtranscludeblock" } ]
|
203
202
|
|
204
203
|
);
|
205
204
|
});
|
@@ -207,38 +206,38 @@ describe("WikiText parser tests", function() {
|
|
207
206
|
it("should parse inline macro calls", function() {
|
208
207
|
expect(parse("<<john>><<paul>><<george>><<ringo>>")).toEqual(
|
209
208
|
|
210
|
-
[{"type":"element","tag":"p","children":[{"type":"transclude","start":0,"end":8,"attributes":{"$variable":{"name":"$variable","type":"string","value":"john"}},"orderedAttributes":[{"name":"$variable","type":"string","value":"john"}]},{"type":"transclude","start":8,"end":16,"attributes":{"$variable":{"name":"$variable","type":"string","value":"paul"}},"orderedAttributes":[{"name":"$variable","type":"string","value":"paul"}]},{"type":"transclude","start":16,"end":26,"attributes":{"$variable":{"name":"$variable","type":"string","value":"george"}},"orderedAttributes":[{"name":"$variable","type":"string","value":"george"}]},{"type":"transclude","start":26,"end":35,"attributes":{"$variable":{"name":"$variable","type":"string","value":"ringo"}},"orderedAttributes":[{"name":"$variable","type":"string","value":"ringo"}]}],"start":0,"end":35}]
|
209
|
+
[{"type":"element","tag":"p","children":[{"type":"transclude","start":0,"end":8,"rule":"macrocallinline","attributes":{"$variable":{"name":"$variable","type":"string","value":"john"}},"orderedAttributes":[{"name":"$variable","type":"string","value":"john"}]},{"type":"transclude","start":8,"end":16,"rule":"macrocallinline","attributes":{"$variable":{"name":"$variable","type":"string","value":"paul"}},"orderedAttributes":[{"name":"$variable","type":"string","value":"paul"}]},{"type":"transclude","start":16,"end":26,"rule":"macrocallinline","attributes":{"$variable":{"name":"$variable","type":"string","value":"george"}},"orderedAttributes":[{"name":"$variable","type":"string","value":"george"}]},{"type":"transclude","start":26,"end":35,"rule":"macrocallinline","attributes":{"$variable":{"name":"$variable","type":"string","value":"ringo"}},"orderedAttributes":[{"name":"$variable","type":"string","value":"ringo"}]}],"start":0,"end":35}]
|
211
210
|
|
212
211
|
);
|
213
212
|
expect(parse("text <<john one:val1 two: 'val \"2\"' three: \"val '3'\" four: \"\"\"val 4\"5'\"\"\" five: [[val 5]] >>")).toEqual(
|
214
213
|
|
215
|
-
[{"type":"element","tag":"p","children":[{"type":"text","text":"text ","start":0,"end":5},{"type":"transclude","start":5,"end":92,"attributes":{"$variable":{"name":"$variable","type":"string","value":"john"},"one":{"name":"one","type":"string","value":"val1","start":11,"end":20},"two":{"name":"two","type":"string","value":"val \"2\"","start":20,"end":35},"three":{"name":"three","type":"string","value":"val '3'","start":35,"end":52},"four":{"name":"four","type":"string","value":"val 4\"5'","start":52,"end":73},"five":{"name":"five","type":"string","value":"val 5","start":73,"end":89}},"orderedAttributes":[{"name":"$variable","type":"string","value":"john"},{"name":"one","type":"string","value":"val1","start":11,"end":20},{"name":"two","type":"string","value":"val \"2\"","start":20,"end":35},{"name":"three","type":"string","value":"val '3'","start":35,"end":52},{"name":"four","type":"string","value":"val 4\"5'","start":52,"end":73},{"name":"five","type":"string","value":"val 5","start":73,"end":89}]}],"start":0,"end":92}]
|
214
|
+
[{"type":"element","tag":"p","children":[{"type":"text","text":"text ","start":0,"end":5},{"type":"transclude","start":5,"end":92,"rule":"macrocallinline","attributes":{"$variable":{"name":"$variable","type":"string","value":"john"},"one":{"name":"one","type":"string","value":"val1","start":11,"end":20},"two":{"name":"two","type":"string","value":"val \"2\"","start":20,"end":35},"three":{"name":"three","type":"string","value":"val '3'","start":35,"end":52},"four":{"name":"four","type":"string","value":"val 4\"5'","start":52,"end":73},"five":{"name":"five","type":"string","value":"val 5","start":73,"end":89}},"orderedAttributes":[{"name":"$variable","type":"string","value":"john"},{"name":"one","type":"string","value":"val1","start":11,"end":20},{"name":"two","type":"string","value":"val \"2\"","start":20,"end":35},{"name":"three","type":"string","value":"val '3'","start":35,"end":52},{"name":"four","type":"string","value":"val 4\"5'","start":52,"end":73},{"name":"five","type":"string","value":"val 5","start":73,"end":89}]}],"start":0,"end":92}]
|
216
215
|
|
217
216
|
);
|
218
217
|
expect(parse("ignored << carrots <<john>>")).toEqual(
|
219
218
|
|
220
|
-
[{"type":"element","tag":"p","children":[{"type":"text","text":"ignored << carrots ","start":0,"end":19},{"type":"transclude","start":19,"end":27,"attributes":{"$variable":{"name":"$variable","type":"string","value":"john"}},"orderedAttributes":[{"name":"$variable","type":"string","value":"john"}]}],"start":0,"end":27}]
|
219
|
+
[{"type":"element","tag":"p","children":[{"type":"text","text":"ignored << carrots ","start":0,"end":19},{"type":"transclude","start":19,"end":27,"rule":"macrocallinline","attributes":{"$variable":{"name":"$variable","type":"string","value":"john"}},"orderedAttributes":[{"name":"$variable","type":"string","value":"john"}]}],"start":0,"end":27}]
|
221
220
|
|
222
221
|
);
|
223
222
|
expect(parse("text <<<john>>")).toEqual(
|
224
223
|
|
225
|
-
[{"type":"element","tag":"p","children":[{"type":"text","text":"text ","start":0,"end":5},{"type":"transclude","start":5,"end":14,"attributes":{"$variable":{"name":"$variable","type":"string","value":"<john"}},"orderedAttributes":[{"name":"$variable","type":"string","value":"<john"}]}],"start":0,"end":14}]
|
224
|
+
[{"type":"element","tag":"p","children":[{"type":"text","text":"text ","start":0,"end":5},{"type":"transclude","start":5,"end":14,"rule":"macrocallinline","attributes":{"$variable":{"name":"$variable","type":"string","value":"<john"}},"orderedAttributes":[{"name":"$variable","type":"string","value":"<john"}]}],"start":0,"end":14}]
|
226
225
|
|
227
226
|
);
|
228
227
|
expect(parse("before\n<<john>>")).toEqual(
|
229
228
|
|
230
|
-
[{"type":"element","tag":"p","children":[{"type":"text","text":"before\n","start":0,"end":7},{"type":"transclude","start":7,"end":15,"attributes":{"$variable":{"name":"$variable","type":"string","value":"john"}},"orderedAttributes":[{"name":"$variable","type":"string","value":"john"}]}],"start":0,"end":15}]
|
229
|
+
[{"type":"element","tag":"p","children":[{"type":"text","text":"before\n","start":0,"end":7},{"type":"transclude","start":7,"end":15,"rule":"macrocallinline","attributes":{"$variable":{"name":"$variable","type":"string","value":"john"}},"orderedAttributes":[{"name":"$variable","type":"string","value":"john"}]}],"start":0,"end":15}]
|
231
230
|
|
232
231
|
);
|
233
232
|
// A single space will cause it to be inline
|
234
233
|
expect(parse("<<john>> ")).toEqual(
|
235
234
|
|
236
|
-
[{"type":"element","tag":"p","children":[{"type":"transclude","start":0,"end":8,"attributes":{"$variable":{"name":"$variable","type":"string","value":"john"}},"orderedAttributes":[{"name":"$variable","type":"string","value":"john"}]},{"type":"text","text":" ","start":8,"end":9}],"start":0,"end":9}]
|
235
|
+
[{"type":"element","tag":"p","children":[{"type":"transclude","start":0,"end":8,"rule":"macrocallinline","attributes":{"$variable":{"name":"$variable","type":"string","value":"john"}},"orderedAttributes":[{"name":"$variable","type":"string","value":"john"}]},{"type":"text","text":" ","start":8,"end":9}],"start":0,"end":9}]
|
237
236
|
|
238
237
|
);
|
239
238
|
expect(parse("text <<outie one:'my <<innie>>' >>")).toEqual(
|
240
239
|
|
241
|
-
[{"type":"element","tag":"p","children":[{"type":"text","text":"text ","start":0,"end":5},{"type":"transclude","start":5,"end":34,"attributes":{"$variable":{"name":"$variable","type":"string","value":"outie"},"one":{"name":"one","type":"string","value":"my <<innie>>","start":12,"end":31}},"orderedAttributes":[{"name":"$variable","type":"string","value":"outie"},{"name":"one","type":"string","value":"my <<innie>>","start":12,"end":31}]}],"start":0,"end":34}]
|
240
|
+
[{"type":"element","tag":"p","children":[{"type":"text","text":"text ","start":0,"end":5},{"type":"transclude","start":5,"end":34,"rule":"macrocallinline","attributes":{"$variable":{"name":"$variable","type":"string","value":"outie"},"one":{"name":"one","type":"string","value":"my <<innie>>","start":12,"end":31}},"orderedAttributes":[{"name":"$variable","type":"string","value":"outie"},{"name":"one","type":"string","value":"my <<innie>>","start":12,"end":31}]}],"start":0,"end":34}]
|
242
241
|
|
243
242
|
);
|
244
243
|
|
@@ -247,37 +246,37 @@ describe("WikiText parser tests", function() {
|
|
247
246
|
it("should parse block macro calls", function() {
|
248
247
|
expect(parse("<<john>>\n<<paul>>\r\n<<george>>\n<<ringo>>")).toEqual(
|
249
248
|
|
250
|
-
[ { type: 'transclude', start: 0, attributes: { $variable: { name: "$variable", type: "string", value: "john" }}, orderedAttributes: [ { name: "$variable", type: "string", value: "john" }], end: 8, isBlock: true }, { type: 'transclude', start: 9, attributes: { $variable: { name: "$variable", type: "string", value: "paul" }}, orderedAttributes: [ { name: "$variable", type: "string", value: "paul" }], end: 17, isBlock: true }, { type: 'transclude', start: 19, attributes: { $variable: { name: "$variable", type: "string", value: "george" }}, orderedAttributes: [ { name: "$variable", type: "string", value: "george" }], end: 29, isBlock: true }, { type: 'transclude', start: 30, attributes: { $variable: { name: "$variable", type: "string", value: "ringo" }}, orderedAttributes: [ { name: "$variable", type: "string", value: "ringo" }], end: 39, isBlock: true } ]
|
249
|
+
[ { type: 'transclude', start: 0, rule: 'macrocallblock', attributes: { $variable: { name: "$variable", type: "string", value: "john" }}, orderedAttributes: [ { name: "$variable", type: "string", value: "john" }], end: 8, isBlock: true }, { type: 'transclude', start: 9, rule: 'macrocallblock', attributes: { $variable: { name: "$variable", type: "string", value: "paul" }}, orderedAttributes: [ { name: "$variable", type: "string", value: "paul" }], end: 17, isBlock: true }, { type: 'transclude', start: 19, rule: 'macrocallblock', attributes: { $variable: { name: "$variable", type: "string", value: "george" }}, orderedAttributes: [ { name: "$variable", type: "string", value: "george" }], end: 29, isBlock: true }, { type: 'transclude', start: 30, rule: 'macrocallblock', attributes: { $variable: { name: "$variable", type: "string", value: "ringo" }}, orderedAttributes: [ { name: "$variable", type: "string", value: "ringo" }], end: 39, isBlock: true } ]
|
251
250
|
|
252
251
|
);
|
253
252
|
expect(parse("<<john one:val1 two: 'val \"2\"' three: \"val '3'\" four: \"\"\"val 4\"5'\"\"\" five: [[val 5]] >>")).toEqual(
|
254
253
|
|
255
|
-
[{"type":"transclude","start":0,"end":87,"attributes":{"$variable":{"name":"$variable","type":"string","value":"john"},"one":{"name":"one","type":"string","value":"val1","start":6,"end":15},"two":{"name":"two","type":"string","value":"val \"2\"","start":15,"end":30},"three":{"name":"three","type":"string","value":"val '3'","start":30,"end":47},"four":{"name":"four","type":"string","value":"val 4\"5'","start":47,"end":68},"five":{"name":"five","type":"string","value":"val 5","start":68,"end":84}},"orderedAttributes":[{"name":"$variable","type":"string","value":"john"},{"name":"one","type":"string","value":"val1","start":6,"end":15},{"name":"two","type":"string","value":"val \"2\"","start":15,"end":30},{"name":"three","type":"string","value":"val '3'","start":30,"end":47},{"name":"four","type":"string","value":"val 4\"5'","start":47,"end":68},{"name":"five","type":"string","value":"val 5","start":68,"end":84}],"isBlock":true}]
|
254
|
+
[{"type":"transclude","start":0,"end":87,"rule":"macrocallblock","attributes":{"$variable":{"name":"$variable","type":"string","value":"john"},"one":{"name":"one","type":"string","value":"val1","start":6,"end":15},"two":{"name":"two","type":"string","value":"val \"2\"","start":15,"end":30},"three":{"name":"three","type":"string","value":"val '3'","start":30,"end":47},"four":{"name":"four","type":"string","value":"val 4\"5'","start":47,"end":68},"five":{"name":"five","type":"string","value":"val 5","start":68,"end":84}},"orderedAttributes":[{"name":"$variable","type":"string","value":"john"},{"name":"one","type":"string","value":"val1","start":6,"end":15},{"name":"two","type":"string","value":"val \"2\"","start":15,"end":30},{"name":"three","type":"string","value":"val '3'","start":30,"end":47},{"name":"four","type":"string","value":"val 4\"5'","start":47,"end":68},{"name":"five","type":"string","value":"val 5","start":68,"end":84}],"isBlock":true}]
|
256
255
|
|
257
256
|
);
|
258
257
|
expect(parse("<< carrots\n\n<<john>>")).toEqual(
|
259
258
|
|
260
|
-
[ { type: 'element', tag: 'p', start : 0, end : 10, children: [ { type: 'text', text: '<< carrots', start : 0, end : 10 } ] }, { type: 'transclude', start: 12, attributes: { $variable: {name: "$variable", type:"string", value: "john"} }, orderedAttributes: [ {name: "$variable", type:"string", value: "john"} ], end: 20, isBlock: true } ]
|
259
|
+
[ { type: 'element', tag: 'p', start : 0, end : 10, children: [ { type: 'text', text: '<< carrots', start : 0, end : 10 } ] }, { type: 'transclude', start: 12, rule: 'macrocallblock', attributes: { $variable: {name: "$variable", type:"string", value: "john"} }, orderedAttributes: [ {name: "$variable", type:"string", value: "john"} ], end: 20, isBlock: true } ]
|
261
260
|
|
262
261
|
);
|
263
262
|
expect(parse("before\n\n<<john>>")).toEqual(
|
264
263
|
|
265
|
-
[ { type: 'element', tag: 'p', start : 0, end : 6, children: [ { type: 'text', text: 'before', start : 0, end : 6 } ] }, { type: 'transclude', start: 8, attributes: { $variable: {name: "$variable", type:"string", value: "john"} }, orderedAttributes: [ {name: "$variable", type:"string", value: "john"} ], end: 16, isBlock: true } ]
|
264
|
+
[ { type: 'element', tag: 'p', start : 0, end : 6, children: [ { type: 'text', text: 'before', start : 0, end : 6 } ] }, { type: 'transclude', start: 8, rule: 'macrocallblock', attributes: { $variable: {name: "$variable", type:"string", value: "john"} }, orderedAttributes: [ {name: "$variable", type:"string", value: "john"} ], end: 16, isBlock: true } ]
|
266
265
|
|
267
266
|
);
|
268
267
|
expect(parse("<<john>>\nafter")).toEqual(
|
269
268
|
|
270
|
-
[ { type: 'transclude', start: 0, attributes: { $variable: {name: "$variable", type:"string", value: "john"} }, orderedAttributes: [ {name: "$variable", type:"string", value: "john"} ], end: 8, isBlock: true }, { type: 'element', tag: 'p', start: 9, end: 14, children: [ { type: 'text', text: 'after', start: 9, end: 14 } ] } ]
|
269
|
+
[ { type: 'transclude', start: 0, rule: 'macrocallblock', attributes: { $variable: {name: "$variable", type:"string", value: "john"} }, orderedAttributes: [ {name: "$variable", type:"string", value: "john"} ], end: 8, isBlock: true }, { type: 'element', tag: 'p', start: 9, end: 14, children: [ { type: 'text', text: 'after', start: 9, end: 14 } ] } ]
|
271
270
|
|
272
271
|
);
|
273
272
|
expect(parse("<<multiline arg:\"\"\"\n\nwikitext\n\"\"\" >>")).toEqual(
|
274
273
|
|
275
|
-
[{"type":"transclude","start":0,"end":36,"attributes":{"$variable":{"name":"$variable","type":"string","value":"multiline"},"arg":{"name":"arg","type":"string","value":"\n\nwikitext\n","start":11,"end":33}},"orderedAttributes":[{"name":"$variable","type":"string","value":"multiline"},{"name":"arg","type":"string","value":"\n\nwikitext\n","start":11,"end":33}],"isBlock":true}]
|
274
|
+
[{"type":"transclude","start":0,"end":36,"rule":"macrocallblock","attributes":{"$variable":{"name":"$variable","type":"string","value":"multiline"},"arg":{"name":"arg","type":"string","value":"\n\nwikitext\n","start":11,"end":33}},"orderedAttributes":[{"name":"$variable","type":"string","value":"multiline"},{"name":"arg","type":"string","value":"\n\nwikitext\n","start":11,"end":33}],"isBlock":true}]
|
276
275
|
|
277
276
|
);
|
278
277
|
expect(parse("<<outie one:'my <<innie>>' >>")).toEqual(
|
279
278
|
|
280
|
-
[ { type: 'transclude', start: 0, attributes: { $variable: {name: "$variable", type:"string", value: "outie"}, one: {name: "one", type:"string", value: "my <<innie>>", start: 7, end: 26} }, orderedAttributes: [ {name: "$variable", type:"string", value: "outie"}, {name: "one", type:"string", value: "my <<innie>>", start: 7, end: 26} ], end: 29, isBlock: true } ]
|
279
|
+
[ { type: 'transclude', start: 0, rule: 'macrocallblock', attributes: { $variable: {name: "$variable", type:"string", value: "outie"}, one: {name: "one", type:"string", value: "my <<innie>>", start: 7, end: 26} }, orderedAttributes: [ {name: "$variable", type:"string", value: "outie"}, {name: "one", type:"string", value: "my <<innie>>", start: 7, end: 26} ], end: 29, isBlock: true } ]
|
281
280
|
|
282
281
|
);
|
283
282
|
});
|
@@ -285,23 +284,23 @@ describe("WikiText parser tests", function() {
|
|
285
284
|
it("should parse tricky macrocall parameters", function() {
|
286
285
|
expect(parse("<<john pa>am>>")).toEqual(
|
287
286
|
|
288
|
-
[{"type":"transclude","start":0,"end":14,"attributes":{"0":{"name":"0","type":"string","value":"pa>am","start":6,"end":12},"$variable":{"name":"$variable","type":"string","value":"john"}},"orderedAttributes":[{"name":"$variable","type":"string","value":"john"},{"name":"0","type":"string","value":"pa>am","start":6,"end":12}],"isBlock":true}]
|
287
|
+
[{"type":"transclude","start":0,"end":14,"attributes":{"0":{"name":"0","type":"string","value":"pa>am","start":6,"end":12},"$variable":{"name":"$variable","type":"string","value":"john"}},"orderedAttributes":[{"name":"$variable","type":"string","value":"john"},{"name":"0","type":"string","value":"pa>am","start":6,"end":12}],"isBlock":true,"rule":"macrocallblock"}]
|
289
288
|
|
290
289
|
);
|
291
290
|
expect(parse("<<john param> >>")).toEqual(
|
292
291
|
|
293
|
-
[{"type":"transclude","start":0,"end":16,"attributes":{"0":{"name":"0","type":"string","value":"param>","start":6,"end":13},"$variable":{"name":"$variable","type":"string","value":"john"}},"orderedAttributes":[{"name":"$variable","type":"string","value":"john"},{"name":"0","type":"string","value":"param>","start":6,"end":13}],"isBlock":true}]
|
292
|
+
[{"type":"transclude","start":0,"end":16,"attributes":{"0":{"name":"0","type":"string","value":"param>","start":6,"end":13},"$variable":{"name":"$variable","type":"string","value":"john"}},"orderedAttributes":[{"name":"$variable","type":"string","value":"john"},{"name":"0","type":"string","value":"param>","start":6,"end":13}],"isBlock":true,"rule":"macrocallblock"}]
|
294
293
|
|
295
294
|
);
|
296
295
|
expect(parse("<<john param>>>")).toEqual(
|
297
296
|
|
298
|
-
[{"type":"element","tag":"p","children":[{"type":"transclude","start":0,"end":14,"attributes":{"0":{"name":"0","type":"string","value":"param","start":6,"end":12},"$variable":{"name":"$variable","type":"string","value":"john"}},"orderedAttributes":[{"name":"$variable","type":"string","value":"john"},{"name":"0","type":"string","value":"param","start":6,"end":12}]},{"type":"text","text":">","start":14,"end":15}],"start":0,"end":15}]
|
297
|
+
[{"type":"element","tag":"p","children":[{"type":"transclude","start":0,"end":14,"rule":"macrocallinline","attributes":{"0":{"name":"0","type":"string","value":"param","start":6,"end":12},"$variable":{"name":"$variable","type":"string","value":"john"}},"orderedAttributes":[{"name":"$variable","type":"string","value":"john"},{"name":"0","type":"string","value":"param","start":6,"end":12}]},{"type":"text","text":">","start":14,"end":15}],"start":0,"end":15}]
|
299
298
|
|
300
299
|
);
|
301
300
|
// equals signs should be allowed
|
302
301
|
expect(parse("<<john var>=4 >>")).toEqual(
|
303
302
|
|
304
|
-
[{"type":"transclude","start":0,"end":16,"attributes":{"0":{"name":"0","type":"string","value":"var>=4","start":6,"end":13},"$variable":{"name":"$variable","type":"string","value":"john"}},"orderedAttributes":[{"name":"$variable","type":"string","value":"john"},{"name":"0","type":"string","value":"var>=4","start":6,"end":13}],"isBlock":true}]
|
303
|
+
[{"type":"transclude","start":0,"end":16,"attributes":{"0":{"name":"0","type":"string","value":"var>=4","start":6,"end":13},"$variable":{"name":"$variable","type":"string","value":"john"}},"orderedAttributes":[{"name":"$variable","type":"string","value":"john"},{"name":"0","type":"string","value":"var>=4","start":6,"end":13}],"isBlock":true,"rule":"macrocallblock"}]
|
305
304
|
|
306
305
|
);
|
307
306
|
|
@@ -310,7 +309,7 @@ describe("WikiText parser tests", function() {
|
|
310
309
|
it("should parse horizontal rules", function() {
|
311
310
|
expect(parse("---Not a rule\n\n----\n\nBetween\n\n---")).toEqual(
|
312
311
|
|
313
|
-
[ { type : 'element', tag : 'p', start : 0, end : 13, children : [ { type : 'entity', entity : '—' }, { type : 'text', text : 'Not a rule', start : 3, end : 13 } ] }, { type : 'element', tag : 'hr' }, { type : 'element', tag : 'p', start : 21, end : 28, children : [ { type : 'text', text : 'Between', start : 21, end : 28 } ] }, { type : 'element', tag : 'hr' } ]
|
312
|
+
[ { type : 'element', tag : 'p', start : 0, end : 13, children : [ { type : 'entity', entity : '—', start: 0, end: 3, rule: 'dash' }, { type : 'text', text : 'Not a rule', start : 3, end : 13 } ] }, { type : 'element', tag : 'hr', start: 15, end: 20, rule: 'horizrule' }, { type : 'element', tag : 'p', start : 21, end : 28, children : [ { type : 'text', text : 'Between', start : 21, end : 28 } ] }, { type : 'element', tag : 'hr', start: 30, end: 33, rule: 'horizrule' } ]
|
314
313
|
|
315
314
|
);
|
316
315
|
|
@@ -319,7 +318,7 @@ describe("WikiText parser tests", function() {
|
|
319
318
|
it("should parse hard linebreak areas", function() {
|
320
319
|
expect(parse("\"\"\"Something\nin the\nway she moves\n\"\"\"\n\n")).toEqual(
|
321
320
|
|
322
|
-
[ { type : 'element', tag : 'p', children : [ { type : 'text', text : 'Something', start : 3, end : 12 }, { type : 'element', tag : 'br' }, { type : 'text', text : 'in the', start : 13, end : 19 }, { type : 'element', tag : 'br' }, { type : 'text', text : 'way she moves', start : 20, end : 33 }, { type : 'element', tag : 'br' } ], start : 0, end : 37 } ]
|
321
|
+
[ { type : 'element', tag : 'p', children : [ { type : 'text', text : 'Something', start : 3, end : 12, rule: 'hardlinebreaks' }, { type : 'element', tag : 'br', rule: 'hardlinebreaks', start: 12, end: 13 }, { type : 'text', text : 'in the', start : 13, end : 19, rule: 'hardlinebreaks' }, { type : 'element', tag : 'br', rule: 'hardlinebreaks', start: 19, end: 20 }, { type : 'text', text : 'way she moves', start : 20, end : 33, rule: 'hardlinebreaks' }, { type : 'element', tag : 'br', rule: 'hardlinebreaks', start: 33, end: 34 } ], start : 0, end : 37 } ]
|
323
322
|
|
324
323
|
);
|
325
324
|
|
@@ -0,0 +1,17 @@
|
|
1
|
+
created: 20230720112554020
|
2
|
+
modified: 20230720112827830
|
3
|
+
title: Asteroid
|
4
|
+
type: text/vnd.tiddlywiki
|
5
|
+
tags: [[Solar System]]
|
6
|
+
|
7
|
+
[img class=hero-image [Asteroid (253) Mathilde Image]]
|
8
|
+
|
9
|
+
An asteroid is a space rock. It is a small object in the [[Solar System]] that travels around the [[Sun]]. It is like a [[planet|Planet]] but smaller. They range from very small (smaller than a car) to 600 miles (1000 km) across. A few asteroids have asteroid moons.
|
10
|
+
|
11
|
+
The name "asteroid" means "like a star" in the ancient Greek language. Asteroids may look like small stars in the sky, but they really do move around the [[Sun]], while stars only seem to move because the [[Earth]] spins. Like [[planets|Planet]], asteroids do not make their own light. Because of this, some people think "asteroids" is not a good name, and think that the name "planetoid" ("like a planet") would be a better name.
|
12
|
+
|
13
|
+
Giuseppe Piazzi found the first asteroid, in 1801. He called it Ceres, and it is the biggest object in the asteroid belt. Others, like Juno, Pallas, and Vesta were found later. In the 1850s so many had been found, that they were numbered by a Minor planet designation starting with 1 Ceres. Today, astronomers using computerized telescopes find thousands of asteroids every month. Asteroid impact prediction is one of the purposes.
|
14
|
+
|
15
|
+
Asteroids are the leftover rock and other material from the formation of the [[Solar System]]. These rocks were too small to come together to make a [[planet|Planet]]. Some are made of carbon or metal. Depending on what's on the surface, they are classified into various asteroid spectral types including Type M (metal), Type S (stone), and Type C (carbon).
|
16
|
+
|
17
|
+
Most asteroids in our [[Solar System]] are in the asteroid belt between [[Mars]] and [[Jupiter]]. Many are not in the main asteroid belt. The ones that come close to [[Earth]] are called Near-Earth asteroids. Many scientists think asteroids striking the [[Earth]] killed off all the dinosaurs and caused some of the other extinction events.
|
Binary file
|
@@ -0,0 +1,15 @@
|
|
1
|
+
created: 20230720113501352
|
2
|
+
modified: 20230720113633994
|
3
|
+
title: Comet
|
4
|
+
type: text/vnd.tiddlywiki
|
5
|
+
tags: [[Solar System]]
|
6
|
+
|
7
|
+
[img class=hero-image [Comet Image]]
|
8
|
+
|
9
|
+
A comet is a ball of mostly ice that moves around in outer space. Comets are often described as "dirty snowballs". They are very different from [[asteroids|Asteroid]]. The orbital inclinations of comets are usually high and not near the ecliptic where most [[solar system|Solar System]] objects are found. Most of them are long-period comets and come from the [[Kuiper belt]]. That is very far away from the [[Sun]], but some of them also come near enough to [[Earth]] for us to see at night.
|
10
|
+
|
11
|
+
They have long "tails", because the [[Sun]] melts the ice. A comet's tail does not trail behind it, but points directly away from the [[Sun]], because it is blown by the solar wind. The hard centre of the comet is the nucleus. It is one of the blackest things (lowest albedo) in the [[solar system|Solar System]]. When light shone on the nucleus of Halley's Comet, the comet reflected only 4% of the light back to us.
|
12
|
+
|
13
|
+
Periodic comets visit again and again. Non-periodic or single-apparition comets visit only once.
|
14
|
+
|
15
|
+
Comets sometimes break up, as Comet Biela did in the 19th century. Comet Shoemaker-Levy 9 broke up, and the pieces hit [[Jupiter]] in 1994. Some comets orbit (go around) together in groups. Astronomers think these comets are broken pieces that used to be one object.
|
Binary file
|
Binary file
|
@@ -0,0 +1,10 @@
|
|
1
|
+
created: 20230720105302348
|
2
|
+
modified: 20230720105451528
|
3
|
+
title: Earth's Moon
|
4
|
+
type: text/vnd.tiddlywiki
|
5
|
+
|
6
|
+
[img class=hero-image [Earth's Moon Image]]
|
7
|
+
|
8
|
+
The Moon is [[Earth]]'s only natural satellite. We usually see it in the night sky and also during the day. Some other planets also have moons or natural satellites.
|
9
|
+
|
10
|
+
Our moon is about one-fourth of the width of the [[Earth]]. Because it is far away it looks small, about half a degree wide. The gravity on the moon is one-sixth of the [[Earth]]'s gravity. It means that something will be one-sixth as heavy on the Moon than on [[Earth]]. The Moon is a rocky and dusty place. It moves slowly away from the [[Earth]] at a rate of 3.8 cm per year, due to the effect of tidal dissipation.
|
@@ -0,0 +1,21 @@
|
|
1
|
+
created: 20230720102439731
|
2
|
+
modified: 20230720105223869
|
3
|
+
title: Earth
|
4
|
+
type: text/vnd.tiddlywiki
|
5
|
+
tags: Planet [[Rocky]]
|
6
|
+
|
7
|
+
[img class=hero-image [Earth Image]]
|
8
|
+
|
9
|
+
Earth is the third planet from the [[Sun]] in the [[Solar System]]. It is the only planet known to have life on it. The Earth formed about 4.5 billion years ago. It is one of four rocky planets on the inner side of the [[Solar System]]. The other three are [[Mercury]], [[Venus]], and [[Mars]].
|
10
|
+
|
11
|
+
The large mass of the [[Sun]] keeps the Earth in orbit through the force of gravity. Earth also turns around in space, so that different parts face the Sun at different times. Earth goes around the [[Sun]] once (one year) for every 3651⁄4 times it turns around (one day).
|
12
|
+
|
13
|
+
Earth is the only planet in the [[Solar System]] that has a large amount of liquid water on its surface. About 74% of the surface of Earth is covered by liquid or frozen water. Because of this, people sometimes call it the blue planet.
|
14
|
+
|
15
|
+
Because of its water, Earth is home to millions of species of plants and animals which need water to survive. The things that live on Earth have changed its surface greatly. For example, early cyanobacteria changed the air and gave it oxygen. The living part of Earth's surface is called the "biosphere".
|
16
|
+
|
17
|
+
Earth is one of the eight planets in the [[Solar System]]. There are also thousands of small bodies which move around the [[Sun]]. The [[Solar System]] is moving through the Orion Arm of the [[Milky Way]] galaxy, and will be for about the next 10,000 years.
|
18
|
+
|
19
|
+
Earth is about 150,000,000 kilometres or 93,000,000 miles away from the [[Sun]] (this distance is called an "Astronomical Unit"). It moves on its orbit at an average speed of about 30 km/s (19 mi/s). Earth turns all the way around about 3651⁄4 times in the time it takes for Earth to go all the way around the [[Sun]]. To make up this extra bit of a day every year, an additional day is used every four years. This is named a "leap year".
|
20
|
+
|
21
|
+
The [[Moon|Earth's Moon]] goes around Earth at an average distance of 400,000 kilometres or 250,000 miles. It is locked to Earth, so that it always has the same half facing Earth; the other half is called the "dark side of the moon". It takes about 271⁄3 days for the [[Moon|Earth's Moon]] to go all the way around Earth, but because Earth is moving around the [[Sun]] at the same time, it takes about 291⁄2 days for the [[Moon|Earth's Moon]] to go from dark to bright to dark again. This is where the word "month" came from, even though most months now have 30 or 31 days.
|
Binary file
|
@@ -0,0 +1,15 @@
|
|
1
|
+
created: 20230720103949854
|
2
|
+
modified: 20230720104126047
|
3
|
+
title: Jupiter
|
4
|
+
type: text/vnd.tiddlywiki
|
5
|
+
tags: Planet [[Gas Giant]]
|
6
|
+
|
7
|
+
[img class=hero-image [Jupiter Image]]
|
8
|
+
|
9
|
+
Jupiter is the largest planet in the [[Solar System]]. It is the fifth planet from the [[Sun]]. Jupiter is a gas giant because it is so large, and made mostly of gas. The other gas giants in the Solar System are [[Saturn]], [[Uranus]], and [[Neptune]].
|
10
|
+
|
11
|
+
Jupiter's mass is about 318 times the mass of [[Earth]]. This is more than twice the mass of all the other planets in the [[Solar System]] put together.
|
12
|
+
|
13
|
+
Jupiter can be seen even without using a telescope. It is the third brightest object in the night sky. Only the [[Earth's Moon]] and [[Venus]] are brighter. The ancient Romans named the planet after their King of the Gods, Jupiter (Latin: Iuppiter).
|
14
|
+
|
15
|
+
Jupiter has 95 known moons. About 75 of them are very small—less than five kilometres wide. The four largest moons of Jupiter are Io, Europa, Ganymede, and Callisto. They are called the Galilean moons because Galileo Galilei discovered them. Ganymede is the largest moon in the Solar System. Its diameter is larger than that of the planet [[Mercury]].
|