tiddlywiki 5.3.0 → 5.3.2
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/.github/workflows/ci.yml +9 -2
- package/bin/build-site.sh +25 -5
- package/bin/ci-test.sh +16 -0
- package/boot/boot.js +18 -7
- package/core/images/new-journal-button.tid +1 -3
- package/core/language/en-GB/Exporters.multids +1 -1
- package/core/language/en-GB/Help/commands.tid +1 -1
- package/core/language/en-GB/Help/savewikifolder.tid +2 -2
- package/core/language/en-GB/Help/server.tid +1 -1
- package/core/language/en-GB/Types/image_svg_xml.tid +1 -1
- package/core/language/en-GB/Types/image_x-icon.tid +1 -1
- package/core/modules/commands/savetiddlers.js +1 -1
- package/core/modules/editor/engines/framed.js +1 -1
- package/core/modules/editor/engines/simple.js +1 -1
- package/core/modules/filters/all.js +5 -5
- package/core/modules/filters/encodings.js +6 -2
- package/core/modules/filters/json-ops.js +95 -1
- package/core/modules/filters/listops.js +1 -0
- package/core/modules/parsers/textparser.js +5 -4
- package/core/modules/parsers/wikiparser/rules/conditional.js +120 -0
- package/core/modules/parsers/wikiparser/rules/fnprocdef.js +2 -2
- package/core/modules/parsers/wikiparser/rules/parameters.js +1 -1
- package/core/modules/parsers/wikiparser/wikiparser.js +31 -8
- package/core/modules/savers/github.js +1 -1
- package/core/modules/startup/rootwidget.js +1 -0
- package/core/modules/startup/startup.js +5 -0
- package/core/modules/startup/windows.js +2 -1
- package/core/modules/syncer.js +160 -122
- package/core/modules/utils/dom/dom.js +3 -3
- package/core/modules/utils/dom/dragndrop.js +4 -2
- package/core/modules/utils/dom/http.js +19 -3
- package/core/modules/utils/fakedom.js +5 -1
- package/core/modules/utils/utils.js +27 -4
- package/core/modules/widgets/browse.js +10 -0
- package/core/modules/widgets/button.js +15 -3
- package/core/modules/widgets/checkbox.js +14 -1
- package/core/modules/widgets/draggable.js +16 -5
- package/core/modules/widgets/droppable.js +14 -2
- package/core/modules/widgets/image.js +19 -14
- package/core/modules/widgets/importvariables.js +1 -1
- package/core/modules/widgets/link.js +12 -2
- package/core/modules/widgets/list.js +176 -19
- package/core/modules/widgets/radio.js +4 -0
- package/core/modules/widgets/range.js +4 -0
- package/core/modules/widgets/scrollable.js +66 -1
- package/core/modules/widgets/select.js +35 -23
- package/core/modules/widgets/transclude.js +88 -45
- package/core/modules/widgets/widget.js +42 -47
- package/core/modules/wiki.js +3 -3
- package/core/templates/html-json-skinny-tiddler.tid +0 -1
- package/core/templates/html-json-tiddler.tid +1 -1
- package/core/templates/store.area.template.html.tid +4 -4
- package/core/ui/AlertTemplate.tid +1 -0
- package/core/ui/ControlPanel/Basics.tid +2 -2
- package/core/ui/EditTemplate/body/default.tid +12 -8
- package/core/ui/EditTemplate/fields.tid +2 -2
- package/core/ui/EditTemplate/type.tid +1 -1
- package/core/ui/EditTemplate.tid +1 -0
- package/core/ui/EditorToolbar/preview.tid +6 -0
- package/core/ui/ImportPreviews/Text.tid +1 -0
- package/core/ui/PageStylesheet.tid +1 -0
- package/core/ui/PageTemplate.tid +2 -1
- package/core/ui/RootTemplate.tid +1 -0
- package/core/ui/StoryTiddlerTemplate.tid +1 -0
- package/core/ui/ViewTemplate/body/default.tid +1 -0
- package/core/ui/ViewTemplate/subtitle.tid +2 -5
- package/core/ui/ViewTemplate.tid +1 -0
- package/core/wiki/config/OfficialPluginLibrary.tid +1 -1
- package/core/wiki/config/ViewTemplateBodyFilters.multids +2 -1
- package/core/wiki/macros/colour-picker.tid +6 -6
- package/core/wiki/macros/image-picker.tid +5 -5
- package/core/wiki/macros/list.tid +95 -78
- package/core/wiki/macros/tabs.tid +9 -1
- package/core/wiki/macros/tag-picker.tid +2 -2
- package/core/wiki/macros/tag.tid +2 -1
- package/core/wiki/macros/toc.tid +3 -3
- package/core/wiki/tags/ViewTemplateBodyFilter.tid +1 -2
- package/editions/de-AT/tiddlers/HelloThere.tid +2 -2
- package/editions/de-AT/tiddlers/community/Fur_Entwickler.tid +1 -1
- package/editions/de-AT/tiddlers/external/tiddlywiki.files +1 -1
- package/editions/de-AT-server/tiddlers/system/favicon.png +0 -0
- package/editions/{es-ES-server/tiddlers/system/favicon.ico.meta → de-AT-server/tiddlers/system/favicon.png.meta} +1 -1
- package/editions/dev/tiddlers/images/favicon.png +0 -0
- package/editions/{de-AT-server/tiddlers/system/favicon.ico.meta → dev/tiddlers/images/favicon.png.meta} +1 -1
- package/editions/dev/tiddlers/new/HookMechanism.tid +28 -3
- package/editions/empty/tiddlywiki.info +5 -2
- package/editions/es-ES/tiddlers/Forums.tid +4 -5
- package/editions/es-ES/tiddlers/HelloThere.tid +2 -2
- package/editions/es-ES/tiddlers/Typography.tid +1 -1
- package/editions/es-ES/tiddlers/images/favicon.png +0 -0
- package/editions/{dev/tiddlers/images/favicon.ico.meta → es-ES/tiddlers/images/favicon.png.meta} +1 -1
- package/editions/es-ES/tiddlers/images/green_favicon.png +0 -0
- package/editions/es-ES/tiddlers/images/{green_favicon.ico.meta → green_favicon.png.meta} +1 -1
- package/editions/es-ES-server/tiddlers/system/favicon.png +0 -0
- package/editions/{es-ES/tiddlers/images/favicon.ico.meta → es-ES-server/tiddlers/system/favicon.png.meta} +1 -1
- package/editions/fr-FR/tiddlers/images/favicon.png +0 -0
- package/editions/fr-FR/tiddlers/images/favicon.png.meta +2 -0
- package/editions/fr-FR/tiddlers/images/green_favicon.png +0 -0
- package/editions/fr-FR/tiddlers/images/{green_favicon.ico.meta → green_favicon.png.meta} +1 -1
- package/editions/fr-FR-server/tiddlers/system/favicon.png +0 -0
- package/editions/fr-FR-server/tiddlers/system/favicon.png.meta +2 -0
- package/editions/highlightdemo/tiddlywiki.info +1 -1
- package/editions/ja-JP/tiddlers/images/favicon.png +0 -0
- package/editions/ja-JP/tiddlers/images/favicon.png.meta +2 -0
- package/editions/ja-JP/tiddlers/images/green_favicon.png +0 -0
- package/editions/ja-JP/tiddlers/images/{green_favicon.ico.meta → green_favicon.png.meta} +1 -1
- package/editions/katexdemo/tiddlywiki.info +1 -1
- package/editions/ko-KR/tiddlers/images/favicon.png +0 -0
- package/editions/ko-KR/tiddlers/images/favicon.png.meta +2 -0
- package/editions/ko-KR/tiddlers/images/green_favicon.png +0 -0
- package/editions/ko-KR/tiddlers/images/{green_favicon.ico.meta → green_favicon.png.meta} +1 -1
- package/editions/ko-KR-server/tiddlers/system/favicon.png +0 -0
- package/editions/ko-KR-server/tiddlers/system/favicon.png.meta +2 -0
- package/editions/pluginlibrary/tiddlywiki.info +2 -2
- package/editions/prerelease/tiddlers/{Release 5.3.1.tid → Release 5.3.3.tid } +23 -21
- package/editions/prerelease/tiddlers/system/PrereleaseLocalPluginLibrary.tid +1 -1
- package/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid +1 -1
- package/editions/prerelease/tiddlers/system/TiddlyWiki Pre-release.tid +1 -1
- package/editions/prerelease/tiddlers/system/favicon.png +0 -0
- package/editions/prerelease/tiddlers/system/favicon.png.meta +2 -0
- package/editions/prerelease/tiddlers/system/temp-my-scroll-position.tid +3 -0
- package/editions/resumebuilder/tiddlywiki.info +1 -1
- package/editions/server/tiddlywiki.info +1 -1
- package/editions/server-external-js/tiddlywiki.info +1 -1
- package/editions/test/playwright.spec.js +25 -0
- package/editions/test/tiddlers/tests/data/conditionals/Basic.tid +26 -0
- package/editions/test/tiddlers/tests/data/conditionals/BlockMode.tid +37 -0
- package/editions/test/tiddlers/tests/data/conditionals/Else.tid +26 -0
- package/editions/test/tiddlers/tests/data/conditionals/Elseif.tid +32 -0
- package/editions/test/tiddlers/tests/data/conditionals/MissingEndIf.tid +26 -0
- package/editions/test/tiddlers/tests/data/conditionals/MultipleResults.tid +12 -0
- package/editions/test/tiddlers/tests/data/conditionals/Nested.tid +38 -0
- package/editions/test/tiddlers/tests/data/conditionals/NestedElseif.tid +60 -0
- package/editions/test/tiddlers/tests/data/functions/IndentedFunctions.tid +24 -0
- package/editions/test/tiddlers/tests/data/functions/WikifiedFunctions.tid +1 -1
- package/editions/test/tiddlers/tests/data/importvariables/WithSetWidgets.tid +23 -0
- package/editions/test/tiddlers/tests/data/importvariables/WithSetWidgets2.tid +22 -0
- package/editions/test/tiddlers/tests/data/importvariables/WithSetWidgetsAndMacros.tid +29 -0
- package/editions/test/tiddlers/tests/data/list-widget/WithExplicitTemplates.tid +29 -0
- package/editions/test/tiddlers/tests/data/list-widget/WithExplicitTemplatesInBlockMode.tid +32 -0
- package/editions/test/tiddlers/tests/data/list-widget/WithExplicitTemplatesOverriddenByAttributes.tid +33 -0
- package/editions/test/tiddlers/tests/data/list-widget/WithJoinTemplate.tid +30 -0
- package/editions/test/tiddlers/tests/data/list-widget/WithJoinTemplateInBlockMode.tid +32 -0
- package/editions/test/tiddlers/tests/data/list-widget/WithLimit.tid +25 -0
- package/editions/test/tiddlers/tests/data/list-widget/WithMissingTemplate.tid +26 -0
- package/editions/test/tiddlers/tests/data/procedures/Nested-indented.tid +20 -0
- package/editions/test/tiddlers/tests/data/procedures/TrailingNewlines.tid +22 -0
- package/editions/test/tiddlers/tests/data/transclude/CustomWidget-CodeblockOverride-TextParser.tid +20 -0
- package/editions/test/tiddlers/tests/data/transclude/CustomWidget-Simple-Indented.tid +33 -0
- package/editions/test/tiddlers/tests/data/transclude/Parameterised-Shortcut-ParametersIndented.tid +20 -0
- package/editions/test/tiddlers/tests/data/transclude/Procedures-Double-Underscore.tid +26 -0
- package/editions/test/tiddlers/tests/data/transclude/Variable-Refreshing.tid +27 -0
- package/editions/test/tiddlers/tests/data/transclude/Variable-Static.tid +15 -0
- package/editions/test/tiddlers/tests/data/widgets/DataAttributes/ButtonWidget-DataAttributes.tid +27 -0
- package/editions/test/tiddlers/tests/data/widgets/DataAttributes/CheckboxWidget-DataAttributes.tid +22 -0
- package/editions/test/tiddlers/tests/data/widgets/DataAttributes/DraggableWidget-DataAttributes.tid +27 -0
- package/editions/test/tiddlers/tests/data/widgets/DataAttributes/DroppableWidget-DataAttributes.tid +27 -0
- package/editions/test/tiddlers/tests/data/widgets/DataAttributes/LinkWidget-DataAttributes.tid +27 -0
- package/editions/test/tiddlers/tests/data/widgets/DataAttributes/OrderedStyleAttributes.tid +15 -0
- package/editions/test/tiddlers/tests/data/widgets/DataAttributes/SelectWidget-DataAttributes.tid +27 -0
- package/editions/test/tiddlers/tests/data/widgets/ElementWidgetEventAttributes.tid +15 -0
- package/editions/test/tiddlers/tests/data/widgets/ElementWidgetStyleAttributes.tid +15 -0
- package/editions/test/tiddlers/tests/data/widgets/SubstitutedAttributes.tid +5 -3
- package/editions/test/tiddlers/tests/test-filters.js +5 -4
- package/editions/test/tiddlers/tests/test-json-filters.js +40 -0
- package/editions/test/tiddlers/tests/test-utils.js +23 -0
- package/editions/test/tiddlers/tests/test-widget.js +62 -0
- package/editions/tw.org/tiddlers/$__favicon.ico.png +0 -0
- package/editions/tw.org/tiddlywiki.info +1 -1
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/classic.tiddlywiki.com.png +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/{classic.tiddlywiki.com.ico.meta → classic.tiddlywiki.com.png.meta} +1 -1
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/links.tiddlywiki.org.png +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/{links.tiddlywiki.org.ico.meta → links.tiddlywiki.org.png.meta} +1 -1
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.dev.png +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/{tiddlywiki.com.dev.ico.meta → tiddlywiki.com.dev.png.meta} +1 -1
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.png +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/{tiddlywiki.com.ico.meta → tiddlywiki.com.png.meta} +1 -1
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.prerelease.png +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/{tiddlywiki.com.prerelease.ico.meta → tiddlywiki.com.prerelease.png.meta} +1 -1
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.upgrade.png +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/{tiddlywiki.com.upgrade.ico.meta → tiddlywiki.com.upgrade.png.meta} +1 -1
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.org.png +0 -0
- package/editions/tw5.com/tiddlers/about/Archive.tid +82 -0
- package/editions/tw5.com/tiddlers/community/Chinese Community.tid +20 -0
- package/editions/tw5.com/tiddlers/community/editions/Tidme by oflg.tid +16 -0
- package/editions/tw5.com/tiddlers/community/plugins/FSRS4TW by oflg.tid +10 -0
- package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki Posts.tid +3 -3
- package/editions/tw5.com/tiddlers/community/resources/_Timimi_ Extension and executable by Riz.tid +3 -1
- package/editions/tw5.com/tiddlers/community/tutorials/GitHub Saver Tutorial by Mohammad.tid +5 -5
- package/editions/tw5.com/tiddlers/concepts/Macros.tid +7 -3
- package/editions/tw5.com/tiddlers/concepts/Title List.tid +5 -1
- package/editions/tw5.com/tiddlers/definitions/Git.tid +9 -0
- package/editions/tw5.com/tiddlers/definitions/GitHub.tid +6 -4
- package/editions/tw5.com/tiddlers/definitions/GitLab.tid +13 -0
- package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/Fourth.tid +2 -0
- package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondThreeThree.tid +11 -1
- package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/Third.tid +2 -0
- package/editions/tw5.com/tiddlers/filters/decodebase64 Operator.tid +6 -1
- package/editions/tw5.com/tiddlers/filters/encodebase64 Operator.tid +6 -1
- package/editions/tw5.com/tiddlers/filters/examples/jsonset.tid +59 -0
- package/editions/tw5.com/tiddlers/filters/examples/jsonstringify Operator (Examples).tid +7 -5
- package/editions/tw5.com/tiddlers/filters/examples/stringify_Operator_(Examples).tid +5 -3
- package/editions/tw5.com/tiddlers/filters/jsonextract.tid +8 -0
- package/editions/tw5.com/tiddlers/filters/jsonget.tid +8 -0
- package/editions/tw5.com/tiddlers/filters/jsonset.tid +64 -0
- package/editions/tw5.com/tiddlers/filters/jsonstringify Operator.tid +14 -15
- package/editions/tw5.com/tiddlers/filters/jsontype.tid +8 -0
- package/editions/tw5.com/tiddlers/filters/stringify_Operator.tid +12 -15
- package/editions/tw5.com/tiddlers/filters/substitute Operator.tid +3 -3
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Expression.tid +1 -1
- package/editions/tw5.com/tiddlers/hellothere/HelloThere.tid +6 -1
- package/editions/tw5.com/tiddlers/howtos/Constructing JSON tiddlers.tid +3 -3
- package/editions/tw5.com/tiddlers/images/Favicon template.svg +296 -0
- package/editions/tw5.com/tiddlers/images/Favicon template.svg.meta +3 -0
- package/editions/tw5.com/tiddlers/images/New Release Banner.png +0 -0
- package/editions/tw5.com/tiddlers/images/{New Release Banner.jpg.meta → New Release Banner.png.meta } +1 -1
- package/editions/tw5.com/tiddlers/images/favicon.png +0 -0
- package/editions/tw5.com/tiddlers/images/favicon.png.meta +2 -0
- package/editions/tw5.com/tiddlers/images/green_favicon.png +0 -0
- package/editions/tw5.com/tiddlers/images/green_favicon.png.meta +2 -0
- package/editions/tw5.com/tiddlers/macros/CoreMacros.tid +1 -1
- package/editions/tw5.com/tiddlers/macros/TagMacro.tid +3 -1
- package/editions/tw5.com/tiddlers/macros/examples/tag.tid +22 -1
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-close-window.tid +2 -2
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-download-file.tid +3 -3
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-edit-bitmap-operation.tid +3 -3
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-edit-text-operation.tid +2 -2
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-focus-selector.tid +2 -2
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-http-request Example Random Dog.tid +90 -0
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-http-request Example Zotero.tid +4 -3
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-http-request.tid +4 -2
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-modal.tid +2 -2
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-new-tiddler.tid +3 -3
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-notify.tid +3 -3
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-open-external-window.tid +4 -3
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-open-window.tid +12 -5
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-permalink.tid +1 -1
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-save-wiki.tid +3 -3
- package/editions/tw5.com/tiddlers/pragmas/Pragma_ _procedure.tid +2 -2
- package/editions/tw5.com/tiddlers/pragmas/Pragma_ _rules.tid +2 -2
- package/editions/tw5.com/tiddlers/pragmas/Pragma_ _whitespace.tid +7 -3
- package/editions/tw5.com/tiddlers/pragmas/Pragmas.tid +3 -1
- package/editions/tw5.com/tiddlers/procedures/Procedure Definitions.tid +4 -2
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.0.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.1.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.10.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.11.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.12.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.13.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.14.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.15.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.16.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.17.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.18.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.19.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.2.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.20.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.21.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.22.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.23.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.3.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.4.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.5.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.6.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.7.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.8.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.9.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.0.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.1.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.2.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.3.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.4.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.5.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.6.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.7.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.0.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.1.tid +87 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.2.tid +184 -0
- package/editions/tw5.com/tiddlers/releasenotes/Releases.tid +4 -2
- package/editions/tw5.com/tiddlers/releasenotes/TiddlyWiki Releases.tid +1 -1
- package/editions/tw5.com/tiddlers/{Saving on Browser with TiddlyStow.tid → saving/Saving on Browser with TiddlyStow.tid } +2 -2
- package/editions/tw5.com/tiddlers/saving/Saving to a Git service.tid +5 -1
- package/editions/tw5.com/tiddlers/saving/Saving via a Minimal Web Server.tid +8 -11
- package/editions/tw5.com/tiddlers/system/tw5.com-styles.tid +5 -0
- package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_Macro.tid +1 -1
- package/editions/tw5.com/tiddlers/variables/Behaviour of invoked variables depends on how the variable was declared.tid +52 -0
- package/editions/tw5.com/tiddlers/variables/Behaviour of variables invoked via filter expression function call.tid +10 -0
- package/editions/tw5.com/tiddlers/variables/Behaviour of variables invoked via filter operator parameter.tid +11 -0
- package/editions/tw5.com/tiddlers/variables/Behaviour of variables invoked via normal wikitext.tid +11 -0
- package/editions/tw5.com/tiddlers/variables/Behaviour of variables invoked via widget attributes.tid +11 -0
- package/editions/tw5.com/tiddlers/variables/Variable Usage.tid +5 -49
- package/editions/tw5.com/tiddlers/widgets/ActionListopsWidget.tid +24 -2
- package/editions/tw5.com/tiddlers/widgets/ActionPopupWidget.tid +2 -2
- package/editions/tw5.com/tiddlers/widgets/BrowseWidget.tid +3 -1
- package/editions/tw5.com/tiddlers/widgets/ButtonWidget.tid +3 -1
- package/editions/tw5.com/tiddlers/widgets/CheckboxWidget.tid +3 -1
- package/editions/tw5.com/tiddlers/widgets/Custom Widgets.tid +3 -1
- package/editions/tw5.com/tiddlers/widgets/DraggableWidget.tid +3 -2
- package/editions/tw5.com/tiddlers/widgets/DroppableWidget.tid +3 -1
- package/editions/tw5.com/tiddlers/widgets/GenesisWidget.tid +1 -1
- package/editions/tw5.com/tiddlers/widgets/ImageWidget.tid +2 -1
- package/editions/tw5.com/tiddlers/widgets/LinkWidget.tid +3 -1
- package/editions/tw5.com/tiddlers/widgets/ListWidget.tid +27 -2
- package/editions/tw5.com/tiddlers/widgets/RadioWidget.tid +3 -1
- package/editions/tw5.com/tiddlers/widgets/RangeWidget.tid +3 -1
- package/editions/tw5.com/tiddlers/widgets/ScrollableWidget.tid +27 -2
- package/editions/tw5.com/tiddlers/widgets/SelectWidget.tid +4 -1
- package/editions/tw5.com/tiddlers/widgets/SetWidget.tid +17 -1
- package/editions/tw5.com/tiddlers/widgets/TranscludeWidget.tid +2 -2
- package/editions/tw5.com/tiddlers/widgets/examples/ActionListopsWidget (Examples).tid +12 -1
- package/editions/tw5.com/tiddlers/wikitext/Anchor Links using HTML.tid +1 -1
- package/editions/tw5.com/tiddlers/wikitext/Conditional Shortcut Syntax.tid +62 -0
- package/editions/tw5.com/tiddlers/wikitext/Styles and Classes in WikiText.tid +52 -19
- package/editions/tw5.com/tiddlers/wikitext/Transclusion and Substitution.tid +3 -3
- package/editions/tw5.com/tiddlers/wikitext/Variable Attribute Values.tid +5 -2
- package/editions/tw5.com/tiddlers/wikitext/Widget Attributes.tid +8 -3
- package/editions/tw5.com/tiddlers/wikitext/Widgets in WikiText.tid +1 -0
- package/editions/tw5.com/tiddlywiki.info +9 -3
- package/editions/tw5.com-server/tiddlers/system/tiddlywiki.com.server.png +0 -0
- package/editions/tw5.com-server/tiddlers/system/tiddlywiki.com.server.png.meta +2 -0
- package/editions/zh-Hans/tiddlers/images/favicon.png +0 -0
- package/editions/zh-Hans/tiddlers/images/favicon.png.meta +2 -0
- package/editions/zh-Hans/tiddlers/images/green_favicon.png +0 -0
- package/editions/zh-Hans/tiddlers/images/green_favicon.png.meta +2 -0
- package/editions/zh-Hant/tiddlers/images/favicon.png +0 -0
- package/editions/zh-Hant/tiddlers/images/favicon.png.meta +2 -0
- package/editions/zh-Hant/tiddlers/images/green_favicon.png +0 -0
- package/editions/zh-Hant/tiddlers/images/green_favicon.png.meta +2 -0
- package/languages/de-DE/Exporters.multids +1 -1
- package/languages/de-DE/Help/commands.tid +2 -2
- package/languages/de-DE/Help/server.tid +1 -1
- package/languages/de-DE/Types/image_x-icon.tid +1 -1
- package/languages/es-ES/Buttons.multids +2 -0
- package/languages/es-ES/Fields.multids +4 -0
- package/languages/es-ES/Help/listen.tid +1 -1
- package/languages/es-ES/Help/savewikifolder.tid +16 -1
- package/languages/es-ES/Help/server.tid +1 -1
- package/languages/es-ES/Misc.multids +3 -0
- package/languages/es-ES/SiteTitle.tid +1 -1
- package/languages/pl-PL/Exporters.multids +1 -1
- package/languages/pl-PL/Help/commands.tid +1 -1
- package/languages/pl-PL/Help/savewikifolder.tid +19 -4
- package/languages/pl-PL/Help/server.tid +1 -1
- package/languages/zh-Hans/Exporters.multids +1 -1
- package/languages/zh-Hans/Help/commands.tid +1 -1
- package/languages/zh-Hans/Help/savewikifolder.tid +5 -1
- package/languages/zh-Hans/Help/server.tid +1 -1
- package/languages/zh-Hans/Types/image_svg_xml.tid +1 -1
- package/languages/zh-Hans/Types/image_x-icon.tid +1 -1
- package/languages/zh-Hant/Exporters.multids +1 -1
- package/languages/zh-Hant/Help/commands.tid +1 -1
- package/languages/zh-Hant/Help/savewikifolder.tid +5 -1
- package/languages/zh-Hant/Help/server.tid +1 -1
- package/languages/zh-Hant/Types/image_svg_xml.tid +1 -1
- package/languages/zh-Hant/Types/image_x-icon.tid +1 -1
- package/licenses/cla-individual.md +20 -0
- package/package.json +4 -1
- package/playwright.config.js +46 -0
- package/plugins/tiddlywiki/codemirror/styles.tid +5 -0
- package/plugins/tiddlywiki/comments/styles.tid +8 -8
- package/plugins/tiddlywiki/dynannotate/docs/readme.tid +1 -0
- package/plugins/tiddlywiki/dynannotate/modules/dynannotate.js +28 -27
- package/plugins/tiddlywiki/evernote/modules/enex-deserializer.js +82 -23
- package/plugins/tiddlywiki/evernote/readme.tid +1 -0
- package/plugins/tiddlywiki/evernote/samples/sample-enex-with-image.xml.enex +2 -2
- package/plugins/tiddlywiki/googleanalytics/googleanalytics.js +1 -1
- package/plugins/tiddlywiki/googleanalytics/settings.tid +1 -3
- package/plugins/tiddlywiki/jasmine/jasmine-plugin.js +9 -2
- package/plugins/tiddlywiki/jasmine/run-wiki-based-tests.js +1 -1
- package/plugins/tiddlywiki/jasmine/startup.js +2 -1
- package/plugins/tiddlywiki/qrcode/barcodereader.js +90 -0
- package/plugins/tiddlywiki/qrcode/docs/barcodereader.tid +44 -0
- package/plugins/tiddlywiki/qrcode/{doc/usage.tid → docs/makeqr.tid} +4 -4
- package/plugins/tiddlywiki/qrcode/docs.tid +3 -0
- package/plugins/tiddlywiki/qrcode/{MakeContactQR.tid → examples/make/MakeContactQR.tid} +1 -1
- package/plugins/tiddlywiki/qrcode/{MakeGenericQR.tid → examples/make/MakeGenericQR.tid} +1 -1
- package/plugins/tiddlywiki/qrcode/{MakeWifiQR.tid → examples/make/MakeWifiQR.tid} +1 -1
- package/plugins/tiddlywiki/qrcode/examples/make/make.tid +5 -0
- package/plugins/tiddlywiki/qrcode/examples/read/BarCodeReader.tid +17 -0
- package/plugins/tiddlywiki/qrcode/examples/read/read.tid +5 -0
- package/plugins/tiddlywiki/qrcode/examples.tid +3 -0
- package/plugins/tiddlywiki/qrcode/files/html5-qrcode/LICENSE +201 -0
- package/plugins/tiddlywiki/qrcode/files/html5-qrcode/README.md +398 -0
- package/plugins/tiddlywiki/qrcode/files/html5-qrcode/html5-qrcode.min.js +1 -0
- package/plugins/tiddlywiki/qrcode/files/tiddlywiki.files +20 -4
- package/plugins/tiddlywiki/qrcode/makeqr.js +1 -1
- package/plugins/tiddlywiki/qrcode/plugin.info +1 -1
- package/plugins/tiddlywiki/qrcode/readme.tid +15 -0
- package/plugins/tiddlywiki/tiddlyweb/html-json-skinny-tiddler.tid +0 -1
- package/plugins/tiddlywiki/tiddlyweb/html-json-tiddler.tid +1 -2
- package/plugins/tiddlywiki/upgrade/UpgradeWizard.tid +2 -2
- package/plugins/tiddlywiki/upgrade/favicon.png +0 -0
- package/plugins/tiddlywiki/upgrade/favicon.png.meta +2 -0
- package/readme.md +1 -1
- package/themes/tiddlywiki/vanilla/base.tid +45 -14
- package/themes/tiddlywiki/vanilla/settings.multids +1 -1
- package/editions/de-AT-server/tiddlers/system/favicon.ico +0 -0
- package/editions/dev/tiddlers/images/favicon.ico +0 -0
- package/editions/es-ES/tiddlers/images/favicon.ico +0 -0
- package/editions/es-ES/tiddlers/images/green_favicon.ico +0 -0
- package/editions/es-ES-server/tiddlers/system/favicon.ico +0 -0
- package/editions/fr-FR/tiddlers/images/favicon.ico +0 -0
- package/editions/fr-FR/tiddlers/images/favicon.ico.meta +0 -2
- package/editions/fr-FR/tiddlers/images/green_favicon.ico +0 -0
- package/editions/fr-FR-server/tiddlers/system/favicon.ico +0 -0
- package/editions/fr-FR-server/tiddlers/system/favicon.ico.meta +0 -2
- package/editions/ja-JP/tiddlers/images/favicon.ico +0 -0
- package/editions/ja-JP/tiddlers/images/favicon.ico.meta +0 -2
- package/editions/ja-JP/tiddlers/images/green_favicon.ico +0 -0
- package/editions/ko-KR/tiddlers/images/favicon.ico +0 -0
- package/editions/ko-KR/tiddlers/images/favicon.ico.meta +0 -2
- package/editions/ko-KR/tiddlers/images/green_favicon.ico +0 -0
- package/editions/ko-KR-server/tiddlers/system/favicon.ico +0 -0
- package/editions/ko-KR-server/tiddlers/system/favicon.ico.meta +0 -2
- package/editions/prerelease/tiddlers/system/favicon.ico +0 -0
- package/editions/prerelease/tiddlers/system/favicon.ico.meta +0 -2
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/classic.tiddlywiki.com.ico +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/links.tiddlywiki.org.ico +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.dev.ico +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.ico +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.prerelease.ico +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.upgrade.ico +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.org.ico +0 -0
- package/editions/tw5.com/tiddlers/community/editions/TiddlyMemo by oflg.tid +0 -16
- package/editions/tw5.com/tiddlers/community/tutorials/Install and run TiddlyWiki on a CentOS 6 VPS using Nginx.tid +0 -16
- package/editions/tw5.com/tiddlers/images/New Release Banner.jpg +0 -0
- package/editions/tw5.com/tiddlers/images/favicon.ico +0 -0
- package/editions/tw5.com/tiddlers/images/favicon.ico.meta +0 -2
- package/editions/tw5.com/tiddlers/images/green_favicon.ico +0 -0
- package/editions/tw5.com/tiddlers/images/green_favicon.ico.meta +0 -2
- package/editions/tw5.com-server/tiddlers/system/favicon.ico +0 -0
- package/editions/tw5.com-server/tiddlers/system/favicon.ico.meta +0 -2
- package/editions/zh-Hans/tiddlers/images/favicon.ico +0 -0
- package/editions/zh-Hans/tiddlers/images/favicon.ico.meta +0 -2
- package/editions/zh-Hans/tiddlers/images/green_favicon.ico +0 -0
- package/editions/zh-Hans/tiddlers/images/green_favicon.ico.meta +0 -2
- package/editions/zh-Hant/tiddlers/images/favicon.ico +0 -0
- package/editions/zh-Hant/tiddlers/images/favicon.ico.meta +0 -2
- package/editions/zh-Hant/tiddlers/images/green_favicon.ico +0 -0
- package/editions/zh-Hant/tiddlers/images/green_favicon.ico.meta +0 -2
- package/plugins/tiddlywiki/qrcode/doc/examples.tid +0 -3
- package/plugins/tiddlywiki/qrcode/doc/readme.tid +0 -13
- package/plugins/tiddlywiki/upgrade/favicon.ico +0 -0
- package/plugins/tiddlywiki/upgrade/favicon.ico.meta +0 -2
- /package/editions/tw5.com/tiddlers/_tw_shared/favicons/{tiddlywiki.org.ico.meta → tiddlywiki.org.png.meta} +0 -0
- /package/plugins/tiddlywiki/qrcode/files/{LICENSE → qrcode/LICENSE} +0 -0
- /package/plugins/tiddlywiki/qrcode/files/{README.md → qrcode/README.md} +0 -0
- /package/plugins/tiddlywiki/qrcode/files/{qrcode.js → qrcode/qrcode.js} +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
caption: tm-http-request
|
2
2
|
created: 20230429161453032
|
3
|
-
modified:
|
3
|
+
modified: 20230723215344887
|
4
4
|
tags: Messages
|
5
5
|
title: WidgetMessage: tm-http-request
|
6
6
|
type: text/vnd.tiddlywiki
|
@@ -11,13 +11,14 @@ It uses the following properties on the `event` object:
|
|
11
11
|
|
12
12
|
|!Name |!Description |
|
13
13
|
|param |Not used |
|
14
|
-
|
14
|
+
|//{any other params}// |Any other parameters are made available as variables within the context of the widget message. See below. |
|
15
15
|
|
16
16
|
The following parameters are used:
|
17
17
|
|
18
18
|
|!Name |!Description |
|
19
19
|
|method |HTTP method (eg "GET", "POST") |
|
20
20
|
|body |String data to be sent with the request |
|
21
|
+
|binary |<<.from-version "5.3.1">> Set to "yes" to cause the response body to be treated as binary data and returned in base64 format |
|
21
22
|
|query-* |Query string parameters with string values |
|
22
23
|
|header-* |Headers with string values |
|
23
24
|
|password-header-* |Headers with values taken from the password store |
|
@@ -49,3 +50,4 @@ Note that the state tiddler $:/state/http-requests contains a number representin
|
|
49
50
|
!! Examples
|
50
51
|
|
51
52
|
* [[Zotero's|https://www.zotero.org/]] API for retrieving reference items: [[WidgetMessage: tm-http-request Example - Zotero]]
|
53
|
+
* [[Random Dog's|https://random.dog/]] API for retrieving random pictures of dogs showing how to retrieve binary data: [[WidgetMessage: tm-http-request Example - Random Dog]]
|
@@ -1,13 +1,13 @@
|
|
1
1
|
caption: tm-modal
|
2
2
|
created: 20140811112133701
|
3
|
-
modified:
|
3
|
+
modified: 20230723215434712
|
4
4
|
tags: Messages
|
5
5
|
title: WidgetMessage: tm-modal
|
6
6
|
type: text/vnd.tiddlywiki
|
7
7
|
|
8
8
|
|!Name |!Description |
|
9
9
|
|param |Title of the tiddler to be displayed |
|
10
|
-
|
10
|
+
|//{any other params}// |Any other parameters are made available as variables within the context of the widget message. |
|
11
11
|
|rootwindow |<<.from-version 5.1.18>> ''yes'' or ''true'' will always display a modal in the wiki-root-window |
|
12
12
|
|
13
13
|
The modal message is usually generated with the ButtonWidget. The modal message is handled by the TiddlyWiki core.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
caption: tm-new-tiddler
|
2
2
|
created: 20140226194405353
|
3
|
-
modified:
|
3
|
+
modified: 20230723215831560
|
4
4
|
tags: Messages navigator-message
|
5
5
|
title: WidgetMessage: tm-new-tiddler
|
6
6
|
type: text/vnd.tiddlywiki
|
@@ -9,12 +9,12 @@ The new tiddler message creates a new draft tiddler and adds it to the current s
|
|
9
9
|
|
10
10
|
|!Name |!Description |
|
11
11
|
|param |The optional title of a tiddler to use as a template for the new tiddler |
|
12
|
-
|
12
|
+
|//{any other params}// |The names and values of additional tiddler fields. |
|
13
13
|
|navigateFromTitle |Title of the tiddler from which the navigation to the new tiddler was initiated |
|
14
14
|
|
15
15
|
The title for the draft tiddler is chosen according to these rules:
|
16
16
|
|
17
|
-
* If
|
17
|
+
* If additional parameters were used and a title field was specified, use that title
|
18
18
|
* If a template tiddler was used, use the title of the template tiddler, making it unique with a numeric suffix
|
19
19
|
* Otherwise, generate a new title based on the default new tiddler title with a numeric suffix to make it unique
|
20
20
|
|
@@ -1,14 +1,14 @@
|
|
1
|
+
caption: tm-notify
|
1
2
|
created: 20140811112304772
|
2
|
-
modified:
|
3
|
+
modified: 20230723220728382
|
3
4
|
tags: Messages
|
4
5
|
title: WidgetMessage: tm-notify
|
5
6
|
type: text/vnd.tiddlywiki
|
6
|
-
caption: tm-notify
|
7
7
|
|
8
8
|
The notify message briefly displays a specified tiddler as a small alert in the upper right corner of the page. It requires the following properties on the `event` object:
|
9
9
|
|
10
10
|
|!Name |!Description |
|
11
11
|
|param |Title of the tiddler to be displayed |
|
12
|
-
|
12
|
+
|//{any other params}// |Any other parameters are made available as variables to the notify message. |
|
13
13
|
|
14
14
|
The notify message is handled by the TiddlyWiki core.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
caption: tm-open-external-window
|
2
|
-
created:
|
3
|
-
modified:
|
2
|
+
created: 20170121182300000
|
3
|
+
modified: 20230723220850135
|
4
4
|
tags: Messages
|
5
5
|
title: WidgetMessage: tm-open-external-window
|
6
6
|
type: text/vnd.tiddlywiki
|
@@ -11,7 +11,8 @@ The `tm-open-external-window` message opens an external link eg: "https://tiddly
|
|
11
11
|
|
12
12
|
|!Name |!Description |
|
13
13
|
|param |URL of the tiddler to be opened in a new browser window, defaults to the [[TiddlyWiki help|https://tiddlywiki.com/#WidgetMessage%3A%20tm-open-external-window if empty]] |
|
14
|
-
|
14
|
+
|//{any other params}// |Any other parameters are made available as variables to the window. See below. |
|
15
|
+
|
15
16
|
|
16
17
|
''parmObject''
|
17
18
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
caption: tm-open-window
|
2
2
|
created: 20160424181447704
|
3
|
-
modified:
|
3
|
+
modified: 20230831201518773
|
4
4
|
tags: Messages
|
5
5
|
title: WidgetMessage: tm-open-window
|
6
6
|
type: text/vnd.tiddlywiki
|
@@ -20,10 +20,17 @@ The `tm-open-window` [[message|Messages]] opens a tiddler in a new //browser// w
|
|
20
20
|
|
21
21
|
The `tm-open-window` message is best generated with the ActionSendMessageWidget, which in turn is triggered by a widget such as the ButtonWidget. The message is handled by the core itself.
|
22
22
|
|
23
|
-
<<.tip """When used with the ActionSendMessageWidget, <<.param 'param'>> becomes <<.param '$param'
|
24
|
-
|
25
|
-
|
26
|
-
<<.tip """<<.from-version 5.2.2>>
|
23
|
+
<<.tip """When used with the ActionSendMessageWidget, <<.param 'param'>> becomes <<.param '$param'>>.<br>
|
24
|
+
Parameters <<.param template>>, <<.param windowTitle>>, <<.param width>>, <<.param height>>, <<.param left>> and <<.param top>> require the ActionSendMessageWidget. """>>
|
25
|
+
|
26
|
+
<<.tip """<<.from-version 5.2.2>>
|
27
|
+
To close a window opened with tm-open-window use [[WidgetMessage: tm-close-window]]<br>
|
28
|
+
To open a tiddler in more than one new window, use a unique value for <<.param windowID>>
|
29
|
+
""">>
|
30
|
+
|
31
|
+
<<.tip """<<.from-version 5.3.2>>
|
32
|
+
If the new window is hidden by other windows, clicking the "open" button again will bring it to the foreground and set focus to the new window. This behaviour should be consistent for all browsers now
|
33
|
+
""">>
|
27
34
|
|
28
35
|
<$macrocall $name='wikitext-example-without-html'
|
29
36
|
src="""
|
@@ -5,7 +5,7 @@ title: WidgetMessage: tm-permalink
|
|
5
5
|
type: text/vnd.tiddlywiki
|
6
6
|
caption: tm-permalink
|
7
7
|
|
8
|
-
The `tm-permalink` message changes the browser address bar to form a [[permalink|PermaLinks]] to a specified tiddler, defaulting to the current tiddler.
|
8
|
+
The `tm-permalink` message changes the browser address bar to form a [[permalink|PermaLinks]] to a specified tiddler, defaulting to the current tiddler. The resulting link will be copied to the clipboard.
|
9
9
|
|
10
10
|
The permalink message supports the following properties on the `event` object:
|
11
11
|
|
@@ -1,15 +1,15 @@
|
|
1
|
+
caption: tm-save-wiki
|
1
2
|
created: 20140811112325641
|
2
|
-
modified:
|
3
|
+
modified: 20230723220944427
|
3
4
|
tags: Messages
|
4
5
|
title: WidgetMessage: tm-save-wiki
|
5
6
|
type: text/vnd.tiddlywiki
|
6
|
-
caption: tm-save-wiki
|
7
7
|
|
8
8
|
The save wiki message causes the current saver module to perform a full save operation. The save operation can involve user interaction. It requires the following properties on the `event` object:
|
9
9
|
|
10
10
|
|!Name |!Description |
|
11
11
|
|param |Title of a tiddler to use as a template for rendering the wiki (defaults to `$:/core/save/all`) |
|
12
|
-
|
12
|
+
|//{any other params}// |Any other parameters are made available as variables to use for the rendering. |
|
13
13
|
|
14
14
|
The save wiki message is usually generated by the ButtonWidget.
|
15
15
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
created: 20221007132845007
|
2
|
-
modified:
|
2
|
+
modified: 20230724184009153
|
3
3
|
tags: Pragmas
|
4
4
|
title: Pragma: \procedure
|
5
5
|
type: text/vnd.tiddlywiki
|
@@ -19,7 +19,7 @@ Note that the `\end` marker can optionally specify the name of the procedure to
|
|
19
19
|
There is also a single line form for shorter procedures:
|
20
20
|
|
21
21
|
```
|
22
|
-
\
|
22
|
+
\procedure <procedure-name>(<param-name>[:<param-default-value>],<param-name>[:<param-default-value>]...) <single-line-definition-text>
|
23
23
|
```
|
24
24
|
|
25
25
|
The first line of the definition specifies the procedure name and any parameters. Each parameter has a name and, optionally, a default value that is used if no value is supplied on a particular call to the procedure. The lines that follow contain the text of the procedure text (i.e. the snippet represented by the procedure name), until `\end` appears on a line by itself:
|
@@ -1,5 +1,5 @@
|
|
1
1
|
created: 20220917112931273
|
2
|
-
modified:
|
2
|
+
modified: 20230724184044642
|
3
3
|
tags: Pragmas
|
4
4
|
title: Pragma: \rules
|
5
5
|
type: text/vnd.tiddlywiki
|
@@ -7,7 +7,7 @@ type: text/vnd.tiddlywiki
|
|
7
7
|
The ''\rules'' [[pragma|Pragmas]] adjusts the set of parser rules used to parse the remaining text.
|
8
8
|
|
9
9
|
```
|
10
|
-
\rules only|
|
10
|
+
\rules only|except <rule-list>
|
11
11
|
```
|
12
12
|
|
13
13
|
The list of available parser rules can be consulted in $:/ControlPanel -> Info -> Advanced -> Parsing.
|
@@ -1,13 +1,17 @@
|
|
1
1
|
created: 20220917113002350
|
2
|
-
modified:
|
2
|
+
modified: 20230921180332436
|
3
3
|
tags: Pragmas
|
4
4
|
title: Pragma: \whitespace
|
5
5
|
type: text/vnd.tiddlywiki
|
6
6
|
|
7
|
-
<<.from-version "5.1.15">> The ''\whitespace'' [[pragma|Pragmas]] determines how spaces and newlines are treated within wikitext.
|
7
|
+
<<.from-version "5.1.15">> The ''\whitespace'' [[pragma|Pragmas]] determines how spaces and newlines are treated within wikitext.
|
8
8
|
|
9
9
|
* ''notrim'' -- whitespace text is not subject to special processing (the default)
|
10
|
-
* ''trim'' -- whitespace text is
|
10
|
+
* ''trim'' -- whitespace text is ignored
|
11
|
+
|
12
|
+
Note that the processing only applies to the printable text, and not to other text, such as the values of attributes.
|
13
|
+
|
14
|
+
The whitespace setting only applies to the parsed content in which it appears. The setting is inherited by embedded [[Procedure Definitions]] and [[Custom Widgets]] definitions, but is not inherited by [[Macro definitions]].
|
11
15
|
|
12
16
|
```
|
13
17
|
\whitespace trim|notrim
|
@@ -1,5 +1,5 @@
|
|
1
1
|
created: 20220917112416666
|
2
|
-
modified:
|
2
|
+
modified: 20230721064409436
|
3
3
|
tags: Concepts [[WikiText Parser Modes]]
|
4
4
|
title: Pragmas
|
5
5
|
type: text/vnd.tiddlywiki
|
@@ -8,6 +8,8 @@ A <<.def pragma>> is a special component of WikiText that provides control over
|
|
8
8
|
|
9
9
|
Pragmas occupy lines that start with `\`. They can only appear at the start of the text of a tiddler, but blank lines and comments are allowed between them. If a pragma appears in the main body of the text, it is treated as if it was ordinary text.
|
10
10
|
|
11
|
+
<<.from-version "5.2.6">> Pragmas can have preceding optional whitespace characters.
|
12
|
+
|
11
13
|
The following pragmas are available:
|
12
14
|
|
13
15
|
<<list-links "[tag[Pragmas]]">>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
created: 20221007125701001
|
2
|
-
modified:
|
2
|
+
modified: 20230921180332436
|
3
3
|
tags: WikiText Procedures
|
4
4
|
title: Procedure Definitions
|
5
5
|
type: text/vnd.tiddlywiki
|
@@ -13,11 +13,13 @@ This tiddler describes the different ways in which [[Procedures|Procedures]] can
|
|
13
13
|
Procedures are created using the [[Pragma: \procedure]] at the start of a tiddler. The definitions are available in the rest of the tiddler that defines them, plus any tiddlers that it transcludes.
|
14
14
|
|
15
15
|
```
|
16
|
-
\
|
16
|
+
\procedure my-procedure(param)
|
17
17
|
This is the procedure text (param=<<param>>)
|
18
18
|
\end
|
19
19
|
```
|
20
20
|
|
21
|
+
Note that the [[Pragma: \whitespace]] setting is inherited from the parsing context in which the procedure definition occurs. That means that a tiddler containing multiple procedure definitions only needs a single whitespace pragma at the top of the tiddler, and the setting will be automatically inherited by the procedure definitions without needing the pragma to be repeated.
|
22
|
+
|
21
23
|
!! Procedure Definition with Set Widget
|
22
24
|
|
23
25
|
Procedures are implemented as a special kind of [[variable|Variables]] and so internally are actually defined with a <<.wlink SetWidget>> widget.
|
@@ -5,6 +5,7 @@ tags: ReleaseNotes
|
|
5
5
|
title: Release 5.1.0
|
6
6
|
type: text/vnd.tiddlywiki
|
7
7
|
released: 201409201500
|
8
|
+
description: First non-beta release
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.0.18-beta...v5.1.0]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ tags: ReleaseNotes
|
|
5
5
|
title: Release 5.1.10
|
6
6
|
type: text/vnd.tiddlywiki
|
7
7
|
released: 20160107231609312
|
8
|
+
description: Text slicer, fold/unfold, performance optimisations, translations, external text tiddlers
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.9...v5.1.10]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ tags: ReleaseNotes
|
|
5
5
|
title: Release 5.1.11
|
6
6
|
type: text/vnd.tiddlywiki
|
7
7
|
released: 20160130124109312
|
8
|
+
description: Bug fix release for v5.1.10
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.10...v5.1.11]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ tags: ReleaseNotes
|
|
5
5
|
title: Release 5.1.12
|
6
6
|
type: text/vnd.tiddlywiki
|
7
7
|
released: 20160713104714652
|
8
|
+
description: Editor toolbars, improved bitmap editor, Internals plugin, WikifyWidget
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.11...v5.1.12]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ released: 20160725084810809
|
|
5
5
|
tags: ReleaseNotes
|
6
6
|
title: Release 5.1.13
|
7
7
|
type: text/vnd.tiddlywiki
|
8
|
+
description: Bug fix release for v5.1.12
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.12...v5.1.13]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ released: 20170426160031661
|
|
5
5
|
tags: ReleaseNotes
|
6
6
|
title: Release 5.1.14
|
7
7
|
type: text/vnd.tiddlywiki
|
8
|
+
description: Drag and drop improvements, initial RTL support, plugins for XLSX import, QR Codes, ~BibTeX, Google Analytics, Twitter
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.13...v5.1.14]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ released: 20171113161124237
|
|
5
5
|
tags: ReleaseNotes
|
6
6
|
title: Release 5.1.15
|
7
7
|
type: text/vnd.tiddlywiki
|
8
|
+
description: Explorer tab, whitespace pragma, save and render commands
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.14...v5.1.15]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ released: 20180425155658451
|
|
5
5
|
tags: ReleaseNotes
|
6
6
|
title: Release 5.1.16
|
7
7
|
type: text/vnd.tiddlywiki
|
8
|
+
description: [[Dynaview Plugin]], import previews, DiffTextWidget, rotate left in bitmap editor, StartupActions
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.15...v5.1.16]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ released: 20180512104329616
|
|
5
5
|
tags: ReleaseNotes
|
6
6
|
title: Release 5.1.17
|
7
7
|
type: text/vnd.tiddlywiki
|
8
|
+
description: Minor bug fix release
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.16...v5.1.17]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ released: 20181206090053690
|
|
5
5
|
tags: ReleaseNotes
|
6
6
|
title: Release 5.1.18
|
7
7
|
type: text/vnd.tiddlywiki
|
8
|
+
description: Global keyboard shortcuts, HTTP server improvements, support for splash screens, `~` filter run prefix, external JS support
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.17...v5.1.18]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ released: 20181220163418974
|
|
5
5
|
tags: ReleaseNotes
|
6
6
|
title: Release 5.1.19
|
7
7
|
type: text/vnd.tiddlywiki
|
8
|
+
description: Bug fix release for v5.1.18
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.18...v5.1.19]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ released: 20190809141328809
|
|
5
5
|
tags: ReleaseNotes
|
6
6
|
title: Release 5.1.20
|
7
7
|
type: text/vnd.tiddlywiki
|
8
|
+
description: New conditional, mathematics and string operators, GitHub Saver, save wiki folder command, [[Innerwiki Plugin]]
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.19...v5.1.20]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ released: 20190910152313608
|
|
5
5
|
tags: ReleaseNotes
|
6
6
|
title: Release 5.1.21
|
7
7
|
type: text/vnd.tiddlywiki
|
8
|
+
description: Bug fix release for v5.1.20
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.20...v5.1.21]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ released: 20200415160825341
|
|
5
5
|
tags: ReleaseNotes
|
6
6
|
title: Release 5.1.22
|
7
7
|
type: text/vnd.tiddlywiki
|
8
|
+
description: Dynamic plugin loading, compare operator, new plugins: Menubar, Freelinks, Dynannotate, Share
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.21...v5.1.22]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ released: 20201224132933812
|
|
5
5
|
tags: ReleaseNotes
|
6
6
|
title: Release 5.1.23
|
7
7
|
type: text/vnd.tiddlywiki
|
8
|
+
description: Switchable page templates, EventCatcherWidget, Rename during import, many plugin and filter improvements
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.22...v5.1.23]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ tags: ReleaseNotes
|
|
5
5
|
title: Release 5.1.3
|
6
6
|
type: text/vnd.tiddlywiki
|
7
7
|
released: 20141020171015200
|
8
|
+
description: Journals, ActionWidgets, <<.olink addprefix>> and <<.olink addsuffix>> operators, "includeWikis"
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.2...v5.1.3]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ tags: ReleaseNotes
|
|
5
5
|
title: Release 5.1.4
|
6
6
|
type: text/vnd.tiddlywiki
|
7
7
|
released: 20141022155524581
|
8
|
+
description: Dragging links into text boxes, coloured errors and warnings under Node.js
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.3...v5.1.4]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ tags: ReleaseNotes
|
|
5
5
|
title: Release 5.1.5
|
6
6
|
type: text/vnd.tiddlywiki
|
7
7
|
released: 20141126153016142
|
8
|
+
description: Export button, more ActionWidgets, Danish and Greek translations
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.4...v5.1.5]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ tags: ReleaseNotes
|
|
5
5
|
title: Release 5.1.6
|
6
6
|
type: text/vnd.tiddlywiki
|
7
7
|
released: 20141219155007260
|
8
|
+
description: Minor bug fix release for v5.1.5
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.5...v5.1.6]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ tags: ReleaseNotes
|
|
5
5
|
title: Release 5.1.7
|
6
6
|
type: text/vnd.tiddlywiki
|
7
7
|
released: 20141219215007260
|
8
|
+
description: Hot fix release for v5.1.7
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.6...v5.1.7]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ tags: ReleaseNotes
|
|
5
5
|
title: Release 5.1.8
|
6
6
|
type: text/vnd.tiddlywiki
|
7
7
|
released: 2015041716307227
|
8
|
+
description: Plugin library, Railroad Plugin, sticky titles, 7 new translations
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.7...v5.1.8]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ tags: ReleaseNotes
|
|
5
5
|
title: Release 5.1.9
|
6
6
|
type: text/vnd.tiddlywiki
|
7
7
|
released: 20150703153725652
|
8
|
+
description: Fluid-fixed layout, vars widget, open in new window
|
8
9
|
|
9
10
|
\define custom-colour-picker(tiddler,colour)
|
10
11
|
<$edit-text tiddler="""$tiddler$""" index="""$colour$""" type="color" tag="input"/>
|
@@ -5,6 +5,7 @@ released: 20211003151502543
|
|
5
5
|
tags: ReleaseNotes
|
6
6
|
title: Release 5.2.0
|
7
7
|
type: text/vnd.tiddlywiki
|
8
|
+
description: JSON store area, nestable macros, counter attribute for ListWidget, MessageCatcherWidget
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.23...v5.2.0]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ released: 20211208115833846
|
|
5
5
|
tags: ReleaseNotes
|
6
6
|
title: Release 5.2.1
|
7
7
|
type: text/vnd.tiddlywiki
|
8
|
+
description: Filter cascades, LetWidget, trigonometric operators
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.2.0...v5.2.1]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ released: 20220325130817150
|
|
5
5
|
tags: ReleaseNotes
|
6
6
|
title: Release 5.2.2
|
7
7
|
type: text/vnd.tiddlywiki
|
8
|
+
description: Minor bug fix release
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.2.1...v5.2.2]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ released: 20220802122551819
|
|
5
5
|
tags: ReleaseNotes
|
6
6
|
title: Release 5.2.3
|
7
7
|
type: text/vnd.tiddlywiki
|
8
|
+
description: Minor fixes and improvements
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.2.2...v5.2.3]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ released: 20221213163110439
|
|
5
5
|
tags: ReleaseNotes
|
6
6
|
title: Release 5.2.4
|
7
7
|
type: text/vnd.tiddlywiki
|
8
|
+
description: Hot fixes for v5.2.3, Twitter archivist plugin, GenesisWidget, JSON read operators, nested macro definitions
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.2.3...v5.2.4]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ released: 20221219184500440
|
|
5
5
|
tags: ReleaseNotes
|
6
6
|
title: Release 5.2.5
|
7
7
|
type: text/vnd.tiddlywiki
|
8
|
+
description: Hot fix release for v5.2.4
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.2.4...v5.2.5]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ released: 20230320184352916
|
|
5
5
|
tags: ReleaseNotes
|
6
6
|
title: Release 5.2.6
|
7
7
|
type: text/vnd.tiddlywiki
|
8
|
+
description: Markdown improvements, indentable pragmas, accessible save wiki button
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.2.5...v5.2.6]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ released: 20230326083239710
|
|
5
5
|
tags: ReleaseNotes
|
6
6
|
title: Release 5.2.7
|
7
7
|
type: text/vnd.tiddlywiki
|
8
|
+
description: Bug fix release for v5.2.6
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.2.6...v5.2.7]]//
|
10
11
|
|
@@ -5,6 +5,7 @@ released: 20230701123439630
|
|
5
5
|
tags: ReleaseNotes
|
6
6
|
title: Release 5.3.0
|
7
7
|
type: text/vnd.tiddlywiki
|
8
|
+
description: Parameterised transclusions, procedures, functions, custom widgets
|
8
9
|
|
9
10
|
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.2.7...v5.3.0]]//
|
10
11
|
|