tiddlywiki 5.1.21 → 5.2.1
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/.eslintignore +15 -0
- package/.eslintrc.yml +267 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +43 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- package/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md +22 -0
- package/.github/workflows/ci.yml +74 -0
- package/bin/build-site.sh +11 -2
- package/bin/{travis-pre-build.sh → ci-pre-build.sh} +0 -0
- package/bin/ci-push.sh +15 -0
- package/bin/optimise-svgs.js +79 -0
- package/bin/quick-bld.sh +1 -1
- package/bin/update-translation-from-html-file.sh +25 -0
- package/boot/boot.js +266 -93
- package/contributing.md +1 -1
- package/core/copyright.tid +1 -1
- package/core/images/add-comment.tid +1 -1
- package/core/images/advanced-search-button.tid +1 -8
- package/core/images/auto-height.tid +1 -3
- package/core/images/blank.tid +1 -1
- package/core/images/bold.tid +1 -5
- package/core/images/cancel-button.tid +1 -5
- package/core/images/chevron-down.tid +1 -6
- package/core/images/chevron-left.tid +1 -6
- package/core/images/chevron-right.tid +1 -6
- package/core/images/chevron-up.tid +1 -6
- package/core/images/clone-button.tid +1 -6
- package/core/images/close-all-button.tid +1 -8
- package/core/images/close-button.tid +1 -5
- package/core/images/close-others-button.tid +1 -5
- package/core/images/copy-clipboard.tid +1 -12
- package/core/images/delete-button.tid +1 -11
- package/core/images/done-button.tid +1 -5
- package/core/images/down-arrow.tid +1 -3
- package/core/images/download-button.tid +1 -1
- package/core/images/edit-button.tid +1 -6
- package/core/images/erase.tid +1 -5
- package/core/images/excise.tid +1 -5
- package/core/images/export-button.tid +1 -5
- package/core/images/file.tid +1 -11
- package/core/images/fixed-height.tid +1 -5
- package/core/images/fold-all-button.tid +1 -8
- package/core/images/fold-button.tid +1 -7
- package/core/images/fold-others-button.tid +1 -7
- package/core/images/folder.tid +1 -6
- package/core/images/full-screen-button.tid +1 -16
- package/core/images/github.tid +1 -5
- package/core/images/gitter.tid +1 -6
- package/core/images/globe.tid +1 -7
- package/core/images/heading-1.tid +1 -5
- package/core/images/heading-2.tid +1 -5
- package/core/images/heading-3.tid +1 -5
- package/core/images/heading-4.tid +1 -5
- package/core/images/heading-5.tid +1 -5
- package/core/images/heading-6.tid +1 -5
- package/core/images/help.tid +1 -5
- package/core/images/home-button.tid +1 -5
- package/core/images/import-button.tid +1 -5
- package/core/images/info-button.tid +1 -9
- package/core/images/italic.tid +1 -5
- package/core/images/left-arrow.tid +1 -3
- package/core/images/line-width.tid +1 -6
- package/core/images/link.tid +1 -6
- package/core/images/linkify.tid +1 -1
- package/core/images/list-bullet.tid +1 -5
- package/core/images/list-number.tid +1 -5
- package/core/images/list.tid +1 -6
- package/core/images/locked-padlock.tid +1 -5
- package/core/images/mail.tid +1 -5
- package/core/images/menu-button.tid +1 -5
- package/core/images/minus-button.tid +4 -0
- package/core/images/mono-block.tid +1 -5
- package/core/images/mono-line.tid +1 -5
- package/core/images/new-button.tid +1 -5
- package/core/images/new-here-button.tid +1 -11
- package/core/images/new-image-button.tid +1 -5
- package/core/images/new-journal-button.tid +1 -13
- package/core/images/opacity.tid +1 -7
- package/core/images/open-window.tid +1 -6
- package/core/images/options-button.tid +1 -5
- package/core/images/paint.tid +1 -5
- package/core/images/palette.tid +1 -5
- package/core/images/permalink-button.tid +1 -5
- package/core/images/permaview-button.tid +1 -5
- package/core/images/picture.tid +1 -5
- package/core/images/plugin-generic-language.tid +1 -5
- package/core/images/plugin-generic-plugin.tid +1 -5
- package/core/images/plugin-generic-theme.tid +1 -5
- package/core/images/plus-button.tid +4 -0
- package/core/images/preview-closed.tid +1 -12
- package/core/images/preview-open.tid +1 -6
- package/core/images/print-button.tid +1 -9
- package/core/images/quote.tid +1 -5
- package/core/images/refresh-button.tid +1 -5
- package/core/images/right-arrow.tid +1 -3
- package/core/images/rotate-left.tid +1 -1
- package/core/images/save-button.tid +1 -5
- package/core/images/size.tid +1 -3
- package/core/images/spiral.tid +1 -5
- package/core/images/stamp.tid +1 -5
- package/core/images/star-filled.tid +1 -5
- package/core/images/storyview-classic.tid +1 -5
- package/core/images/storyview-pop.tid +1 -5
- package/core/images/storyview-zoomin.tid +1 -5
- package/core/images/strikethrough.tid +1 -6
- package/core/images/subscript.tid +1 -5
- package/core/images/superscript.tid +1 -5
- package/core/images/tag-button.tid +1 -6
- package/core/images/theme-button.tid +1 -6
- package/core/images/timestamp-off.tid +1 -5
- package/core/images/timestamp-on.tid +1 -5
- package/core/images/tip.tid +1 -5
- package/core/images/transcludify.tid +1 -1
- package/core/images/twitter.tid +1 -5
- package/core/images/underline.tid +1 -5
- package/core/images/unfold-all-button.tid +1 -8
- package/core/images/unfold-button.tid +1 -7
- package/core/images/unlocked-padlock.tid +1 -5
- package/core/images/up-arrow.tid +1 -4
- package/core/images/video.tid +1 -5
- package/core/images/warning.tid +1 -5
- package/core/language/en-GB/ControlPanel.multids +45 -13
- package/core/language/en-GB/Docs/ModuleTypes.multids +1 -0
- package/core/language/en-GB/Docs/PaletteColours.multids +2 -0
- package/core/language/en-GB/EditTemplate.multids +6 -0
- package/core/language/en-GB/Fields.multids +2 -1
- package/core/language/en-GB/Help/listen.tid +3 -2
- package/core/language/en-GB/Help/render.tid +5 -4
- package/core/language/en-GB/Help/rendertiddlers.tid +2 -2
- package/core/language/en-GB/Help/save.tid +1 -1
- package/core/language/en-GB/Import.multids +19 -8
- package/core/language/en-GB/Misc.multids +25 -3
- package/core/language/en-GB/NewJournal.multids +0 -1
- package/core/language/en-GB/NewJournalTags.tid +3 -0
- package/core/language/en-GB/TiddlerInfo.multids +1 -1
- package/core/modules/commander.js +1 -1
- package/core/modules/commands/fetch.js +2 -2
- package/core/modules/commands/makelibrary.js +6 -6
- package/core/modules/commands/render.js +55 -54
- package/core/modules/commands/rendertiddlers.js +1 -1
- package/core/modules/commands/savelibrarytiddlers.js +11 -3
- package/core/modules/commands/savewikifolder.js +17 -3
- package/core/modules/config.js +1 -1
- package/core/modules/deserializers.js +95 -79
- package/core/modules/editor/engines/framed.js +40 -9
- package/core/modules/editor/engines/simple.js +24 -2
- package/core/modules/editor/factory.js +92 -19
- package/core/modules/editor/operations/text/focus-editor.js +17 -0
- package/core/modules/editor/operations/text/insert-text.js +23 -0
- package/core/modules/editor/operations/text/prefix-lines.js +3 -2
- package/core/modules/filterrunprefixes/all.js +25 -0
- package/core/modules/filterrunprefixes/and.js +28 -0
- package/core/modules/filterrunprefixes/cascade.js +53 -0
- package/core/modules/filterrunprefixes/else.js +27 -0
- package/core/modules/filterrunprefixes/except.js +25 -0
- package/core/modules/filterrunprefixes/filter.js +49 -0
- package/core/modules/filterrunprefixes/intersection.js +31 -0
- package/core/modules/filterrunprefixes/map.js +46 -0
- package/core/modules/filterrunprefixes/or.js +24 -0
- package/core/modules/filterrunprefixes/reduce.js +50 -0
- package/core/modules/filterrunprefixes/sort.js +62 -0
- package/core/modules/filters/all.js +3 -3
- package/core/modules/filters/backlinks.js +3 -3
- package/core/modules/filters/compare.js +40 -0
- package/core/modules/filters/contains.js +1 -1
- package/core/modules/filters/deserializers.js +27 -0
- package/core/modules/filters/duplicateslugs.js +36 -0
- package/core/modules/filters/editiondescription.js +10 -8
- package/core/modules/filters/editions.js +9 -7
- package/core/modules/filters/encodings.js +5 -15
- package/core/modules/filters/field.js +1 -1
- package/core/modules/filters/fields.js +20 -5
- package/core/modules/filters/filter.js +42 -0
- package/core/modules/filters/format/date.js +26 -0
- package/core/modules/filters/format/relativedate.js +26 -0
- package/core/modules/filters/format/titlelist.js +25 -0
- package/core/modules/filters/format.js +46 -0
- package/core/modules/filters/has.js +21 -5
- package/core/modules/filters/is/binary.js +36 -0
- package/core/modules/filters/is/draft.js +36 -0
- package/core/modules/filters/links.js +3 -3
- package/core/modules/filters/listops.js +12 -0
- package/core/modules/filters/lookup.js +1 -1
- package/core/modules/filters/math.js +117 -16
- package/core/modules/filters/moduleproperty.js +30 -0
- package/core/modules/filters/modules.js +16 -4
- package/core/modules/filters/range.js +7 -3
- package/core/modules/filters/reduce.js +60 -0
- package/core/modules/filters/regexp.js +1 -1
- package/core/modules/filters/slugify.js +23 -0
- package/core/modules/filters/sortsub.js +60 -0
- package/core/modules/filters/strings.js +101 -7
- package/core/modules/filters/tag.js +1 -1
- package/core/modules/filters/untagged.js +7 -14
- package/core/modules/filters/x-listops.js +224 -179
- package/core/modules/filters.js +115 -68
- package/core/modules/indexers/backlinks-index.js +86 -0
- package/core/modules/indexers/field-indexer.js +1 -1
- package/core/modules/indexers/tag-indexer.js +2 -2
- package/core/modules/info/platform.js +10 -2
- package/core/modules/keyboard.js +27 -5
- package/core/modules/macros/jsontiddlers.js +4 -3
- package/core/modules/macros/makedatauri.js +4 -3
- package/core/modules/macros/{uniquetitle.js → unusedtitle.js} +8 -7
- package/core/modules/parsers/audioparser.js +2 -1
- package/core/modules/parsers/binaryparser.js +49 -6
- package/core/modules/parsers/htmlparser.js +4 -2
- package/core/modules/parsers/imageparser.js +1 -0
- package/core/modules/parsers/parseutils.js +39 -9
- package/core/modules/parsers/videoparser.js +4 -2
- package/core/modules/parsers/wikiparser/rules/commentblock.js +8 -2
- package/core/modules/parsers/wikiparser/rules/commentinline.js +1 -1
- package/core/modules/parsers/wikiparser/rules/html.js +7 -10
- package/core/modules/parsers/wikiparser/rules/import.js +1 -1
- package/core/modules/parsers/wikiparser/rules/list.js +1 -1
- package/core/modules/parsers/wikiparser/rules/macrocallblock.js +24 -28
- package/core/modules/parsers/wikiparser/rules/macrocallinline.js +17 -27
- package/core/modules/parsers/wikiparser/rules/table.js +1 -1
- package/core/modules/parsers/wikiparser/wikiparser.js +52 -33
- package/core/modules/pluginswitcher.js +2 -0
- package/core/modules/saver-handler.js +7 -2
- package/core/modules/savers/andtidwiki.js +44 -18
- package/core/modules/savers/custom.js +60 -0
- package/core/modules/savers/download.js +1 -1
- package/core/modules/savers/gitea.js +136 -0
- package/core/modules/savers/github.js +6 -5
- package/core/modules/savers/gitlab.js +4 -7
- package/core/modules/savers/hyperdrive.js +64 -0
- package/core/modules/savers/put.js +6 -3
- package/core/modules/savers/tiddlyfox.js +1 -1
- package/core/modules/savers/twedit.js +1 -1
- package/core/modules/savers/upload.js +15 -3
- package/core/modules/server/authenticators/basic.js +1 -1
- package/core/modules/server/authenticators/header.js +1 -1
- package/core/modules/server/routes/delete-tiddler.js +1 -1
- package/core/modules/server/routes/get-favicon.js +1 -2
- package/core/modules/server/routes/get-file.js +19 -21
- package/core/modules/server/routes/get-index.js +1 -23
- package/core/modules/server/routes/get-login-basic.js +3 -2
- package/core/modules/server/routes/get-status.js +1 -2
- package/core/modules/server/routes/get-tiddler-html.js +3 -3
- package/core/modules/server/routes/get-tiddler.js +3 -3
- package/core/modules/server/routes/get-tiddlers-json.js +26 -13
- package/core/modules/server/routes/put-tiddler.js +2 -2
- package/core/modules/server/server.js +99 -17
- package/core/modules/startup/favicon.js +2 -2
- package/core/modules/startup/info.js +28 -18
- package/core/modules/startup/load-modules.js +3 -0
- package/core/modules/startup/plugins.js +84 -0
- package/core/modules/startup/render.js +11 -9
- package/core/modules/startup/rootwidget.js +7 -3
- package/core/modules/startup/startup.js +4 -10
- package/core/modules/startup/story.js +12 -7
- package/core/modules/startup/windows.js +5 -8
- package/core/modules/storyviews/classic.js +5 -5
- package/core/modules/storyviews/pop.js +3 -3
- package/core/modules/storyviews/zoomin.js +3 -3
- package/core/modules/syncer.js +384 -261
- package/core/modules/upgraders/plugins.js +20 -17
- package/core/modules/upgraders/system.js +5 -6
- package/core/modules/utils/base64-utf8/base64-utf8.module.js +29 -11
- package/core/modules/utils/base64-utf8/base64-utf8.module.min.js +1 -1
- package/core/modules/utils/csv.js +1 -1
- package/core/modules/utils/dom/dom.js +11 -7
- package/core/modules/utils/dom/dragndrop.js +26 -5
- package/core/modules/utils/dom/http.js +37 -5
- package/core/modules/utils/dom/modal.js +42 -6
- package/core/modules/utils/dom/popup.js +9 -34
- package/core/modules/utils/dom/scroller.js +15 -2
- package/core/modules/{startup/css-escape-polyfill.js → utils/escapecss.js} +17 -27
- package/core/modules/utils/fakedom.js +23 -3
- package/core/modules/utils/filesystem.js +225 -30
- package/core/modules/utils/linked-list.js +204 -0
- package/core/modules/utils/logger.js +48 -4
- package/core/modules/utils/performance.js +1 -1
- package/core/modules/utils/transliterate.js +8 -1
- package/core/modules/utils/utils.js +218 -19
- package/core/modules/widgets/action-confirm.js +78 -0
- package/core/modules/widgets/action-createtiddler.js +32 -4
- package/core/modules/widgets/action-deletefield.js +1 -1
- package/core/modules/widgets/action-listops.js +6 -11
- package/core/modules/widgets/action-log.js +93 -0
- package/core/modules/widgets/action-navigate.js +12 -1
- package/core/modules/widgets/action-popup.js +83 -0
- package/core/modules/widgets/action-sendmessage.js +17 -7
- package/core/modules/widgets/action-setmultiplefields.js +86 -0
- package/core/modules/widgets/browse.js +4 -0
- package/core/modules/widgets/button.js +41 -6
- package/core/modules/widgets/checkbox.js +5 -1
- package/core/modules/widgets/codeblock.js +7 -1
- package/core/modules/widgets/count.js +1 -1
- package/core/modules/widgets/draggable.js +3 -1
- package/core/modules/widgets/droppable.js +32 -18
- package/core/modules/widgets/dropzone.js +139 -31
- package/core/modules/widgets/edit-binary.js +48 -5
- package/core/modules/widgets/edit-bitmap.js +6 -6
- package/core/modules/widgets/edit-shortcut.js +3 -3
- package/core/modules/widgets/edit.js +7 -9
- package/core/modules/widgets/element.js +28 -21
- package/core/modules/widgets/entity.js +2 -1
- package/core/modules/widgets/eventcatcher.js +181 -0
- package/core/modules/widgets/fieldmangler.js +16 -30
- package/core/modules/widgets/fields.js +40 -29
- package/core/modules/widgets/image.js +5 -5
- package/core/modules/widgets/importvariables.js +38 -26
- package/core/modules/widgets/jsontiddler.js +91 -0
- package/core/modules/widgets/keyboard.js +39 -18
- package/core/modules/widgets/let.js +96 -0
- package/core/modules/widgets/link.js +15 -5
- package/core/modules/widgets/linkcatcher.js +6 -5
- package/core/modules/widgets/list.js +70 -28
- package/core/modules/widgets/log.js +30 -0
- package/core/modules/widgets/macrocall.js +16 -4
- package/core/modules/widgets/messagecatcher.js +110 -0
- package/core/modules/widgets/navigator.js +71 -40
- package/core/modules/widgets/radio.js +26 -14
- package/core/modules/widgets/range.js +94 -12
- package/core/modules/widgets/raw.js +1 -1
- package/core/modules/widgets/reveal.js +26 -4
- package/core/modules/widgets/scrollable.js +37 -24
- package/core/modules/widgets/select.js +2 -5
- package/core/modules/widgets/setmultiplevariables.js +81 -0
- package/core/modules/widgets/setvariable.js +2 -2
- package/core/modules/widgets/text.js +1 -1
- package/core/modules/widgets/tiddler.js +1 -1
- package/core/modules/widgets/transclude.js +13 -3
- package/core/modules/widgets/vars.js +3 -5
- package/core/modules/widgets/view.js +10 -3
- package/core/modules/widgets/widget.js +75 -23
- package/core/modules/widgets/wikify.js +1 -1
- package/core/modules/wiki.js +313 -123
- package/core/palettes/Blanca.tid +1 -0
- package/core/palettes/Blue.tid +1 -0
- package/core/palettes/BrightMute.tid +1 -0
- package/core/palettes/ContrastDark.tid +1 -0
- package/core/palettes/ContrastLight.tid +1 -0
- package/core/palettes/CupertinoDark.tid +130 -0
- package/core/palettes/DarkPhotos.tid +1 -0
- package/core/palettes/DesertSand.tid +139 -0
- package/core/palettes/GruvBoxDark.tid +139 -0
- package/core/palettes/Nord.tid +21 -7
- package/core/palettes/Rocker.tid +1 -0
- package/core/palettes/SolarFlare.tid +1 -0
- package/core/palettes/SolarizedDark.tid +113 -0
- package/core/palettes/SolarizedLight.tid +88 -95
- package/core/palettes/SpartanDay.tid +1 -0
- package/core/palettes/SpartanNight.tid +1 -0
- package/core/palettes/Twilight.tid +1 -0
- package/core/palettes/Vanilla.tid +20 -0
- package/core/plugin.info +1 -0
- package/core/templates/exporters/CsvFile.tid +1 -4
- package/core/templates/exporters/JsonFile.tid +1 -4
- package/core/templates/exporters/StaticRiver.tid +1 -1
- package/core/templates/exporters/TidFile.tid +1 -0
- package/core/templates/external-js/save-all-external-js.tid +3 -1
- package/core/templates/external-js/save-offline-external-js.tid +8 -0
- package/core/templates/external-js/tiddlywiki.js.tiddlers.tid +1 -1
- package/core/templates/external-js/tiddlywiki5-external-js.html.tid +3 -2
- package/core/templates/html-div-skinny-tiddler.tid +9 -0
- package/core/templates/html-div-tiddler.tid +1 -1
- package/core/templates/html-json-skinny-tiddler.tid +4 -0
- package/core/templates/html-json-tiddler.tid +3 -0
- package/core/templates/save-all.tid +2 -1
- package/core/templates/save-lazy-all.tid +3 -0
- package/core/templates/save-lazy-images.tid +3 -0
- package/core/templates/single.tiddler.window.tid +17 -22
- package/core/templates/static.area.tid +4 -0
- package/core/templates/static.tiddler.html.tid +2 -2
- package/core/templates/store.area.template.html.tid +35 -11
- package/core/templates/tiddlywiki5.html.tid +1 -1
- package/core/ui/Actions/new-image.tid +3 -2
- package/core/ui/Actions/new-journal.tid +4 -3
- package/core/ui/Actions/new-tiddler.tid +4 -1
- package/core/ui/AdvancedSearch/Filter.tid +22 -2
- package/core/ui/AdvancedSearch/FilterButtons/clear.tid +2 -1
- package/core/ui/AdvancedSearch/FilterButtons/dropdown.tid +1 -1
- package/core/ui/AdvancedSearch/Shadows.tid +25 -7
- package/core/ui/AdvancedSearch/Standard.tid +27 -8
- package/core/ui/AdvancedSearch/System.tid +24 -7
- package/core/ui/AdvancedSearch.tid +1 -1
- package/core/ui/AlertTemplate.tid +4 -2
- package/core/ui/BinaryWarning.tid +0 -4
- package/core/ui/Components/plugin-info.tid +60 -58
- package/core/ui/Components/tag-link.tid +1 -1
- package/core/ui/ControlPanel/Advanced.tid +1 -1
- package/core/ui/ControlPanel/Appearance.tid +1 -1
- package/core/ui/ControlPanel/Basics.tid +6 -1
- package/core/ui/ControlPanel/Cascades/EditTemplateBody.tid +9 -0
- package/core/ui/ControlPanel/Cascades/StoryTiddler.tid +9 -0
- package/core/ui/ControlPanel/Cascades/TiddlerColour.tid +9 -0
- package/core/ui/ControlPanel/Cascades/TiddlerIcon.tid +9 -0
- package/core/ui/ControlPanel/Cascades/ViewTemplateBody.tid +9 -0
- package/core/ui/ControlPanel/Cascades/ViewTemplateTitle.tid +9 -0
- package/core/ui/ControlPanel/Cascades.tid +9 -0
- package/core/ui/ControlPanel/Info.tid +1 -1
- package/core/ui/ControlPanel/KeyboardShortcuts.tid +2 -2
- package/core/ui/ControlPanel/Modals/AddPlugins.tid +102 -26
- package/core/ui/ControlPanel/Plugins/Add/Updates.tid +36 -0
- package/core/ui/ControlPanel/Plugins/Installed/Languages.tid +1 -0
- package/core/ui/ControlPanel/Plugins/Installed/Plugins.tid +1 -0
- package/core/ui/ControlPanel/Plugins/Installed/Themes.tid +1 -0
- package/core/ui/ControlPanel/Plugins.tid +2 -2
- package/core/ui/ControlPanel/Saving/GitHub.tid +1 -1
- package/core/ui/ControlPanel/Saving/TiddlySpot.tid +11 -6
- package/core/ui/ControlPanel/Saving/gitea.tid +16 -0
- package/core/ui/ControlPanel/Saving.tid +1 -1
- package/core/ui/ControlPanel/Toolbars.tid +1 -1
- package/core/ui/ControlPanel.tid +1 -1
- package/core/ui/DefaultSearchResultList.tid +16 -2
- package/core/ui/EditTemplate/Preview/diffs-current.tid +1 -1
- package/core/ui/EditTemplate/Preview/diffs-shadow.tid +1 -1
- package/core/ui/EditTemplate/Preview/output.tid +1 -0
- package/core/ui/EditTemplate/body/canonical-uri.tid +13 -0
- package/core/ui/EditTemplate/body/default.tid +38 -0
- package/core/ui/EditTemplate/body-editor.tid +13 -2
- package/core/ui/EditTemplate/body-toolbar-button.tid +8 -6
- package/core/ui/EditTemplate/body.tid +1 -47
- package/core/ui/EditTemplate/fields.tid +63 -20
- package/core/ui/EditTemplate/tags.tid +17 -21
- package/core/ui/EditTemplate/title.tid +2 -2
- package/core/ui/EditTemplate/type.tid +14 -2
- package/core/ui/EditTemplate.tid +13 -13
- package/core/ui/EditToolbar/cancel.tid +3 -2
- package/core/ui/EditToolbar/delete.tid +3 -2
- package/core/ui/EditToolbar/save.tid +5 -6
- package/core/ui/EditorToolbar/clear.tid +1 -1
- package/core/ui/EditorToolbar/editor-height.tid +1 -1
- package/core/ui/EditorToolbar/file-import.tid +41 -0
- package/core/ui/EditorToolbar/line-width.tid +2 -2
- package/core/ui/EditorToolbar/link-dropdown.tid +29 -11
- package/core/ui/EditorToolbar/opacity.tid +1 -1
- package/core/ui/EditorToolbar/paint.tid +1 -1
- package/core/ui/EditorToolbar/preview.tid +4 -4
- package/core/ui/EditorToolbar/rotate-left.tid +1 -1
- package/core/ui/EditorToolbar/size.tid +1 -1
- package/core/ui/EditorToolbar/stamp-dropdown-item-template.tid +53 -0
- package/core/ui/EditorToolbar/stamp-dropdown.tid +1 -43
- package/core/ui/EditorToolbar/stamp.tid +2 -1
- package/core/ui/ExportTiddlyWikiCore.tid +22 -0
- package/core/ui/ImportListing.tid +61 -18
- package/core/ui/KeyboardShortcuts/advanced-search.tid +1 -1
- package/core/ui/KeyboardShortcuts/change-sidebar-layout.tid +8 -0
- package/core/ui/KeyboardShortcuts/save-wiki.tid +7 -0
- package/core/ui/KeyboardShortcuts/switcher.tid +5 -0
- package/core/ui/KeyboardShortcuts/toggle-sidebar.tid +1 -1
- package/core/ui/LayoutSwitcher.tid +17 -0
- package/core/ui/ListItemTemplate.tid +1 -3
- package/core/ui/ListTaggedCascade.tid +14 -0
- package/core/ui/Manager/ItemSidebarTags.tid +4 -6
- package/core/ui/MoreSideBar/Plugins.tid +1 -1
- package/core/ui/PageControls/advanced-search.tid +5 -3
- package/core/ui/PageControls/closeall.tid +4 -1
- package/core/ui/PageControls/controlpanel.tid +2 -0
- package/core/ui/PageControls/encryption.tid +8 -3
- package/core/ui/PageControls/export-tiddlywikicore.tid +22 -0
- package/core/ui/PageControls/fold-all.tid +4 -1
- package/core/ui/PageControls/full-screen.tid +4 -1
- package/core/ui/PageControls/home.tid +4 -1
- package/core/ui/PageControls/import.tid +4 -1
- package/core/ui/PageControls/language.tid +2 -1
- package/core/ui/PageControls/manager.tid +5 -1
- package/core/ui/PageControls/more-page-actions.tid +4 -1
- package/core/ui/PageControls/new-image.tid +4 -1
- package/core/ui/PageControls/new-journal.tid +5 -1
- package/core/ui/PageControls/newtiddler.tid +4 -1
- package/core/ui/PageControls/palette.tid +2 -1
- package/core/ui/PageControls/print.tid +4 -1
- package/core/ui/PageControls/refresh.tid +4 -1
- package/core/ui/PageControls/savewiki.tid +4 -1
- package/core/ui/PageControls/storyview.tid +2 -1
- package/core/ui/PageControls/tag-button.tid +5 -1
- package/core/ui/PageControls/theme.tid +2 -1
- package/core/ui/PageControls/timestamp.tid +8 -3
- package/core/ui/PageControls/unfold-all.tid +4 -1
- package/core/ui/PageControls.tid +1 -1
- package/core/ui/PageTemplate/pluginreloadwarning.tid +1 -1
- package/core/ui/PageTemplate/story.tid +1 -1
- package/core/ui/PageTemplate.tid +12 -23
- package/core/ui/PaletteManager.tid +4 -4
- package/core/ui/PluginInfoDefaultContents.tid +1 -3
- package/core/ui/PluginListItemTemplate.tid +12 -6
- package/core/ui/RootTemplate.tid +4 -0
- package/core/ui/SearchResults.tid +1 -1
- package/core/ui/SideBar/More.tid +2 -2
- package/core/ui/SideBar/Open.tid +2 -2
- package/core/ui/SideBarSegments/search.tid +64 -25
- package/core/ui/SideBarSegments/tabs.tid +1 -1
- package/core/ui/StoryTiddlerTemplate.tid +3 -0
- package/core/ui/SwitcherModal.tid +11 -0
- package/core/ui/TagManager.tid +5 -0
- package/core/ui/TagPickerTagTemplate.tid +23 -0
- package/core/ui/TagTemplate.tid +2 -2
- package/core/ui/TiddlerIcon.tid +8 -0
- package/core/ui/TiddlerInfo/Advanced.tid +1 -1
- package/core/ui/TiddlerInfo.tid +1 -1
- package/core/ui/TopRightBar/menu.tid +6 -6
- package/core/ui/ViewTemplate/body/blank.tid +3 -0
- package/core/ui/ViewTemplate/body/code.tid +3 -0
- package/core/ui/ViewTemplate/body/default.tid +7 -0
- package/core/ui/ViewTemplate/{import.tid → body/import.tid} +9 -3
- package/core/ui/ViewTemplate/body/plugin.tid +10 -0
- package/core/ui/ViewTemplate/body.tid +1 -9
- package/core/ui/ViewTemplate/subtitle.tid +3 -3
- package/core/ui/ViewTemplate/title/default.tid +6 -0
- package/core/ui/ViewTemplate/title/system.tid +6 -0
- package/core/ui/ViewTemplate/title.tid +7 -18
- package/core/ui/ViewTemplate.tid +8 -1
- package/core/ui/ViewToolbar/clone.tid +0 -1
- package/core/ui/ViewToolbar/close-others.tid +0 -1
- package/core/ui/ViewToolbar/edit.tid +0 -1
- package/core/ui/ViewToolbar/fold-others.tid +0 -1
- package/core/ui/ViewToolbar/fold.tid +0 -2
- package/core/ui/ViewToolbar/info.tid +1 -0
- package/core/ui/ViewToolbar/more-tiddler-actions.tid +0 -1
- package/core/ui/ViewToolbar/new-here.tid +3 -2
- package/core/ui/ViewToolbar/new-journal-here.tid +2 -1
- package/core/ui/ViewToolbar/open-window.tid +0 -1
- package/core/ui/ViewToolbar/permalink.tid +0 -1
- package/core/ui/ViewToolbar/permaview.tid +0 -1
- package/core/wiki/config/AutoFocus.tid +2 -0
- package/core/wiki/config/EditModeFieldnameFilter.tid +3 -0
- package/core/wiki/config/EditTabIndex.tid +2 -0
- package/core/wiki/config/EditTemplateBodyFilters.multids +5 -0
- package/core/wiki/config/EditorEnableImportFilter.tid +4 -0
- package/core/wiki/config/EditorImportContentTypesFilter.tid +4 -0
- package/core/wiki/config/OfficialPluginLibrary.tid +1 -1
- package/core/wiki/config/RegisterPluginTypes.multids +7 -0
- package/core/wiki/config/SaverFilter.tid +1 -1
- package/core/wiki/config/ServerExternalFiltersDefault.tid +2 -0
- package/core/wiki/config/ShortcutInfo.multids +15 -0
- package/core/wiki/config/StoryTiddlerTemplateFilters.multids +5 -0
- package/core/wiki/config/SwitcherTargets.multids +6 -0
- package/core/wiki/config/SyncFilter.tid +1 -1
- package/core/wiki/config/SyncSystemTiddlersFromServer.tid +3 -0
- package/core/wiki/config/TiddlerColourFilters.multids +5 -0
- package/core/wiki/config/TiddlerIconFilters.multids +5 -0
- package/core/wiki/config/ViewTemplateBodyFilters.multids +8 -0
- package/core/wiki/config/ViewTemplateTitleFilters.multids +5 -0
- package/core/wiki/config/shortcuts/shortcuts-mac.multids +1 -0
- package/core/wiki/config/shortcuts/shortcuts.multids +13 -0
- package/core/wiki/currpalettepreview.tid +32 -3
- package/core/wiki/debugstylesheets.tid +9 -0
- package/core/wiki/macros/CSS.tid +2 -2
- package/core/wiki/macros/colour-picker.tid +2 -2
- package/core/wiki/macros/export.tid +10 -6
- package/core/wiki/macros/keyboard-driven-input.tid +88 -0
- package/core/wiki/macros/list.tid +8 -8
- package/core/wiki/macros/tabs.tid +8 -4
- package/core/wiki/macros/tag-picker.tid +75 -26
- package/core/wiki/macros/tag.tid +5 -3
- package/core/wiki/macros/timeline.tid +2 -3
- package/core/wiki/macros/toc.tid +5 -5
- package/core/wiki/minifocusswitcher.tid +7 -0
- package/core/wiki/peek-stylesheets.tid +3 -0
- package/core/wiki/tags/ControlPanelPlugins.tid +1 -1
- package/core/wiki/tags/EditTemplateBodyFilter.tid +2 -0
- package/core/wiki/tags/PluginLibrary.tid +2 -0
- package/core/wiki/tags/StoryTiddlerTemplateFilter.tid +2 -0
- package/core/wiki/tags/TiddlerColourFilter.tid +3 -0
- package/core/wiki/tags/TiddlerIconFilter.tid +3 -0
- package/core/wiki/tags/ViewTemplateBodyFilter.tid +3 -0
- package/core/wiki/tags/ViewTemplateTitleFilter.tid +3 -0
- package/core/wiki/title.tid +4 -1
- package/core/wiki/viewswitcher.tid +3 -6
- package/editions/de-AT/tiddlers/external/tiddlywiki.files +12 -0
- package/editions/de-AT/tiddlers/intro/HelloThumbnail_-_Latest_Version.tid +1 -1
- package/editions/de-AT/tiddlers/system/static.content.tid +2 -2
- package/editions/de-AT/tiddlywiki.info +3 -2
- package/editions/de-AT-server/tiddlywiki.info +2 -1
- package/editions/de-DE/tiddlywiki.info +3 -2
- package/editions/dev/tiddlers/Continuous Deployment.tid +3 -3
- package/editions/dev/tiddlers/HelloThere.tid +3 -1
- package/editions/dev/tiddlers/build/Releasing a new version of TiddlyWiki.tid +2 -2
- package/editions/dev/tiddlers/from Heigele and Jurke/Data-Storage.tid +1 -9
- package/editions/dev/tiddlers/from Heigele and Jurke/wikimethod module type.tid +3 -2
- package/editions/dev/tiddlers/from tw5.com/How to create plugins in the browser.tid +1 -1
- package/editions/dev/tiddlers/from tw5.com/moduletypes/SyncAdaptorModules.tid +59 -5
- package/editions/dev/tiddlers/from tw5.com/moduletypes/WikiRuleModules.tid +6 -5
- package/editions/dev/tiddlers/indexer modules.tid +55 -0
- package/editions/dev/tiddlers/new/Data Storage in Single File TiddlyWiki.tid +100 -0
- package/editions/dev/tiddlers/new/Data Storage.tid +10 -0
- package/editions/dev/tiddlers/new/HookMechanism.tid +15 -2
- package/editions/dev/tiddlers/new/Hook_ th-before-importing.tid +68 -0
- package/editions/dev/tiddlers/new/Hook_ th-closing-tiddler.tid +20 -0
- package/editions/dev/tiddlers/new/Hook__th-importing-tiddler.tid +3 -1
- package/editions/dev/tiddlers/new/Hook__th-rendering-element.tid +35 -0
- package/editions/dev/tiddlers/new/Hook_th-make-tiddler-path.tid +14 -0
- package/editions/dev/tiddlers/new/ParserSubclassingMechanism.tid +42 -0
- package/editions/dev/tiddlers/new/TiddlyWiki Drag and Drop Interop.tid +15 -0
- package/editions/dev/tiddlers/new/dragndropinterop.html +35 -0
- package/editions/dev/tiddlers/new/dragndropinterop.html.meta +3 -0
- package/editions/dev/tiddlers/new/save-dragndropinterop.tid +3 -0
- package/editions/dev/tiddlers/new/th-saving-tiddler.tid +3 -2
- package/editions/dev/tiddlers/system/static.content.tid +2 -2
- package/editions/dev/tiddlywiki.info +2 -1
- package/editions/dynaviewdemo/tiddlers/ViewTemplate.tid +4 -7
- package/editions/es-ES/tiddlers/Page_and_tiddler_layout_customisation.tid +3 -3
- package/editions/es-ES/tiddlywiki.info +3 -2
- package/editions/es-ES-server/tiddlywiki.info +2 -1
- package/editions/fr-FR/tiddlers/HelloThumbnail - Latest Version.tid +1 -1
- package/editions/fr-FR/tiddlers/Page and tiddler layout customisation.tid +3 -3
- package/editions/fr-FR/tiddlywiki.info +3 -2
- package/editions/fr-FR-server/tiddlywiki.info +2 -1
- package/editions/full/tiddlywiki.info +1 -0
- package/editions/innerwikidemo/tiddlywiki.info +2 -1
- package/editions/introduction/tiddlers/slides/TiddlyWiki.tid +1 -1
- package/editions/introduction/tiddlers/slides/Translations.tid +4 -6
- package/editions/introduction/tiddlers/system/styles.tid +2 -1
- package/editions/introduction/tiddlywiki.info +8 -1
- package/editions/ja-JP/tiddlywiki.info +3 -2
- package/editions/ko-KR/tiddlers/system/static.content.tid +2 -2
- package/editions/ko-KR/tiddlywiki.info +3 -2
- package/editions/ko-KR-server/tiddlywiki.info +2 -1
- package/editions/markdowndemo/tiddlers/HelloThere.tid +2 -29
- package/editions/markdowndemo/tiddlers/MarkdownExample.tid +20 -21
- package/editions/prerelease/tiddlers/$__StoryList.tid +5 -0
- package/editions/prerelease/tiddlers/Release 5.2.2.tid +54 -0
- package/editions/prerelease/tiddlers/system/PrereleaseLocalPluginLibrary.tid +1 -1
- package/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid +1 -1
- package/editions/prerelease/tiddlers/system/download-empty.tid +9 -0
- package/editions/prerelease/tiddlers/system/favicon.ico +0 -0
- package/editions/prerelease/tiddlers/system/favicon.ico.meta +2 -0
- package/editions/prerelease/tiddlers/system/stickytitles.tid +1 -1
- package/editions/prerelease/tiddlywiki.info +3 -2
- package/editions/server/tiddlywiki.info +1 -6
- package/editions/server-external-js/tiddlywiki.info +26 -0
- package/editions/share/tiddlywiki.info +14 -0
- package/editions/test/tiddlers/tests/data/deserializers/case 1.tid +4 -0
- package/editions/test/tiddlers/tests/data/deserializers/case 2.tid +12 -0
- package/editions/test/tiddlers/tests/data/deserializers/case 3.tid +18 -0
- package/editions/test/tiddlers/tests/data/deserializers/case 4.tid +19 -0
- package/editions/test/tiddlers/tests/data/deserializers/case 5.tid +20 -0
- package/editions/test/tiddlers/tests/test-backlinks.js +132 -0
- package/editions/test/tiddlers/tests/test-compare-filter.js +84 -0
- package/editions/test/tiddlers/tests/test-deserializers.js +39 -0
- package/editions/test/tiddlers/tests/test-filters.js +885 -468
- package/editions/test/tiddlers/tests/test-html-parser.js +18 -12
- package/editions/test/tiddlers/tests/test-linked-list.js +270 -0
- package/editions/test/tiddlers/tests/test-parsetextreference.js +132 -0
- package/editions/test/tiddlers/tests/test-prefixes-filter.js +440 -0
- package/editions/test/tiddlers/tests/test-tags.js +1 -1
- package/editions/test/tiddlers/tests/test-utils.js +62 -0
- package/editions/test/tiddlers/tests/test-widget.js +460 -149
- package/editions/test/tiddlers/tests/test-wikitext-parser.js +127 -20
- package/editions/tw5.com/tiddlers/$__StoryList.tid +5 -0
- package/editions/tw5.com/tiddlers/about/Developers.tid +8 -3
- package/editions/tw5.com/tiddlers/about/History of TiddlyWiki.tid +1 -1
- package/editions/tw5.com/tiddlers/{License.tid → about/License.tid} +3 -3
- package/editions/tw5.com/tiddlers/commands/BuildCommand.tid +1 -1
- package/editions/tw5.com/tiddlers/commands/NamedCommandParameters.tid +2 -2
- package/editions/tw5.com/tiddlers/community/Community Editions.tid +24 -0
- package/editions/tw5.com/tiddlers/community/Community Links Aggregator.tid +10 -0
- package/editions/tw5.com/tiddlers/community/Community Palettes.tid +24 -0
- package/editions/tw5.com/tiddlers/community/Community Plugins.tid +24 -0
- package/editions/tw5.com/tiddlers/community/Community Themes.tid +24 -0
- package/editions/tw5.com/tiddlers/community/Community.tid +5 -3
- package/editions/tw5.com/tiddlers/community/Contributing.tid +49 -13
- package/editions/tw5.com/tiddlers/community/Forums.tid +7 -11
- package/editions/tw5.com/tiddlers/community/Other Resources.tid +24 -0
- package/editions/tw5.com/tiddlers/community/TW Icons by morosanuae.tid +9 -0
- package/editions/tw5.com/tiddlers/community/TiddlyWiki Hangouts.tid +2 -2
- package/editions/tw5.com/tiddlers/community/editions/Drift by Tony K.tid +17 -0
- package/editions/tw5.com/tiddlers/community/editions/Stroll by David Gifford.tid +18 -0
- package/editions/tw5.com/tiddlers/community/editions/TiddlyResearch by Kebi.tid +25 -0
- package/editions/tw5.com/tiddlers/community/{resources → editions}/_Cardo-A Task and Project Management Wiki_ by David_Szego.tid +2 -2
- package/editions/tw5.com/tiddlers/community/{resources → editions}/_Noteself_ by Danielo Rodriguez.tid +4 -2
- package/editions/tw5.com/tiddlers/community/examples/PETTIL.tid +2 -2
- package/editions/tw5.com/tiddlers/community/examples/Reveal.js by Devin Weaver.tid +20 -0
- package/editions/tw5.com/tiddlers/community/{resources → examples}/_Lucky Sushi_ online shop by sini-Kit.tid +4 -4
- package/editions/tw5.com/tiddlers/community/palettes/Dracula for tiddlywiki.tid +22 -0
- package/editions/tw5.com/tiddlers/community/palettes/palletes by JD.tid +20 -0
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/Ace Editor Plugin by Joerg Plewe.tid +2 -2
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/BJHacks.tid +2 -2
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/Disqus comments plugin by bimlas.tid +2 -2
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/Encrypt single tiddler plugin.tid +2 -2
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/Eucalys Tiddly World.tid +4 -3
- package/editions/tw5.com/tiddlers/community/plugins/Favorites by Mohammad.tid +18 -0
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/Full Text Search Plugin by Rob Hoelz.tid +2 -2
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/GSD5.tid +3 -3
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/IndexedDB Plugin by Andreas Abeck.tid +2 -2
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/Json Mangler plugin by Joshua Fontany.tid +5 -4
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/Kin filter operator by bimlas.tid +2 -2
- package/editions/tw5.com/tiddlers/community/plugins/Kookma Plugin Library by Mohammad.tid +15 -0
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/Leaflet_maps_plugin_by_Sylvain_Comte.tid +2 -2
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/Locator plugin by bimlas.tid +2 -2
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/MathJax Plugin by Martin Kantor.tid +2 -2
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/Plugins by TheDiveO.tid +2 -2
- package/editions/tw5.com/tiddlers/community/plugins/Refnotes by Mohammad.tid +22 -0
- package/editions/tw5.com/tiddlers/community/plugins/Searchwikis by Mohammad.tid +21 -0
- package/editions/tw5.com/tiddlers/community/plugins/Shiraz by Mohammad.tid +32 -0
- package/editions/tw5.com/tiddlers/community/plugins/Slider by Mohammad.tid +18 -0
- package/editions/tw5.com/tiddlers/community/plugins/Tiddler Commander by Mohammad.tid +25 -0
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/TiddlyClip by buggyjay.tid +2 -2
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/TiddlyMap by Felix Kuppers.tid +2 -2
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/TiddlyWiki for Scholars.tid +2 -2
- package/editions/tw5.com/tiddlers/community/plugins/Tiddlyshow by Mohammad.tid +16 -0
- package/editions/tw5.com/tiddlers/community/plugins/Timelines by Mohammad.tid +14 -0
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/Tinka by Andreas Hahn.tid +2 -2
- package/editions/tw5.com/tiddlers/community/plugins/Todolist by Mohammad.tid +14 -0
- package/editions/tw5.com/tiddlers/community/plugins/Trashbin by Mohammad.tid +14 -0
- package/editions/tw5.com/tiddlers/community/plugins/Utility by Mohammad.tid +13 -0
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/_JD Mobile Layout plugin_ by JD.tid +2 -2
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/_Mal's Sandbox_ by Mal.tid +2 -2
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/_SK_Plugins_ by Stephen Kimmel.tid +2 -2
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/_Slides and Stories_ by Jan.tid +2 -2
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/_TW5-TeXZilla_ plugin by Joe Renes.tid +2 -2
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/_Tekan_ Kanban that stays with you_ by Riz.tid +2 -2
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/datepicker based on Pikaday.tid +2 -2
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/rboue's plugins for TiddlyWiki.tid +2 -2
- package/editions/tw5.com/tiddlers/community/{resources → plugins}/vis.js Timeline.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/BrainTest.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/Code styles and auto format settings for IDEs.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/CouchDB Adaptor.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/Filter Examples by Tobias Beer.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/Font Awesome 5 Free SVGs for TiddlyWiki by morosanuae.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/Gospel_Bubbles_by_Rev_David_Gifford.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/Grok TiddlyWiki by Soren Bjornstad.tid +16 -0
- package/editions/tw5.com/tiddlers/community/resources/Heeg.ru.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/Projectify by Nicolas Petton.tid +20 -0
- package/editions/tw5.com/tiddlers/community/resources/RegExp in Tiddlywiki by Mohammad.tid +19 -0
- package/editions/tw5.com/tiddlers/community/resources/SeeAlso by Matias Goldman.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/Semantic Colors by Mohammad.tid +22 -0
- package/editions/tw5.com/tiddlers/community/resources/TB5 a pocket full of tips by Tobias Beer.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/TW-Scripts by Mohammad.tid +22 -0
- package/editions/tw5.com/tiddlers/community/resources/TW5 Magick.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/TW5-SingleExecutable_by_Jed_Carty.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/TW5-firebase_ TiddlyWiki5 for Google Firebase by Peter Neumark.tid +27 -0
- package/editions/tw5.com/tiddlers/community/resources/TWCommunitySearch.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/TWaddle by Matias Goldman.tid +1 -1
- package/editions/tw5.com/tiddlers/community/resources/TiddlyChrome by Arlen Beiler.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/TiddlyDrive Add-on for Google Drive by Joshua Stubbs.tid +6 -4
- package/editions/tw5.com/tiddlers/community/resources/TiddlyServer by Arlen Beiler.tid +5 -3
- package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki Notes.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki Posts.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki Video Tutorials by Francis Meetze.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki extensions for Sublime Text 3 by roma0104.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki extensions for ViM.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki guide FR.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki wu.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki5 Playground.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki5 Squared by Iannis Zannos.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/Twexe_ Single File Tiddlywiki5 executable.tid +29 -0
- package/editions/tw5.com/tiddlers/community/resources/Widdly by Opennota.tid +3 -3
- package/editions/tw5.com/tiddlers/community/resources/Wikilabs by PMario.tid +3 -3
- package/editions/tw5.com/tiddlers/community/resources/Wills QnD gTD.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/_ATWiki_ by Lamusia Project.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/_Dropboard_ by Reid Gould.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/_Dynamic Tables_ by Jed Carty.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/_Hacks_ by Thomas Elmiger.tid +3 -2
- package/editions/tw5.com/tiddlers/community/resources/_In My Socks_ by Jed Carty.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/_MathCell_ by Ste Wilson.tid +3 -2
- package/editions/tw5.com/tiddlers/community/resources/_TWeb.at_ by Mario Pietsch.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/_TiddlyServer_ by Matt Lauber.tid +6 -3
- package/editions/tw5.com/tiddlers/community/resources/_TiddlyWiki Knowledge Network_ by Dmitry Sokolov.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/_TiddlyWiki Toolmap_ by David Gifford.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/_TiddlyWiki5 Bourbon_ from mkt_memory.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/_TiddlyWiki5 Forum on Reddit_ by Riz.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/_Timimi_ Extension and executable by Riz.tid +24 -8
- package/editions/tw5.com/tiddlers/community/resources/_X3DOM for TiddlyWiki 5_ by Jamal Wills.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/_file-backups_ Extension Firefox by pmario.tid +5 -3
- package/editions/tw5.com/tiddlers/community/resources/_muritest_ by Simon Huber.tid +2 -2
- package/editions/tw5.com/tiddlers/community/resources/_savetiddlers_ Extension for Chrome and Firefox by buggyj.tid +4 -2
- package/editions/tw5.com/tiddlers/community/resources/twproxy by Steve Gattuso.tid +2 -2
- package/editions/tw5.com/tiddlers/community/themes/Mono theme by JD.tid +11 -0
- package/editions/tw5.com/tiddlers/community/themes/Notebook theme by Nicolas Petton.tid +19 -0
- package/editions/tw5.com/tiddlers/community/themes/Whitespace a negative-spacious webapp-nostalgic theme by JD.tid +11 -0
- package/editions/tw5.com/tiddlers/community/{resources → themes}/_Ghostwriter theme by Rory Gibson_ by Riz.tid +2 -2
- package/editions/tw5.com/tiddlers/community/{resources → themes}/_Moments-A little color won't hurt_ by Riz.tid +2 -2
- package/editions/tw5.com/tiddlers/community/tutorials/GitHub Saver Tutorial by Mohammad.tid +23 -0
- package/editions/tw5.com/tiddlers/concepts/Cascades.tid +47 -0
- package/editions/tw5.com/tiddlers/concepts/ColourPalettes.tid +1 -1
- package/editions/tw5.com/tiddlers/concepts/Concepts.tid +5 -3
- package/editions/tw5.com/tiddlers/concepts/Date Fields.tid +5 -4
- package/editions/tw5.com/tiddlers/concepts/Edit Template Body Cascade.tid +16 -0
- package/editions/tw5.com/tiddlers/concepts/InfoPanel.tid +3 -3
- package/editions/tw5.com/tiddlers/concepts/Macros.tid +2 -2
- package/editions/tw5.com/tiddlers/concepts/Messages.tid +2 -2
- package/editions/tw5.com/tiddlers/concepts/ModuleType.tid +2 -2
- package/editions/tw5.com/tiddlers/concepts/Modules.tid +1 -1
- package/editions/tw5.com/tiddlers/concepts/Order of Tagged Tiddlers.tid +1 -1
- package/editions/tw5.com/tiddlers/concepts/PermaLinks.tid +4 -4
- package/editions/tw5.com/tiddlers/concepts/Railroad Diagrams.tid +2 -1
- package/editions/tw5.com/tiddlers/concepts/ShadowTiddlers.tid +14 -3
- package/editions/tw5.com/tiddlers/concepts/Story Tiddler Template Cascade.tid +16 -0
- package/editions/tw5.com/tiddlers/concepts/Story Tiddler Template.tid +13 -0
- package/editions/tw5.com/tiddlers/concepts/SystemTags.tid +9 -8
- package/editions/tw5.com/tiddlers/concepts/TagTiddlers.tid +1 -1
- package/editions/tw5.com/tiddlers/concepts/Tiddler Colour Cascade.tid +16 -0
- package/editions/tw5.com/tiddlers/concepts/Tiddler Icon Cascade.tid +16 -0
- package/editions/tw5.com/tiddlers/concepts/TiddlerFields.tid +36 -33
- package/editions/tw5.com/tiddlers/concepts/Transclusion.tid +1 -1
- package/editions/tw5.com/tiddlers/concepts/View Template Body Cascade.tid +19 -0
- package/editions/tw5.com/tiddlers/concepts/View Template Title Cascade.tid +16 -0
- package/editions/tw5.com/tiddlers/customising/Alternative page layouts.tid +15 -0
- package/editions/tw5.com/tiddlers/customising/Configuring startup tiddlers.tid +3 -1
- package/editions/tw5.com/tiddlers/customising/Creating new toolbar buttons.tid +35 -0
- package/editions/tw5.com/tiddlers/customising/Customise TiddlyWiki.tid +6 -5
- package/editions/tw5.com/tiddlers/customising/Customising TiddlyWiki's user interface.tid +75 -0
- package/editions/tw5.com/tiddlers/customising/Customising search results.tid +19 -1
- package/editions/tw5.com/tiddlers/definitions/BT.tid +3 -2
- package/editions/tw5.com/tiddlers/definitions/Base64.tid +1 -1
- package/editions/tw5.com/tiddlers/definitions/Cascading Style Sheets.tid +1 -1
- package/editions/tw5.com/tiddlers/definitions/Comma Separated Values.tid +1 -1
- package/editions/tw5.com/tiddlers/definitions/Data URI.tid +1 -1
- package/editions/tw5.com/tiddlers/definitions/Document Object Model.tid +1 -1
- package/editions/tw5.com/tiddlers/definitions/GitHub.tid +1 -1
- package/editions/tw5.com/tiddlers/definitions/HyperText Markup Language.tid +1 -1
- package/editions/tw5.com/tiddlers/definitions/JavaScript Object Notation.tid +1 -1
- package/editions/tw5.com/tiddlers/definitions/MathML.tid +2 -2
- package/editions/tw5.com/tiddlers/definitions/OpenSource.tid +1 -1
- package/editions/tw5.com/tiddlers/definitions/Osmosoft.tid +3 -2
- package/editions/tw5.com/tiddlers/definitions/Percent Encoding.tid +1 -1
- package/editions/tw5.com/tiddlers/definitions/Quine.tid +1 -1
- package/editions/tw5.com/tiddlers/definitions/TiddlyFox.tid +2 -2
- package/editions/tw5.com/tiddlers/definitions/URI.tid +1 -1
- package/editions/tw5.com/tiddlers/definitions/Web Developer Tools.tid +7 -0
- package/editions/tw5.com/tiddlers/definitions/node-webkit.tid +2 -1
- package/editions/tw5.com/tiddlers/demonstrations/Alice in Wonderland.tid +4 -3707
- package/editions/tw5.com/tiddlers/demonstrations/Apple.tid +2 -2
- package/editions/tw5.com/tiddlers/demonstrations/Caruso - Ave Maria.tid +1 -0
- package/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/Demo Tiddler List with Custom Story Tiddler Template.tid +10 -0
- package/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/Styles.tid +31 -0
- package/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/Template.tid +25 -0
- package/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/TiddlerTemplateFilter.tid +5 -0
- package/editions/tw5.com/tiddlers/demonstrations/CustomTiddlerColourCascadeDemo/CustomTiddlerColourCascadeDemo.tid +9 -0
- package/editions/tw5.com/tiddlers/demonstrations/CustomTiddlerIconCascadeDemo/CustomTiddlerIconCascadeDemo.tid +9 -0
- package/editions/tw5.com/tiddlers/demonstrations/ImageGallery Example.tid +5 -16
- package/editions/tw5.com/tiddlers/demonstrations/KeyboardDrivenInput/Demonstration_ keyboard-driven-input Macro.tid +121 -0
- package/editions/tw5.com/tiddlers/demonstrations/KeyboardDrivenInput/kdi-demo-configtid.tid +7 -0
- package/editions/tw5.com/tiddlers/demonstrations/SampleNotification.tid +2 -1
- package/editions/tw5.com/tiddlers/demonstrations/SampleTiddlerFirst.tid +3 -1
- package/editions/tw5.com/tiddlers/demonstrations/SampleTiddlerSecond.tid +3 -1
- package/editions/tw5.com/tiddlers/demonstrations/SampleTiddlerThird.tid +3 -1
- package/editions/tw5.com/tiddlers/demonstrations/SampleWizard.tid +2 -1
- package/editions/tw5.com/tiddlers/demonstrations/SampleWizard2.tid +2 -1
- package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/Contents.tid +3 -2
- package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/First.tid +3 -3
- package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/FirstOne.tid +2 -2
- package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/FirstThree.tid +2 -2
- package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/FirstTwo.tid +2 -2
- package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/Fourth.tid +2 -2
- package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/Second.tid +2 -2
- package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondOne.tid +2 -2
- package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondThree.tid +3 -3
- package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondThreeOne.tid +2 -2
- package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondThreeThree.tid +2 -2
- package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondThreeTwo.tid +2 -2
- package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondTwo.tid +2 -2
- package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/Third.tid +3 -3
- package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/ThirdOne.tid +2 -2
- package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/ThirdThree.tid +2 -2
- package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/ThirdTwo.tid +2 -2
- package/editions/tw5.com/tiddlers/demonstrations/Tagged with TagMacro.tid +2 -1
- package/editions/tw5.com/tiddlers/demonstrations/Tasks/Compose ballad.tid +3 -3
- package/editions/tw5.com/tiddlers/demonstrations/Tasks/Get the Ring.tid +3 -3
- package/editions/tw5.com/tiddlers/demonstrations/Tasks/Go to Mordor.tid +3 -3
- package/editions/tw5.com/tiddlers/demonstrations/Tasks/Kill the Dragon.tid +4 -4
- package/editions/tw5.com/tiddlers/demonstrations/Tasks/Make the beds.tid +3 -3
- package/editions/tw5.com/tiddlers/demonstrations/Tasks/TaskManagementExample.tid +2 -2
- package/editions/tw5.com/tiddlers/demonstrations/Tasks/TaskManagementExampleDraggable.tid +2 -2
- package/editions/tw5.com/tiddlers/demonstrations/Tasks/TaskManagementExampleDraggableTemplate.tid +1 -1
- package/editions/tw5.com/tiddlers/demonstrations/Tasks/done.tid +3 -1
- package/editions/tw5.com/tiddlers/demonstrations/Tasks/task.tid +3 -2
- package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Days of the Week.tid +5 -4
- package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Friday.tid +2 -1
- package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Monday.tid +2 -1
- package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Saturday.tid +3 -2
- package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Sunday.tid +2 -1
- package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Thursday.tid +2 -1
- package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Tuesday.tid +2 -1
- package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Wednesday.tid +2 -1
- package/editions/tw5.com/tiddlers/demonstrations/sampletag1.tid +3 -0
- package/editions/tw5.com/tiddlers/demonstrations/sampletag2.tid +3 -0
- package/editions/tw5.com/tiddlers/features/AutoSave.tid +2 -2
- package/editions/tw5.com/tiddlers/features/DateFormat.tid +15 -2
- package/editions/tw5.com/tiddlers/features/Importing Tiddlers.tid +3 -3
- package/editions/tw5.com/tiddlers/features/LazyLoading.tid +2 -3
- package/editions/tw5.com/tiddlers/features/Modals.tid +11 -2
- package/editions/tw5.com/tiddlers/features/Performance Instrumentation.tid +2 -2
- package/editions/tw5.com/tiddlers/features/SafeMode.tid +4 -2
- package/editions/tw5.com/tiddlers/features/Scalability.tid +4 -2
- package/editions/tw5.com/tiddlers/features/Searching in TiddlyWiki.tid +1 -1
- package/editions/tw5.com/tiddlers/features/StartupActions.tid +15 -6
- package/editions/tw5.com/tiddlers/fileformats/TiddlerFiles.tid +15 -4
- package/editions/tw5.com/tiddlers/filters/Filter Operators.tid +4 -4
- package/editions/tw5.com/tiddlers/filters/Introduction to filter notation.tid +11 -4
- package/editions/tw5.com/tiddlers/filters/Mathematics Operators.tid +2 -1
- package/editions/tw5.com/tiddlers/filters/acos Operator.tid +15 -0
- package/editions/tw5.com/tiddlers/filters/asin Operator.tid +15 -0
- package/editions/tw5.com/tiddlers/filters/atan Operator.tid +13 -0
- package/editions/tw5.com/tiddlers/filters/atan2 Operator.tid +15 -0
- package/editions/tw5.com/tiddlers/filters/average.tid +13 -0
- package/editions/tw5.com/tiddlers/filters/charcode.tid +17 -0
- package/editions/tw5.com/tiddlers/filters/compare Operator.tid +51 -0
- package/editions/tw5.com/tiddlers/filters/contains Operator.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/cos Operator.tid +13 -0
- package/editions/tw5.com/tiddlers/filters/cycle Operator.tid +24 -0
- package/editions/tw5.com/tiddlers/filters/deserializers Operator.tid +14 -0
- package/editions/tw5.com/tiddlers/filters/duplicateslugs Operator.tid +22 -0
- package/editions/tw5.com/tiddlers/filters/each.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/enlist Operator.tid +2 -3
- package/editions/tw5.com/tiddlers/filters/enlist-input Operator.tid +31 -0
- package/editions/tw5.com/tiddlers/filters/examples/Brownies.tid +9 -0
- package/editions/tw5.com/tiddlers/filters/examples/Chick Peas.tid +9 -0
- package/editions/tw5.com/tiddlers/filters/examples/How to remove stop words.tid +28 -0
- package/editions/tw5.com/tiddlers/filters/examples/Milk.tid +9 -0
- package/editions/tw5.com/tiddlers/filters/examples/Rice Pudding.tid +9 -0
- package/editions/tw5.com/tiddlers/filters/examples/acos Operator (Examples).tid +7 -0
- package/editions/tw5.com/tiddlers/filters/examples/allbefore.tid +1 -0
- package/editions/tw5.com/tiddlers/filters/examples/asin Operator (Examples).tid +7 -0
- package/editions/tw5.com/tiddlers/filters/examples/atan Operator (Examples).tid +7 -0
- package/editions/tw5.com/tiddlers/filters/examples/atan2 Operator (Examples).tid +7 -0
- package/editions/tw5.com/tiddlers/filters/examples/average Operator (Examples).tid +10 -0
- package/editions/tw5.com/tiddlers/filters/examples/charcode.tid +7 -0
- package/editions/tw5.com/tiddlers/filters/examples/compare Operator (Examples).tid +11 -0
- package/editions/tw5.com/tiddlers/filters/examples/cos Operator (Examples).tid +7 -0
- package/editions/tw5.com/tiddlers/filters/examples/cycle Operator (Examples).tid +21 -0
- package/editions/tw5.com/tiddlers/filters/examples/deserializers Operator (Examples).tid +7 -0
- package/editions/tw5.com/tiddlers/filters/examples/enlist-input Operator (Examples).tid +12 -0
- package/editions/tw5.com/tiddlers/filters/examples/fields.tid +6 -2
- package/editions/tw5.com/tiddlers/filters/examples/filter Operator (Examples).tid +23 -0
- package/editions/tw5.com/tiddlers/filters/examples/fixed Operator (Examples).tid +1 -0
- package/editions/tw5.com/tiddlers/filters/examples/format Operator (Examples).tid +31 -0
- package/editions/tw5.com/tiddlers/filters/examples/has.tid +3 -1
- package/editions/tw5.com/tiddlers/filters/examples/jsonstringify Operator (Examples).tid +2 -0
- package/editions/tw5.com/tiddlers/filters/examples/log Operator (Examples).tid +14 -0
- package/editions/tw5.com/tiddlers/filters/examples/lookup Operator (Examples).tid +2 -1
- package/editions/tw5.com/tiddlers/filters/examples/match Operator (Examples).tid +1 -1
- package/editions/tw5.com/tiddlers/filters/examples/median Operator (Examples).tid +10 -0
- package/editions/tw5.com/tiddlers/filters/examples/moduleproperty Operator (Examples).tid +11 -0
- package/editions/tw5.com/tiddlers/filters/examples/modules.tid +4 -1
- package/editions/tw5.com/tiddlers/filters/examples/pad Operator (Examples).tid +13 -0
- package/editions/tw5.com/tiddlers/filters/examples/power Operator (Examples).tid +8 -0
- package/editions/tw5.com/tiddlers/filters/examples/reduce Operator (Examples).tid +38 -0
- package/editions/tw5.com/tiddlers/filters/examples/search-replace Operator (Examples).tid +38 -0
- package/editions/tw5.com/tiddlers/filters/examples/sin Operator (Examples).tid +7 -0
- package/editions/tw5.com/tiddlers/filters/examples/sortsub Operator (Examples).tid +34 -0
- package/editions/tw5.com/tiddlers/filters/examples/standard-deviation Operator (Examples).tid +10 -0
- package/editions/tw5.com/tiddlers/filters/examples/stringify_Operator_(Examples).tid +2 -0
- package/editions/tw5.com/tiddlers/filters/examples/subfilter Operator (Examples).tid +25 -3
- package/editions/tw5.com/tiddlers/filters/examples/tan Operator (Examples).tid +7 -0
- package/editions/tw5.com/tiddlers/filters/examples/toggle Operator (Examples).tid +27 -0
- package/editions/tw5.com/tiddlers/filters/examples/trim Operator (Examples).tid +8 -0
- package/editions/tw5.com/tiddlers/filters/examples/unique Operator (Examples).tid +8 -0
- package/editions/tw5.com/tiddlers/filters/examples/variance Operator (Examples).tid +10 -0
- package/editions/tw5.com/tiddlers/filters/examples/zth Operator (Examples).tid +10 -0
- package/editions/tw5.com/tiddlers/filters/fields.tid +10 -7
- package/editions/tw5.com/tiddlers/filters/filter.tid +49 -0
- package/editions/tw5.com/tiddlers/filters/format.tid +24 -0
- package/editions/tw5.com/tiddlers/filters/has.tid +4 -3
- package/editions/tw5.com/tiddlers/filters/is.tid +10 -8
- package/editions/tw5.com/tiddlers/filters/jsonstringify Operator.tid +17 -8
- package/editions/tw5.com/tiddlers/filters/length Operator.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/list.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/log Operator.tid +15 -0
- package/editions/tw5.com/tiddlers/filters/median.tid +13 -0
- package/editions/tw5.com/tiddlers/filters/moduleproperty Operator.tid +12 -0
- package/editions/tw5.com/tiddlers/filters/modules.tid +8 -6
- package/editions/tw5.com/tiddlers/filters/nth.tid +9 -7
- package/editions/tw5.com/tiddlers/filters/pad Operator.tid +23 -0
- package/editions/tw5.com/tiddlers/filters/power Operator.tid +15 -0
- package/editions/tw5.com/tiddlers/filters/range.tid +22 -20
- package/editions/tw5.com/tiddlers/filters/reduce.tid +52 -0
- package/editions/tw5.com/tiddlers/filters/removeprefix.tid +2 -0
- package/editions/tw5.com/tiddlers/filters/removesuffix.tid +2 -0
- package/editions/tw5.com/tiddlers/filters/search-replace Operator.tid +28 -0
- package/editions/tw5.com/tiddlers/filters/sign Operator.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/sin Operator.tid +13 -0
- package/editions/tw5.com/tiddlers/filters/slugify Operator.tid +24 -0
- package/editions/tw5.com/tiddlers/filters/sortsub Operator.tid +33 -0
- package/editions/tw5.com/tiddlers/filters/standard-deviation Operator.tid +15 -0
- package/editions/tw5.com/tiddlers/filters/storyviews.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/stringify_Operator.tid +17 -9
- package/editions/tw5.com/tiddlers/filters/subfilter Operator.tid +6 -2
- package/editions/tw5.com/tiddlers/filters/syntax/Cascade Filter Run Prefix (Examples).tid +46 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Cascade Filter Run Prefix.tid +20 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Expression.tid +34 -13
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Filter Run Prefix (Examples).tid +30 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Filter Run Prefix.tid +27 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Parameter.tid +7 -2
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Run Prefix (Examples).tid +21 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Step.tid +4 -2
- package/editions/tw5.com/tiddlers/filters/syntax/Intersection Filter Run Prefix (Examples).tid +36 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Intersection Filter Run Prefix.tid +15 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Map Filter Run Prefix (Examples).tid +41 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Map Filter Run Prefix.tid +27 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Named Filter Run Prefix.tid +10 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Reduce Filter Run Prefix (Examples).tid +27 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Reduce Filter Run Prefix.tid +38 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Sort Filter Run Prefix (Examples).tid +33 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Sort Filter Run Prefix.tid +32 -0
- package/editions/tw5.com/tiddlers/filters/tan Operator.tid +13 -0
- package/editions/tw5.com/tiddlers/filters/title.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/toggle Operator.tid +26 -0
- package/editions/tw5.com/tiddlers/filters/trim Operator.tid +9 -4
- package/editions/tw5.com/tiddlers/filters/unique.tid +10 -0
- package/editions/tw5.com/tiddlers/filters/variance Operator.tid +15 -0
- package/editions/tw5.com/tiddlers/filters/zth Operator.tid +18 -0
- package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Android.tid +2 -1
- package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Chrome.tid +2 -1
- package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Firefox.tid +2 -1
- package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Internet Explorer.tid +2 -1
- package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Node.js.tid +2 -1
- package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Online.tid +2 -2
- package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Safari.tid +2 -1
- package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - iOS.tid +2 -1
- package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted.tid +2 -2
- package/editions/tw5.com/tiddlers/hellothere/A Gentle Guide to TiddlyWiki.tid +5 -2
- package/editions/tw5.com/tiddlers/{AllTiddlers.tid → hellothere/AllTiddlers.tid} +0 -0
- package/editions/tw5.com/tiddlers/hellothere/HelloThere.tid +4 -2
- package/editions/tw5.com/tiddlers/hellothere/HelloThumbnail.tid +1 -1
- package/editions/tw5.com/tiddlers/hellothere/Some of the things you can do with TiddlyWiki.tid +2 -2
- package/editions/tw5.com/tiddlers/hellothere/badges/ProductHunt-Badge.svg.tid +22 -0
- package/editions/tw5.com/tiddlers/hellothere/badges/ProductHunt-Link.tid +4 -0
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Grok TiddlyWiki.tid +6 -0
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyWikiLinks.tid +6 -0
- package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Default Tiddler Icon.tid +7 -0
- package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting HtmlParserDisableSandbox.tid +13 -0
- package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting NewImageType.tid +3 -1
- package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Search-NavigateOnEnter.tid +6 -0
- package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting ShowEditPreviewPerTiddler.tid +10 -0
- package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ Disable Drag and Drop.tid +19 -0
- package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ Disable Lazy Loading.tid +9 -0
- package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ Enable File Import in Editor_1.tid +12 -0
- package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ Typin Refresh Delay.tid +5 -3
- package/editions/tw5.com/tiddlers/hiddensettings/Hidden Settings_ Import Content Types for Editor.tid +11 -0
- package/editions/tw5.com/tiddlers/howtos/Adding_a_table_of_contents_to_the_sidebar.tid +2 -2
- package/editions/tw5.com/tiddlers/howtos/Creating SubStories.tid +21 -33
- package/editions/tw5.com/tiddlers/howtos/Debugging Stylesheets.tid +11 -0
- package/editions/tw5.com/tiddlers/howtos/Formatting List Results as Tables with CSS - Specified Columns Methods.tid +4 -0
- package/editions/tw5.com/tiddlers/howtos/Generating Static Sites with TiddlyWiki.tid +8 -6
- package/editions/tw5.com/tiddlers/howtos/How to add a banner for GitHub contributions.tid +1 -1
- package/editions/tw5.com/tiddlers/howtos/How to apply custom styles.tid +1 -1
- package/editions/tw5.com/tiddlers/howtos/How to create a custom story tiddler template.tid +40 -0
- package/editions/tw5.com/tiddlers/howtos/How to create a custom tiddler colour rule.tid +36 -0
- package/editions/tw5.com/tiddlers/howtos/How to create a custom tiddler icon rule.tid +36 -0
- package/editions/tw5.com/tiddlers/howtos/How to create dynamic editor toolbar buttons.tid +126 -0
- package/editions/tw5.com/tiddlers/howtos/How to create keyboard shortcuts.tid +3 -3
- package/editions/tw5.com/tiddlers/howtos/How to export tiddlers.tid +4 -4
- package/editions/tw5.com/tiddlers/howtos/How to put the last modification date in a banner.tid +1 -1
- package/editions/tw5.com/tiddlers/howtos/Insert link.tid +1 -1
- package/editions/tw5.com/tiddlers/howtos/Insert picture.tid +1 -1
- package/editions/tw5.com/tiddlers/howtos/KeyboardShortcuts.tid +9 -5
- package/editions/tw5.com/tiddlers/howtos/More actions.tid +1 -1
- package/editions/tw5.com/tiddlers/howtos/Setting a favicon.tid +4 -2
- package/editions/tw5.com/tiddlers/howtos/Setting a page background image.tid +1 -1
- package/editions/tw5.com/tiddlers/howtos/Simple ways to write protect tiddlers.tid +6 -7
- package/editions/tw5.com/tiddlers/howtos/Tagging.tid +2 -2
- package/editions/tw5.com/tiddlers/howtos/Text preview.tid +14 -2
- package/editions/tw5.com/tiddlers/howtos/Upgrading.tid +1 -1
- package/editions/tw5.com/tiddlers/howtos/Using Excise.tid +2 -2
- package/editions/tw5.com/tiddlers/howtos/Using Stamp.tid +6 -7
- package/editions/tw5.com/tiddlers/howtos/Using Stylesheets.tid +10 -4
- package/editions/tw5.com/tiddlers/howtos/Windows HTA Hack.tid +3 -2
- package/editions/tw5.com/tiddlers/images/Grok TiddlyWiki.png +0 -0
- package/editions/tw5.com/tiddlers/images/Grok TiddlyWiki.png.meta +3 -0
- package/editions/tw5.com/tiddlers/images/Icon Gallery.tid +14 -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} +0 -0
- package/editions/tw5.com/tiddlers/images/TiddlyWikiLinks.png +0 -0
- package/editions/tw5.com/tiddlers/images/TiddlyWikiLinks.png.meta +3 -0
- package/editions/tw5.com/tiddlers/languages/Japanese (Japan) Edition.tid +11 -0
- package/editions/tw5.com/tiddlers/languages/LanguageGallery.tid +2 -2
- package/editions/tw5.com/tiddlers/macros/ColourMacro.tid +2 -2
- package/editions/tw5.com/tiddlers/macros/JsonTiddlersMacro.tid +3 -1
- package/editions/tw5.com/tiddlers/macros/MakeDataUriMacro.tid +3 -1
- package/editions/tw5.com/tiddlers/macros/NowMacro.tid +3 -1
- package/editions/tw5.com/tiddlers/macros/TableOfContentsMacro.tid +3 -1
- package/editions/tw5.com/tiddlers/macros/TabsMacro.tid +6 -2
- package/editions/tw5.com/tiddlers/macros/UnusedTitleMacro.tid +28 -4
- package/editions/tw5.com/tiddlers/macros/examples/colour-picker Macro (Example 1).tid +2 -2
- package/editions/tw5.com/tiddlers/macros/examples/image-picker Macro (Example 1).tid +2 -2
- package/editions/tw5.com/tiddlers/macros/examples/image-picker Macro (Example 2).tid +2 -2
- package/editions/tw5.com/tiddlers/macros/examples/list-thumbnails Macro (Examples).tid +11 -0
- package/editions/tw5.com/tiddlers/macros/examples/qualify.tid +0 -2
- package/editions/tw5.com/tiddlers/macros/examples/unusedtitle Macro (Examples 1).tid +51 -0
- package/editions/tw5.com/tiddlers/macros/examples/unusedtitle.tid +11 -2
- package/editions/tw5.com/tiddlers/macros/keyboard-driven-input_Macro.tid +25 -0
- package/editions/tw5.com/tiddlers/macros/list-thumbnails Macro.tid +19 -0
- package/editions/tw5.com/tiddlers/macros/tag-picker_Macro.tid +2 -0
- package/editions/tw5.com/tiddlers/mechanisms/AlertMechanism.tid +1 -1
- package/editions/tw5.com/tiddlers/mechanisms/HistoryMechanism.tid +3 -3
- package/editions/tw5.com/tiddlers/mechanisms/InfoMechanism.tid +3 -1
- package/editions/tw5.com/tiddlers/mechanisms/PluginMechanism.tid +20 -10
- package/editions/tw5.com/tiddlers/mechanisms/RefreshMechanism.tid +13 -0
- package/editions/tw5.com/tiddlers/mechanisms/RefreshThrottling.tid +17 -0
- package/editions/tw5.com/tiddlers/mechanisms/StateMechanism.tid +3 -3
- package/editions/tw5.com/tiddlers/mechanisms/WikificationMechanism.tid +28 -0
- package/editions/tw5.com/tiddlers/menubar/gettingstarted.tid +6 -0
- package/editions/tw5.com/tiddlers/menubar/tagsMenuBar.tid +2 -0
- package/editions/tw5.com/tiddlers/messages/SampleModal.tid +2 -1
- package/editions/tw5.com/tiddlers/messages/SampleWindowTemplate.tid +10 -0
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-edit-text-operation.tid +27 -1
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-fold-all-tiddlers.tid +1 -1
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-fold-other-tiddlers.tid +3 -3
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-fold-tiddler.tid +13 -5
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-import-tiddlers.tid +2 -0
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-login.tid +2 -1
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-modal.tid +10 -3
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-navigate.tid +7 -1
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-open-external-window.tid +4 -4
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-open-window.tid +22 -4
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-rename-tiddler.tid +22 -0
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-scroll.tid +3 -4
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-unfold-all-tiddlers.tid +4 -4
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-unload-plugin-library.tid +18 -0
- package/editions/tw5.com/tiddlers/nodejs/Customising Tiddler File Naming.tid +40 -9
- package/editions/tw5.com/tiddlers/nodejs/Environment Variables on Node.js.tid +4 -2
- package/editions/tw5.com/tiddlers/nodejs/Installing TiddlyWiki Prerelease on Node.js.tid +2 -2
- package/editions/tw5.com/tiddlers/nodejs/Installing TiddlyWiki on Node.js.tid +12 -4
- package/editions/tw5.com/tiddlers/nodejs/Installing custom plugins on Node.js.tid +27 -0
- package/editions/tw5.com/tiddlers/nodejs/Serving TW5 from Android.tid +41 -7
- package/editions/tw5.com/tiddlers/nodejs/TiddlyWiki on Node.js.tid +3 -9
- package/editions/tw5.com/tiddlers/nodejs/Using TiddlyWiki on Node.js.tid +1 -1
- package/editions/tw5.com/tiddlers/nodejs/tiddlywiki.files_Files.tid +43 -5
- package/editions/tw5.com/tiddlers/nodejs/tiddlywiki.info_Files.tid +2 -2
- package/editions/tw5.com/tiddlers/platforms/TiddlyFox Apocalypse.tid +2 -2
- package/editions/tw5.com/tiddlers/platforms/TiddlyWiki in the Sky for TiddlyWeb.tid +3 -15
- package/editions/tw5.com/tiddlers/plugins/Consent Banner Plugin.tid +14 -0
- package/editions/tw5.com/tiddlers/plugins/Installing a plugin from the plugin library.tid +9 -6
- package/editions/tw5.com/tiddlers/plugins/JSZip Plugin.tid +7 -0
- package/editions/tw5.com/tiddlers/plugins/Manually installing a plugin.tid +4 -3
- package/editions/tw5.com/tiddlers/plugins/Plugin Dependencies.tid +13 -0
- package/editions/tw5.com/tiddlers/plugins/Plugin Types.tid +20 -0
- package/editions/tw5.com/tiddlers/plugins/PluginFolders.tid +2 -1
- package/editions/tw5.com/tiddlers/plugins/Plugin_Fields.tid +12 -12
- package/editions/tw5.com/tiddlers/plugins/Share Plugin.tid +12 -0
- package/editions/tw5.com/tiddlers/plugins/Uninstalling a plugin.tid +9 -7
- package/editions/tw5.com/tiddlers/reference/Reference.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/BetaReleases.tid +2 -2
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.22.tid +179 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.23.tid +293 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.8.tid +1 -1
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.0.tid +297 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.1.tid +118 -0
- package/editions/tw5.com/tiddlers/releasenotes/ReleaseTemplate.tid +3 -0
- package/editions/tw5.com/tiddlers/releasenotes/alpha/AlphaReleases.tid +2 -2
- package/editions/tw5.com/tiddlers/roadmap/RoadMap.tid +3 -10
- package/editions/tw5.com/tiddlers/saving/Emergency Tiddler Export.tid +4 -4
- package/editions/tw5.com/tiddlers/saving/Encryption.tid +3 -3
- package/editions/tw5.com/tiddlers/saving/Example config-tiddlyweb-host for IIS.txt.meta +1 -1
- package/editions/tw5.com/tiddlers/saving/Example package.json for IIS.txt.meta +1 -1
- package/editions/tw5.com/tiddlers/saving/Example tiddlywiki.info for IIS.txt.meta +1 -1
- package/editions/tw5.com/tiddlers/saving/Example web.config for IIS.txt.meta +1 -1
- package/editions/tw5.com/tiddlers/saving/Installing TiddlyWiki on Microsoft Internet Information Server.tid +2 -1
- package/editions/tw5.com/tiddlers/saving/Saving on Android.tid +22 -14
- package/editions/tw5.com/tiddlers/saving/Saving on Beaker Browser.tid +2 -1
- package/editions/tw5.com/tiddlers/saving/Saving on TiddlyDesktop.tid +4 -1
- package/editions/tw5.com/tiddlers/saving/Saving on TiddlyHost.tid +17 -0
- package/editions/tw5.com/tiddlers/saving/Saving on TiddlySpot.tid +24 -32
- package/editions/tw5.com/tiddlers/saving/Saving on a PHP Server.tid +5 -3
- package/editions/tw5.com/tiddlers/saving/Saving on iPad_iPhone.tid +15 -16
- package/editions/tw5.com/tiddlers/saving/Saving to a Git service.tid +10 -9
- package/editions/tw5.com/tiddlers/saving/Saving via WebDAV.tid +66 -12
- package/editions/tw5.com/tiddlers/saving/Saving via minimal Ruby server.tid +4 -2
- package/editions/tw5.com/tiddlers/saving/Saving with TW Receiver.tid +15 -0
- package/editions/tw5.com/tiddlers/saving/Saving with TiddlyFox on Android.tid +2 -2
- package/editions/tw5.com/tiddlers/saving/Saving with TiddlyFox.tid +5 -3
- package/editions/tw5.com/tiddlers/saving/Saving with TiddlyIE.tid +6 -4
- package/editions/tw5.com/tiddlers/saving/Saving with the HTML5 fallback saver.tid +5 -4
- package/editions/tw5.com/tiddlers/saving/Saving.tid +55 -24
- package/editions/tw5.com/tiddlers/saving/TiddlyWiki in the Sky for Dropbox.tid +4 -3
- package/editions/tw5.com/tiddlers/styleguide/Documentation Macros.tid +6 -2
- package/editions/tw5.com/tiddlers/styleguide/Spelling.tid +1 -1
- package/editions/tw5.com/tiddlers/styleguide/Tiddler Structure.tid +3 -1
- package/editions/tw5.com/tiddlers/system/Deprecated_-_What_does_it_mean.tid +2 -2
- package/editions/tw5.com/tiddlers/{TableOfContents.tid → system/TableOfContents.tid} +0 -0
- package/editions/tw5.com/tiddlers/system/doc-macros.tid +36 -0
- package/editions/tw5.com/tiddlers/system/doc-styles.tid +53 -2
- package/editions/tw5.com/tiddlers/system/download-empty-button.tid +4 -1
- package/editions/tw5.com/tiddlers/system/operator-macros.tid +12 -5
- package/editions/tw5.com/tiddlers/system/operator-template.tid +8 -8
- package/editions/tw5.com/tiddlers/system/static.content.tid +2 -2
- package/editions/tw5.com/tiddlers/system/tw5.com-card-template.tid +17 -0
- package/editions/tw5.com/tiddlers/system/tw5.com-styles.tid +128 -2
- package/editions/tw5.com/tiddlers/system/version-macros.tid +2 -2
- package/editions/tw5.com/tiddlers/system/wikitext-macros.tid +4 -0
- package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_ControlPanel_Plugins.tid +9 -0
- package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_EditorTools.tid +9 -0
- package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_Image.tid +2 -2
- package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_Layout.tid +9 -0
- package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_Macro_View.tid +9 -0
- package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_Texteditor_Snippet.tid +4 -4
- package/editions/tw5.com/tiddlers/variables/examples/Sample Headings 1-2-3.tid +2 -1
- package/editions/tw5.com/tiddlers/variables/examples/Sample Headings 3-4-5.tid +2 -1
- package/editions/tw5.com/tiddlers/variables/examples/Sample Headings 4-5-6.tid +2 -1
- package/editions/tw5.com/tiddlers/variables/modifier Variable.tid +25 -3
- package/editions/tw5.com/tiddlers/webserver/Using the external JavaScript template.tid +88 -7
- package/editions/tw5.com/tiddlers/webserver/WebServer API_ Delete Tiddler.tid +5 -1
- package/editions/tw5.com/tiddlers/webserver/WebServer API_ Get All Tiddlers.tid +15 -3
- package/editions/tw5.com/tiddlers/webserver/WebServer API_ Put Tiddler.tid +5 -1
- package/editions/tw5.com/tiddlers/webserver/WebServer Parameter_ path-prefix.tid +7 -2
- package/editions/tw5.com/tiddlers/webserver/WebServer Parameter_ port.tid +2 -1
- package/editions/tw5.com/tiddlers/webserver/WebServer Parameter_ tiddler-render-type.tid +2 -2
- package/editions/tw5.com/tiddlers/widgets/$__docs_anyField.tid +8 -0
- package/editions/tw5.com/tiddlers/widgets/ActionConfirmWidget.tid +40 -0
- package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget Example 1.tid +26 -0
- package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget Example 2.tid +28 -0
- package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget Example 3.tid +28 -0
- package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget Example 4.tid +28 -0
- package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget Template.tid +8 -0
- package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget.tid +39 -6
- package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget_Example.tid +7 -5
- package/editions/tw5.com/tiddlers/widgets/ActionListopsWidget.tid +53 -3
- package/editions/tw5.com/tiddlers/widgets/ActionLogWidget.tid +50 -0
- package/editions/tw5.com/tiddlers/widgets/ActionPopupWidget.tid +34 -0
- package/editions/tw5.com/tiddlers/widgets/ActionSendMessageWidget.tid +3 -1
- package/editions/tw5.com/tiddlers/widgets/ActionSetMultipleFieldsWidget.tid +31 -0
- package/editions/tw5.com/tiddlers/widgets/ActionWidget Execution Modes.tid +49 -0
- package/editions/tw5.com/tiddlers/widgets/ActionWidgets.tid +10 -7
- package/editions/tw5.com/tiddlers/widgets/BrowseWidget.tid +4 -2
- package/editions/tw5.com/tiddlers/widgets/ButtonWidget.tid +13 -11
- package/editions/tw5.com/tiddlers/widgets/CheckboxWidget.tid +3 -2
- package/editions/tw5.com/tiddlers/widgets/DraggableWidget.tid +3 -2
- package/editions/tw5.com/tiddlers/widgets/DroppableWidget.tid +3 -2
- package/editions/tw5.com/tiddlers/widgets/DropzoneWidget.tid +13 -4
- package/editions/tw5.com/tiddlers/widgets/EditTextWidget.tid +13 -18
- package/editions/tw5.com/tiddlers/widgets/EditWidget.tid +10 -4
- package/editions/tw5.com/tiddlers/widgets/EventCatcherWidget.tid +93 -0
- package/editions/tw5.com/tiddlers/widgets/FieldMangler Widget (Examples).tid +10 -0
- package/editions/tw5.com/tiddlers/widgets/FieldManglerWidget.tid +3 -3
- package/editions/tw5.com/tiddlers/widgets/FieldsWidget.tid +3 -0
- package/editions/tw5.com/tiddlers/widgets/ImportVariablesWidget.tid +1 -1
- package/editions/tw5.com/tiddlers/widgets/JSONTiddlerWidget.tid +22 -0
- package/editions/tw5.com/tiddlers/widgets/Keyboard Codes.tid +27 -0
- package/editions/tw5.com/tiddlers/widgets/KeyboardWidget.tid +26 -3
- package/editions/tw5.com/tiddlers/widgets/LetWidget.tid +57 -0
- package/editions/tw5.com/tiddlers/widgets/LinkCatcherWidget.tid +3 -3
- package/editions/tw5.com/tiddlers/widgets/LinkWidget.tid +7 -2
- package/editions/tw5.com/tiddlers/widgets/ListWidget.tid +34 -1
- package/editions/tw5.com/tiddlers/widgets/ListopsData.tid +1 -0
- package/editions/tw5.com/tiddlers/widgets/LogWidget.tid +45 -0
- package/editions/tw5.com/tiddlers/widgets/MacroCallWidget.tid +21 -7
- package/editions/tw5.com/tiddlers/widgets/MessageCatcherWidget.tid +46 -0
- package/editions/tw5.com/tiddlers/widgets/MessageHandlerWidgets.tid +13 -0
- package/editions/tw5.com/tiddlers/widgets/NavigatorWidget.tid +7 -5
- package/editions/tw5.com/tiddlers/widgets/RadioWidget Example.tid +35 -0
- package/editions/tw5.com/tiddlers/widgets/RadioWidget ExampleTemplate.tid +7 -0
- package/editions/tw5.com/tiddlers/widgets/RadioWidget.tid +11 -6
- package/editions/tw5.com/tiddlers/widgets/RangeWidget Example.tid +53 -0
- package/editions/tw5.com/tiddlers/widgets/RangeWidget.tid +16 -9
- package/editions/tw5.com/tiddlers/widgets/RevealWidget.tid +9 -8
- package/editions/tw5.com/tiddlers/widgets/SelectWidget.tid +27 -3
- package/editions/tw5.com/tiddlers/widgets/SetMultipleVariablesWidget.tid +33 -0
- package/editions/tw5.com/tiddlers/widgets/SetWidget.tid +64 -35
- package/editions/tw5.com/tiddlers/widgets/The Extended Listops Filters.tid +2 -1
- package/editions/tw5.com/tiddlers/widgets/TriggeringWidgets.tid +13 -0
- package/editions/tw5.com/tiddlers/widgets/VarsWidget.tid +7 -5
- package/editions/tw5.com/tiddlers/widgets/ViewWidget.tid +7 -2
- package/editions/tw5.com/tiddlers/wikitext/Anchor Links using HTML.tid +200 -0
- package/editions/tw5.com/tiddlers/wikitext/Block Quotes in WikiText.tid +1 -1
- package/editions/tw5.com/tiddlers/wikitext/Code Blocks in WikiText.tid +2 -2
- package/editions/tw5.com/tiddlers/wikitext/Formatting in WikiText.tid +7 -7
- package/editions/tw5.com/tiddlers/wikitext/HTML in WikiText.tid +27 -2
- package/editions/tw5.com/tiddlers/wikitext/Images in WikiText.tid +17 -2
- package/editions/tw5.com/tiddlers/wikitext/Linking in WikiText.tid +1 -1
- package/editions/tw5.com/tiddlers/wikitext/Lists in WikiText.tid +2 -2
- package/editions/tw5.com/tiddlers/wikitext/Transclusion and Substitution.tid +3 -2
- package/editions/tw5.com/tiddlers/workingwithtw/Creating and editing tiddlers.tid +6 -6
- package/editions/tw5.com/tiddlers/workingwithtw/Creating journal tiddlers.tid +3 -3
- package/editions/tw5.com/tiddlers/workingwithtw/Navigating between open tiddlers.tid +1 -1
- package/editions/tw5.com/tiddlers/workingwithtw/Performance.tid +11 -3
- package/editions/tw5.com/tiddlers/workingwithtw/Sharing your tiddlers with others.tid +5 -4
- package/editions/tw5.com/tiddlers/workingwithtw/Using links to navigate between tiddlers.tid +2 -2
- package/editions/tw5.com/tiddlywiki.info +5 -3
- package/editions/tw5.com-docs/tiddlywiki.info +2 -1
- package/editions/tw5.com-server/tiddlywiki.info +2 -1
- package/editions/tw5tank/tiddlywiki.info +3 -2
- package/editions/xlsx-utils/tiddlers/samples/Presidents and Justices.xlsx and b/package/editions/xlsx-utils/tiddlers/samples/Presidents → Justices.xlsx +0 -0
- package/editions/zh-Hans/tiddlywiki.info +2 -1
- package/editions/zh-Hant/tiddlywiki.info +2 -1
- package/languages/ar-PS/Buttons.multids +161 -0
- package/languages/ar-PS/ControlPanel.multids +258 -0
- package/languages/ar-PS/CoreReadMe.tid +8 -0
- package/languages/ar-PS/Dates.multids +90 -0
- package/languages/ar-PS/Docs/ModuleTypes.multids +2 -0
- package/languages/ar-PS/Docs/PaletteColours.multids +2 -0
- package/languages/ar-PS/EditTemplate.multids +27 -0
- package/languages/ar-PS/Exporters.multids +5 -0
- package/languages/ar-PS/Fields.multids +2 -0
- package/languages/ar-PS/Filters.multids +2 -0
- package/languages/ar-PS/GettingStarted.tid +17 -0
- package/languages/ar-PS/Import.multids +17 -0
- package/languages/ar-PS/Misc.multids +77 -0
- package/languages/ar-PS/Modals/Download.tid +13 -0
- package/languages/ar-PS/Modals/SaveInstructions.tid +22 -0
- package/languages/ar-PS/NewJournal.multids +4 -0
- package/languages/ar-PS/Notifications.multids +8 -0
- package/languages/ar-PS/Search.multids +23 -0
- package/languages/ar-PS/SideBar.multids +17 -0
- package/languages/ar-PS/SiteSubtitle.tid +3 -0
- package/languages/ar-PS/SiteTitle.tid +3 -0
- package/languages/ar-PS/ThemeTweaks.multids +2 -0
- package/languages/ar-PS/TiddlerInfo.multids +26 -0
- package/languages/ar-PS/icon.tid +7 -0
- package/languages/ar-PS/plugin.info +9 -0
- package/languages/ca-ES/Buttons.multids +24 -24
- package/languages/ca-ES/ControlPanel.multids +39 -24
- package/languages/ca-ES/Dates.multids +43 -43
- package/languages/ca-ES/Docs/ModuleTypes.multids +2 -2
- package/languages/ca-ES/Docs/PaletteColours.multids +2 -0
- package/languages/ca-ES/EditTemplate.multids +7 -1
- package/languages/ca-ES/Fields.multids +13 -12
- package/languages/ca-ES/Filters.multids +1 -1
- package/languages/ca-ES/Help/notfound.tid +1 -1
- package/languages/ca-ES/Import.multids +11 -0
- package/languages/ca-ES/Misc.multids +23 -3
- package/languages/ca-ES/Search.multids +1 -1
- package/languages/ca-ES/SideBar.multids +1 -1
- package/languages/ca-ES/Snippets/TableOfContents.tid +2 -2
- package/languages/ca-ES/ThemeTweaks.multids +17 -17
- package/languages/cs-CZ/Fields.multids +0 -1
- package/languages/cs-CZ/Misc.multids +0 -1
- package/languages/da-DK/Fields.multids +0 -1
- package/languages/da-DK/Misc.multids +0 -1
- package/languages/de-DE/ControlPanel.multids +49 -27
- package/languages/de-DE/CoreReadMe.tid +1 -1
- package/languages/de-DE/Docs/ModuleTypes.multids +2 -1
- package/languages/de-DE/Docs/PaletteColours.multids +2 -0
- package/languages/de-DE/EditTemplate.multids +9 -1
- package/languages/de-DE/Fields.multids +2 -1
- package/languages/de-DE/Help/help.tid +1 -1
- package/languages/de-DE/Help/import.tid +1 -1
- package/languages/de-DE/Help/listen.tid +3 -2
- package/languages/de-DE/Help/render.tid +2 -1
- package/languages/de-DE/Help/rendertiddlers.tid +2 -2
- package/languages/de-DE/Help/{savewikifolder.tig → savewikifolder.tid} +0 -0
- package/languages/de-DE/Import.multids +18 -7
- package/languages/de-DE/Misc.multids +26 -4
- package/languages/de-DE/NewJournal.multids +0 -1
- package/languages/de-DE/NewJournalTags.tid +3 -0
- package/languages/de-DE/Search.multids +1 -1
- package/languages/de-DE/ThemeTweaks.multids +2 -2
- package/languages/de-DE/TiddlerInfo.multids +1 -1
- package/languages/el-GR/Fields.multids +0 -1
- package/languages/el-GR/Misc.multids +1 -2
- package/languages/es-ES/Buttons.multids +29 -6
- package/languages/es-ES/ControlPanel.multids +97 -37
- package/languages/es-ES/Dates.multids +11 -1
- package/languages/es-ES/Docs/ModuleTypes.multids +8 -0
- package/languages/es-ES/Docs/PaletteColours.multids +109 -0
- package/languages/es-ES/EditTemplate.multids +18 -11
- package/languages/es-ES/Exporters.multids +2 -2
- package/languages/es-ES/Fields.multids +7 -5
- package/languages/es-ES/Filters.multids +9 -7
- package/languages/es-ES/GettingStarted.tid +1 -0
- package/languages/es-ES/Help/deletetiddlers.tid +8 -0
- package/languages/es-ES/Help/fetch.tid +38 -0
- package/languages/es-ES/Help/import.tid +24 -0
- package/languages/es-ES/Help/init.tid +1 -7
- package/languages/es-ES/Help/listen.tid +35 -0
- package/languages/es-ES/Help/load.tid +5 -2
- package/languages/es-ES/Help/makelibrary.tid +1 -3
- package/languages/es-ES/Help/password.tid +2 -1
- package/languages/es-ES/Help/render.tid +35 -0
- package/languages/es-ES/Help/rendertiddler.tid +14 -3
- package/languages/es-ES/Help/rendertiddlers.tid +6 -6
- package/languages/es-ES/Help/save.tid +25 -0
- package/languages/es-ES/Help/savetiddler.tid +3 -2
- package/languages/es-ES/Help/savetiddlers.tid +6 -3
- package/languages/es-ES/Help/savewikifolder.tid +19 -0
- package/languages/es-ES/Help/server.tid +12 -8
- package/languages/es-ES/Import.multids +23 -4
- package/languages/es-ES/Misc.multids +68 -22
- package/languages/es-ES/NewJournalTags.tid +3 -0
- package/languages/es-ES/Notifications.multids +3 -1
- package/languages/es-ES/Search.multids +1 -0
- package/languages/es-ES/SideBar.multids +1 -0
- package/languages/es-ES/ThemeTweaks.multids +42 -0
- package/languages/es-ES/TiddlerInfo.multids +2 -2
- package/languages/es-ES/Types/{application%2Fjavascript.tid → application_javascript.tid} +1 -0
- package/languages/es-ES/Types/{application%2Fjson.tid → application_json.tid} +1 -0
- package/languages/es-ES/Types/{application%2Fx-tiddler-dictionary.tid → application_x_tiddler_dictionary.tid} +1 -0
- package/languages/es-ES/Types/{image%2Fgif.tid → image_gif.tid} +1 -0
- package/languages/es-ES/Types/{image%2Fjpeg.tid → image_jpeg.tid} +1 -0
- package/languages/es-ES/Types/{image%2Fpng.tid → image_png.tid} +1 -0
- package/languages/es-ES/Types/{image%2Fsvg%2Bxml.tid → image_svg_xml.tid} +1 -0
- package/languages/es-ES/Types/{image%2Fx-icon.tid → image_x-icon.tid} +1 -0
- package/languages/es-ES/Types/{text%2Fcss.tid → text_css.tid} +1 -0
- package/languages/es-ES/Types/{text%2Fhtml.tid → text_html.tid} +1 -0
- package/languages/es-ES/Types/{text%2Fplain.tid → text_plain.tid} +1 -0
- package/languages/es-ES/Types/{text%2Fvnd.tiddlywiki.tid → text_vnd.tiddlywiki.tid} +1 -0
- package/languages/es-ES/Types/{text%2Fx-tiddlywiki.tid → text_x-tiddlywiki.tid} +1 -0
- package/languages/es-ES/plugin.info +3 -3
- package/languages/fa-IR/Misc.multids +1 -2
- package/languages/fr-FR/Buttons.multids +4 -0
- package/languages/fr-FR/ControlPanel.multids +21 -2
- package/languages/fr-FR/Docs/ModuleTypes.multids +2 -1
- package/languages/fr-FR/Docs/PaletteColours.multids +2 -0
- package/languages/fr-FR/EditTemplate.multids +8 -0
- package/languages/fr-FR/Fields.multids +2 -1
- package/languages/fr-FR/Filters.multids +3 -2
- package/languages/fr-FR/Help/listen.tid +2 -0
- package/languages/fr-FR/Help/render.tid +5 -4
- package/languages/fr-FR/Help/rendertiddler.tid +2 -0
- package/languages/fr-FR/Help/rendertiddlers.tid +4 -2
- package/languages/fr-FR/Help/savetiddler.tid +2 -0
- package/languages/fr-FR/Help/savetiddlers.tid +2 -0
- package/languages/fr-FR/Import.multids +21 -10
- package/languages/fr-FR/Misc.multids +25 -3
- package/languages/fr-FR/NewJournalTags.tid +3 -0
- package/languages/fr-FR/TiddlerInfo.multids +2 -2
- package/languages/he-IL/Fields.multids +0 -1
- package/languages/he-IL/Misc.multids +0 -1
- package/languages/hi-IN/Fields.multids +0 -1
- package/languages/hi-IN/Misc.multids +0 -1
- package/languages/ia-IA/Fields.multids +0 -1
- package/languages/ia-IA/Misc.multids +0 -1
- package/languages/it-IT/Fields.multids +0 -1
- package/languages/it-IT/Misc.multids +0 -1
- package/languages/ja-JP/Fields.multids +0 -1
- package/languages/ja-JP/Misc.multids +0 -1
- package/languages/ko-KR/Fields.multids +0 -1
- package/languages/ko-KR/Misc.multids +0 -1
- package/languages/nl-NL/Buttons.multids +2 -0
- package/languages/nl-NL/ControlPanel.multids +32 -0
- package/languages/nl-NL/Docs/PaletteColours.multids +2 -0
- package/languages/nl-NL/EditTemplate.multids +4 -0
- package/languages/nl-NL/Fields.multids +4 -1
- package/languages/nl-NL/Filters.multids +1 -0
- package/languages/nl-NL/Help/deletetiddlers.tid +8 -0
- package/languages/nl-NL/Help/savewikifolder.tid +19 -0
- package/languages/nl-NL/Import.multids +8 -0
- package/languages/nl-NL/Misc.multids +16 -3
- package/languages/pa-IN/Fields.multids +0 -1
- package/languages/pa-IN/Misc.multids +0 -1
- package/languages/pl-PL/Buttons.multids +189 -0
- package/languages/pl-PL/ControlPanel.multids +216 -0
- package/languages/pl-PL/Dates.multids +88 -0
- package/languages/pl-PL/Docs/ModuleTypes.multids +30 -0
- package/languages/pl-PL/Docs/PaletteColours.multids +109 -0
- package/languages/pl-PL/EditTemplate.multids +38 -0
- package/languages/pl-PL/Exporters.multids +7 -0
- package/languages/pl-PL/Fields.multids +39 -0
- package/languages/pl-PL/Filters.multids +16 -0
- package/languages/pl-PL/GettingStarted.tid +17 -0
- package/languages/pl-PL/Help/build.tid +12 -0
- package/languages/pl-PL/Help/clearpassword.tid +8 -0
- package/languages/pl-PL/Help/default.tid +22 -0
- package/languages/pl-PL/Help/deletetiddlers.tid +8 -0
- package/languages/pl-PL/Help/editions.tid +8 -0
- package/languages/pl-PL/Help/fetch.tid +40 -0
- package/languages/pl-PL/Help/help.tid +10 -0
- package/languages/pl-PL/Help/import.tid +24 -0
- package/languages/pl-PL/Help/init.tid +23 -0
- package/languages/pl-PL/Help/listen.tid +35 -0
- package/languages/pl-PL/Help/load.tid +19 -0
- package/languages/pl-PL/Help/makelibrary.tid +14 -0
- package/languages/pl-PL/Help/notfound.tid +3 -0
- package/languages/pl-PL/Help/output.tid +11 -0
- package/languages/pl-PL/Help/password.tid +10 -0
- package/languages/pl-PL/Help/render.tid +35 -0
- package/languages/pl-PL/Help/rendertiddler.tid +24 -0
- package/languages/pl-PL/Help/rendertiddlers.tid +20 -0
- package/languages/pl-PL/Help/save.tid +25 -0
- package/languages/pl-PL/Help/savetiddler.tid +14 -0
- package/languages/pl-PL/Help/savetiddlers.tid +16 -0
- package/languages/pl-PL/Help/savewikifolder.tid +19 -0
- package/languages/pl-PL/Help/server.tid +42 -0
- package/languages/pl-PL/Help/setfield.tid +17 -0
- package/languages/pl-PL/Help/unpackplugin.tid +8 -0
- package/languages/pl-PL/Help/verbose.tid +8 -0
- package/languages/pl-PL/Help/version.tid +8 -0
- package/languages/pl-PL/Import.multids +35 -0
- package/languages/pl-PL/Misc.multids +95 -0
- package/languages/pl-PL/Modals/Download.tid +12 -0
- package/languages/pl-PL/Modals/SaveInstructions.tid +21 -0
- package/languages/pl-PL/NewJournal.multids +4 -0
- package/languages/pl-PL/NewJournalTags.tid +3 -0
- package/languages/pl-PL/Notifications.multids +6 -0
- package/languages/pl-PL/Search.multids +21 -0
- package/languages/pl-PL/SideBar.multids +18 -0
- package/languages/pl-PL/SiteSubtitle.tid +3 -0
- package/languages/pl-PL/SiteTitle.tid +3 -0
- package/languages/pl-PL/Snippets/ListByTag.tid +5 -0
- package/languages/pl-PL/Snippets/MacroDefinition.tid +7 -0
- package/languages/pl-PL/Snippets/Table 4x3.tid +8 -0
- package/languages/pl-PL/Snippets/TableOfContents.tid +9 -0
- package/languages/pl-PL/ThemeTweaks.multids +42 -0
- package/languages/pl-PL/TiddlerInfo.multids +22 -0
- package/languages/pl-PL/Types/application_javascript.tid +5 -0
- package/languages/pl-PL/Types/application_json.tid +5 -0
- package/languages/pl-PL/Types/application_x_tiddler_dictionary.tid +5 -0
- package/languages/pl-PL/Types/image_gif.tid +5 -0
- package/languages/pl-PL/Types/image_jpeg.tid +5 -0
- package/languages/pl-PL/Types/image_png.tid +5 -0
- package/languages/pl-PL/Types/image_svg_xml.tid +5 -0
- package/languages/pl-PL/Types/image_x-icon.tid +5 -0
- package/languages/pl-PL/Types/text_css.tid +5 -0
- package/languages/pl-PL/Types/text_html.tid +5 -0
- package/languages/pl-PL/Types/text_plain.tid +5 -0
- package/languages/pl-PL/Types/text_vnd.tiddlywiki.tid +5 -0
- package/languages/pl-PL/Types/text_x-tiddlywiki.tid +5 -0
- package/languages/pl-PL/icon.tid +7 -0
- package/languages/pl-PL/plugin.info +8 -0
- package/languages/pl-PL/readme.md +1 -0
- package/languages/pt-BR/Fields.multids +0 -1
- package/languages/pt-BR/Misc.multids +0 -1
- package/languages/pt-PT/Buttons.multids +17 -6
- package/languages/pt-PT/ControlPanel.multids +43 -4
- package/languages/pt-PT/Dates.multids +33 -31
- package/languages/pt-PT/Docs/ModuleTypes.multids +4 -1
- package/languages/pt-PT/Docs/PaletteColours.multids +8 -6
- package/languages/pt-PT/EditTemplate.multids +6 -1
- package/languages/pt-PT/Fields.multids +3 -1
- package/languages/pt-PT/Filters.multids +2 -0
- package/languages/pt-PT/GettingStarted.tid +1 -1
- package/languages/pt-PT/Help/build.tid +2 -3
- package/languages/pt-PT/Help/clearpassword.tid +1 -1
- package/languages/pt-PT/Help/default.tid +1 -1
- package/languages/pt-PT/Help/deletetiddlers.tid +8 -0
- package/languages/pt-PT/Help/editions.tid +1 -1
- package/languages/pt-PT/Help/fetch.tid +38 -0
- package/languages/pt-PT/Help/help.tid +1 -1
- package/languages/pt-PT/Help/import.tid +24 -0
- package/languages/pt-PT/Help/init.tid +1 -1
- package/languages/pt-PT/Help/listen.tid +34 -0
- package/languages/pt-PT/Help/load.tid +1 -1
- package/languages/pt-PT/Help/makelibrary.tid +1 -1
- package/languages/pt-PT/Help/output.tid +1 -2
- package/languages/pt-PT/Help/password.tid +1 -2
- package/languages/pt-PT/Help/render.tid +34 -0
- package/languages/pt-PT/Help/rendertiddlers.tid +1 -1
- package/languages/pt-PT/Help/save.tid +25 -0
- package/languages/pt-PT/Help/savetiddler.tid +1 -1
- package/languages/pt-PT/Help/savetiddlers.tid +1 -1
- package/languages/pt-PT/Help/savewikifolder.tid +19 -0
- package/languages/pt-PT/Help/server.tid +1 -1
- package/languages/pt-PT/Help/setfield.tid +1 -1
- package/languages/pt-PT/Help/unpackplugin.tid +2 -2
- package/languages/pt-PT/Help/verbose.tid +1 -1
- package/languages/pt-PT/Help/version.tid +1 -1
- package/languages/pt-PT/Import.multids +8 -0
- package/languages/pt-PT/Misc.multids +8 -4
- package/languages/pt-PT/NewJournal.multids +1 -0
- package/languages/pt-PT/Notifications.multids +2 -0
- package/languages/pt-PT/Search.multids +7 -7
- package/languages/pt-PT/SideBar.multids +1 -0
- package/languages/pt-PT/SiteSubtitle.tid +1 -1
- package/languages/pt-PT/SiteTitle.tid +1 -1
- package/languages/pt-PT/ThemeTweaks.multids +2 -1
- package/languages/ru-RU/Docs/Fields.multids +0 -1
- package/languages/ru-RU/Misc.multids +0 -1
- package/languages/sk-SK/Fields.multids +0 -1
- package/languages/sk-SK/Misc.multids +0 -1
- package/languages/sl-SI/Fields.multids +0 -1
- package/languages/sl-SI/Misc.multids +1 -2
- package/languages/sv-SE/Fields.multids +0 -1
- package/languages/sv-SE/Misc.multids +0 -1
- package/languages/zh-Hans/Buttons.multids +1 -1
- package/languages/zh-Hans/ControlPanel.multids +45 -13
- package/languages/zh-Hans/Docs/ModuleTypes.multids +2 -1
- package/languages/zh-Hans/Docs/PaletteColours.multids +2 -0
- package/languages/zh-Hans/EditTemplate.multids +6 -0
- package/languages/zh-Hans/Fields.multids +2 -1
- package/languages/zh-Hans/Help/listen.tid +4 -2
- package/languages/zh-Hans/Help/render.tid +2 -2
- package/languages/zh-Hans/Help/rendertiddlers.tid +2 -2
- package/languages/zh-Hans/Help/save.tid +1 -1
- package/languages/zh-Hans/Import.multids +18 -7
- package/languages/zh-Hans/Misc.multids +28 -6
- package/languages/zh-Hans/NewJournal.multids +0 -1
- package/languages/zh-Hans/NewJournalTags.tid +3 -0
- package/languages/zh-Hans/TiddlerInfo.multids +1 -1
- package/languages/zh-Hant/Buttons.multids +1 -1
- package/languages/zh-Hant/ControlPanel.multids +47 -15
- package/languages/zh-Hant/Docs/ModuleTypes.multids +2 -1
- package/languages/zh-Hant/Docs/PaletteColours.multids +2 -0
- package/languages/zh-Hant/EditTemplate.multids +6 -0
- package/languages/zh-Hant/Fields.multids +2 -1
- package/languages/zh-Hant/Help/listen.tid +5 -3
- package/languages/zh-Hant/Help/render.tid +2 -2
- package/languages/zh-Hant/Help/rendertiddlers.tid +2 -2
- package/languages/zh-Hant/Help/save.tid +1 -1
- package/languages/zh-Hant/Import.multids +18 -7
- package/languages/zh-Hant/Misc.multids +25 -3
- package/languages/zh-Hant/NewJournal.multids +0 -1
- package/languages/zh-Hant/NewJournalTags.tid +3 -0
- package/languages/zh-Hant/TiddlerInfo.multids +1 -1
- package/license +1 -1
- package/licenses/cla-individual.md +102 -0
- package/package.json +4 -2
- package/plugins/tiddlywiki/async/plugin.info +3 -3
- package/plugins/tiddlywiki/aws/docs/help.tid +2 -2
- package/plugins/tiddlywiki/aws/docs/readme.tid +1 -0
- package/plugins/tiddlywiki/aws/modules/encodings.js +27 -0
- package/plugins/tiddlywiki/aws/plugin.info +4 -4
- package/plugins/tiddlywiki/bibtex/deserializer.js +3 -2
- package/plugins/tiddlywiki/bibtex/files/LICENSE +0 -0
- package/plugins/tiddlywiki/bibtex/files/README.md +0 -0
- package/plugins/tiddlywiki/bibtex/files/bibtexParse.js +42 -26
- package/plugins/tiddlywiki/bibtex/plugin.info +2 -2
- package/plugins/tiddlywiki/blog/plugin.info +2 -3
- package/plugins/tiddlywiki/browser-sniff/plugin.info +2 -3
- package/plugins/tiddlywiki/browser-storage/config/SaveFilter.tid +1 -1
- package/plugins/tiddlywiki/browser-storage/plugin.info +2 -3
- package/plugins/tiddlywiki/browser-storage/settings.tid +1 -1
- package/plugins/tiddlywiki/browser-storage/startup.js +1 -1
- package/plugins/tiddlywiki/cecily/plugin.info +1 -2
- package/plugins/tiddlywiki/classictools/plugin.info +2 -3
- package/plugins/tiddlywiki/codemirror/config/theme.tid +1 -1
- package/plugins/tiddlywiki/codemirror/config-language.multids +8 -1
- package/plugins/tiddlywiki/codemirror/engine.js +101 -6
- package/plugins/tiddlywiki/codemirror/files/addon/dialog/dialog.js +1 -1
- package/plugins/tiddlywiki/codemirror/files/addon/selection/activeline.js +1 -1
- package/plugins/tiddlywiki/codemirror/files/codemirror.css +1 -1
- package/plugins/tiddlywiki/codemirror/files/codemirror.js +1 -1
- package/plugins/tiddlywiki/codemirror/plugin.info +2 -2
- package/plugins/tiddlywiki/codemirror/readme.tid +2 -13
- package/plugins/tiddlywiki/codemirror/settings/cursorBlinkRate.tid +7 -0
- package/plugins/tiddlywiki/codemirror/settings/indentUnit.tid +7 -0
- package/plugins/tiddlywiki/codemirror/settings/indentWithTabs.tid +8 -0
- package/plugins/tiddlywiki/codemirror/settings/smartIndent.tid +8 -0
- package/plugins/tiddlywiki/codemirror/settings/tabSize.tid +7 -0
- package/plugins/tiddlywiki/codemirror/styles.tid +84 -1
- package/plugins/tiddlywiki/codemirror/ui/controlpanel/settings.tid +1 -1
- package/plugins/tiddlywiki/codemirror-autocomplete/files/addon/hint/anyword-hint.js +2 -2
- package/plugins/tiddlywiki/codemirror-autocomplete/files/addon/hint/css-hint.js +2 -2
- package/plugins/tiddlywiki/codemirror-autocomplete/files/addon/hint/html-hint.js +2 -2
- package/plugins/tiddlywiki/codemirror-autocomplete/files/addon/hint/javascript-hint.js +2 -2
- package/plugins/tiddlywiki/codemirror-autocomplete/files/addon/hint/show-hint.js +2 -2
- package/plugins/tiddlywiki/codemirror-autocomplete/files/addon/hint/xml-hint.js +2 -2
- package/plugins/tiddlywiki/codemirror-autocomplete/plugin.info +4 -2
- package/plugins/tiddlywiki/codemirror-closebrackets/files/addon/edit/closebrackets.js +2 -2
- package/plugins/tiddlywiki/codemirror-closebrackets/files/addon/edit/matchbrackets.js +2 -2
- package/plugins/tiddlywiki/codemirror-closebrackets/plugin.info +3 -2
- package/plugins/tiddlywiki/codemirror-closetag/files/addon/edit/closetag.js +2 -2
- package/plugins/tiddlywiki/codemirror-closetag/files/addon/fold/xml-fold.js +2 -2
- package/plugins/tiddlywiki/codemirror-closetag/plugin.info +3 -2
- package/plugins/tiddlywiki/codemirror-fullscreen-editing/files/addon/fullscreen/fullscreen.js +2 -2
- package/plugins/tiddlywiki/codemirror-fullscreen-editing/plugin.info +3 -2
- package/plugins/tiddlywiki/codemirror-keymap-emacs/files/keymap/emacs.js +2 -2
- package/plugins/tiddlywiki/codemirror-keymap-emacs/plugin.info +3 -2
- package/plugins/tiddlywiki/codemirror-keymap-sublime-text/files/addons/comment/comment.js +3 -0
- package/plugins/tiddlywiki/codemirror-keymap-sublime-text/files/keymap/sublime.js +2 -2
- package/plugins/tiddlywiki/codemirror-keymap-sublime-text/files/tiddlywiki.files +7 -0
- package/plugins/tiddlywiki/codemirror-keymap-sublime-text/plugin.info +4 -2
- package/plugins/tiddlywiki/codemirror-keymap-vim/files/keymap/vim.js +2 -2
- package/plugins/tiddlywiki/codemirror-keymap-vim/plugin.info +4 -2
- package/plugins/tiddlywiki/codemirror-mode-css/files/mode/css/css.js +2 -2
- package/plugins/tiddlywiki/codemirror-mode-css/plugin.info +3 -2
- package/plugins/tiddlywiki/codemirror-mode-htmlembedded/files/addon/mode/multiplex.js +2 -2
- package/plugins/tiddlywiki/codemirror-mode-htmlembedded/files/mode/htmlembedded/htmlembedded.js +2 -2
- package/plugins/tiddlywiki/codemirror-mode-htmlembedded/plugin.info +4 -2
- package/plugins/tiddlywiki/codemirror-mode-htmlmixed/files/mode/htmlmixed/htmlmixed.js +2 -2
- package/plugins/tiddlywiki/codemirror-mode-htmlmixed/plugin.info +4 -2
- package/plugins/tiddlywiki/codemirror-mode-javascript/files/mode/javascript/javascript.js +2 -2
- package/plugins/tiddlywiki/codemirror-mode-javascript/plugin.info +3 -2
- package/plugins/tiddlywiki/codemirror-mode-markdown/files/mode/markdown/markdown.js +2 -2
- package/plugins/tiddlywiki/codemirror-mode-markdown/plugin.info +4 -2
- package/plugins/tiddlywiki/codemirror-mode-x-tiddlywiki/plugin.info +3 -2
- package/plugins/tiddlywiki/codemirror-mode-xml/files/mode/xml/xml.js +2 -2
- package/plugins/tiddlywiki/codemirror-mode-xml/plugin.info +3 -2
- package/plugins/tiddlywiki/codemirror-search-replace/files/addon/search/jump-to-line.js +2 -2
- package/plugins/tiddlywiki/codemirror-search-replace/files/addon/search/search.js +2 -2
- package/plugins/tiddlywiki/codemirror-search-replace/files/addon/search/searchcursor.js +2 -2
- package/plugins/tiddlywiki/codemirror-search-replace/plugin.info +3 -2
- package/plugins/tiddlywiki/comments/header-view-template-segment.tid +26 -2
- package/plugins/tiddlywiki/comments/plugin.info +2 -3
- package/plugins/tiddlywiki/consent-banner/banner.tid +28 -0
- package/plugins/tiddlywiki/consent-banner/blocked-embed-message-wrapper.tid +13 -0
- package/plugins/tiddlywiki/consent-banner/buttons/accept.tid +6 -0
- package/plugins/tiddlywiki/consent-banner/buttons/decline.tid +6 -0
- package/plugins/tiddlywiki/consent-banner/config/DefaultColourMappings.multids +15 -0
- package/plugins/tiddlywiki/consent-banner/config/block-embedded-content.tid +2 -0
- package/plugins/tiddlywiki/consent-banner/config/blocked-embed-message.tid +7 -0
- package/plugins/tiddlywiki/consent-banner/config/blocked-raw-message.tid +19 -0
- package/plugins/tiddlywiki/consent-banner/config/buttons.multids +8 -0
- package/plugins/tiddlywiki/consent-banner/config/cookie-consent-required.tid +2 -0
- package/plugins/tiddlywiki/consent-banner/config/greeting-message.tid +19 -0
- package/plugins/tiddlywiki/consent-banner/config/tv-block-embedded-content.tid +4 -0
- package/plugins/tiddlywiki/consent-banner/config.tid +48 -0
- package/plugins/tiddlywiki/consent-banner/docs.tid +64 -0
- package/plugins/tiddlywiki/consent-banner/plugin.info +6 -0
- package/plugins/tiddlywiki/consent-banner/raw-widget.js +69 -0
- package/plugins/tiddlywiki/consent-banner/readme.tid +10 -0
- package/plugins/tiddlywiki/consent-banner/startup.js +107 -0
- package/plugins/tiddlywiki/consent-banner/styles.tid +111 -0
- package/plugins/tiddlywiki/consent-banner/youtube-macros.tid +21 -0
- package/plugins/tiddlywiki/d3/plugin.info +2 -3
- package/plugins/tiddlywiki/dynannotate/docs/readme.tid +108 -0
- package/plugins/tiddlywiki/dynannotate/examples/combined.tid +111 -0
- package/plugins/tiddlywiki/dynannotate/examples/example-annotation-1.tid +5 -0
- package/plugins/tiddlywiki/dynannotate/examples/example-annotation-2.tid +5 -0
- package/plugins/tiddlywiki/dynannotate/examples/example-annotation-3.tid +5 -0
- package/plugins/tiddlywiki/dynannotate/examples/example-annotation-4.json +10 -0
- package/plugins/tiddlywiki/dynannotate/examples/example-text.multids +19 -0
- package/plugins/tiddlywiki/dynannotate/examples/examples.tid +4 -0
- package/plugins/tiddlywiki/dynannotate/examples/simple.tid +100 -0
- package/plugins/tiddlywiki/dynannotate/examples/snippets.tid +56 -0
- package/plugins/tiddlywiki/dynannotate/examples/viewtemplate-text.tid +98 -0
- package/plugins/tiddlywiki/dynannotate/examples/viewtemplate.tid +29 -0
- package/plugins/tiddlywiki/dynannotate/modules/dynannotate.js +418 -0
- package/plugins/tiddlywiki/dynannotate/modules/selection-tracker.js +116 -0
- package/plugins/tiddlywiki/dynannotate/modules/textmap.js +177 -0
- package/plugins/tiddlywiki/dynannotate/plugin.info +9 -0
- package/plugins/tiddlywiki/dynannotate/styles.tid +44 -0
- package/plugins/tiddlywiki/dynaview/examples/reveal-on-scroll.tid +4 -4
- package/plugins/tiddlywiki/dynaview/examples/zoomable-tooltips.tid +1 -1
- package/plugins/tiddlywiki/dynaview/macros.tid +4 -4
- package/plugins/tiddlywiki/dynaview/plugin.info +1 -2
- package/plugins/tiddlywiki/evernote/plugin.info +1 -2
- package/plugins/tiddlywiki/external-attachments/plugin.info +2 -3
- package/plugins/tiddlywiki/external-attachments/startup.js +15 -12
- package/plugins/tiddlywiki/filesystem/filesystemadaptor.js +68 -34
- package/plugins/tiddlywiki/filesystem/plugin.info +2 -3
- package/plugins/tiddlywiki/freelinks/config-Freelinks-Enable.tid +2 -0
- package/plugins/tiddlywiki/freelinks/macros-view.tid +8 -0
- package/plugins/tiddlywiki/freelinks/plain-text.js +62 -0
- package/plugins/tiddlywiki/freelinks/plugin.info +6 -0
- package/plugins/tiddlywiki/freelinks/readme.tid +42 -0
- package/plugins/tiddlywiki/freelinks/settings.tid +7 -0
- package/plugins/tiddlywiki/freelinks/styles.tid +8 -0
- package/plugins/tiddlywiki/freelinks/text.js +168 -0
- package/plugins/tiddlywiki/github-fork-ribbon/plugin.info +3 -2
- package/plugins/tiddlywiki/github-fork-ribbon/usage.tid +2 -0
- package/plugins/tiddlywiki/googleanalytics/googleanalytics.js +37 -13
- package/plugins/tiddlywiki/googleanalytics/plugin.info +2 -3
- package/plugins/tiddlywiki/googleanalytics/readme.tid +2 -0
- package/plugins/tiddlywiki/hammerjs/plugin.info +3 -3
- package/plugins/tiddlywiki/help/help.tid +10 -8
- package/plugins/tiddlywiki/help/plugin.info +2 -3
- package/plugins/tiddlywiki/highlight/files/highlight.pack.js +2 -2
- package/plugins/tiddlywiki/highlight/plugin.info +3 -3
- package/plugins/tiddlywiki/highlight/readme.tid +11 -1
- package/plugins/tiddlywiki/highlight/styles.tid +79 -1
- package/plugins/tiddlywiki/innerwiki/innerwiki.js +2 -1
- package/plugins/tiddlywiki/innerwiki/plugin.info +2 -3
- package/plugins/tiddlywiki/innerwiki/template.tid +0 -4
- package/plugins/tiddlywiki/internals/plugin.info +1 -2
- package/plugins/tiddlywiki/jasmine/files/jasmine/MIT.LICENSE +20 -0
- package/plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js +283 -0
- package/plugins/tiddlywiki/jasmine/files/jasmine/lib/filters/console_spec_filter.js +10 -0
- package/plugins/tiddlywiki/jasmine/files/jasmine/lib/jasmine.js +263 -0
- package/plugins/tiddlywiki/jasmine/files/jasmine/lib/reporters/completion_reporter.js +29 -0
- package/plugins/tiddlywiki/jasmine/files/jasmine/lib/reporters/console_reporter.js +232 -0
- package/plugins/tiddlywiki/jasmine/files/{MIT.LICENSE → jasmine-core/MIT.LICENSE} +1 -1
- package/plugins/tiddlywiki/jasmine/files/jasmine-core/lib/jasmine-core/boot.js +158 -0
- package/plugins/tiddlywiki/jasmine/files/jasmine-core/lib/jasmine-core/jasmine-html.js +620 -0
- package/plugins/tiddlywiki/jasmine/files/jasmine-core/lib/jasmine-core/jasmine.css +128 -0
- package/plugins/tiddlywiki/jasmine/files/jasmine-core/lib/jasmine-core/jasmine.js +7033 -0
- package/plugins/tiddlywiki/jasmine/files/jasmine-core/lib/jasmine-core/json2.js +489 -0
- package/plugins/tiddlywiki/jasmine/files/jasmine-core/lib/jasmine-core/node_boot.js +38 -0
- package/plugins/tiddlywiki/jasmine/files/jasmine-core/lib/jasmine-core.js +37 -0
- package/plugins/tiddlywiki/jasmine/files/tiddlywiki.files +41 -18
- package/plugins/tiddlywiki/jasmine/jasmine-plugin.js +119 -57
- package/plugins/tiddlywiki/jasmine/plugin.info +2 -3
- package/plugins/tiddlywiki/jasmine/readme.tid +1 -1
- package/plugins/tiddlywiki/jasmine/update-packages.sh +30 -0
- package/plugins/tiddlywiki/jszip/docs.tid +43 -0
- package/plugins/tiddlywiki/jszip/examples.tid +36 -0
- package/plugins/tiddlywiki/jszip/plugin.info +4 -4
- package/plugins/tiddlywiki/jszip/readme.tid +1 -1
- package/plugins/tiddlywiki/jszip/startup.js +104 -0
- package/plugins/tiddlywiki/katex/config.tid +17 -0
- package/plugins/tiddlywiki/katex/files/README.md +79 -100
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Bold.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-BoldItalic.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Bold.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Italic.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Script-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Script-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Script-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Typewriter-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/katex.css +1079 -0
- package/plugins/tiddlywiki/katex/files/katex.js +4917 -3543
- package/plugins/tiddlywiki/katex/files/katex.min.css +1 -1
- package/plugins/tiddlywiki/katex/files/katex.min.js +1 -1
- package/plugins/tiddlywiki/katex/files/katex.without-font-face.min.css +1 -1
- package/plugins/tiddlywiki/katex/files/mhchem.min.js +1 -1683
- package/plugins/tiddlywiki/katex/files/tiddlywiki.files +3 -1
- package/plugins/tiddlywiki/katex/plugin.info +4 -5
- package/plugins/tiddlywiki/katex/readme.tid +1 -1
- package/plugins/tiddlywiki/katex/styles.tid +7 -1
- package/plugins/tiddlywiki/katex/ui/config/macro.tid +137 -0
- package/plugins/tiddlywiki/katex/wrapper.js +19 -13
- package/plugins/tiddlywiki/markdown/config_breaks.tid +3 -0
- package/plugins/tiddlywiki/markdown/config_linkNewWindow.tid +3 -0
- package/plugins/tiddlywiki/markdown/config_linkify.tid +3 -0
- package/plugins/tiddlywiki/markdown/config_quotes.tid +3 -0
- package/plugins/tiddlywiki/markdown/config_renderWikiText.tid +3 -0
- package/plugins/tiddlywiki/markdown/config_renderWikiTextPragma.tid +3 -0
- package/plugins/tiddlywiki/markdown/config_typographer.tid +3 -0
- package/plugins/tiddlywiki/markdown/files/remarkable-katex-license.txt +21 -0
- package/plugins/tiddlywiki/markdown/files/remarkable-katex.js +137 -0
- package/plugins/tiddlywiki/markdown/files/remarkable-katex.min.js +20 -0
- package/plugins/tiddlywiki/markdown/files/remarkable-license.txt +22 -0
- package/plugins/tiddlywiki/markdown/files/remarkable.js +1 -0
- package/plugins/tiddlywiki/markdown/files/tiddlywiki.files +26 -2
- package/plugins/tiddlywiki/markdown/new-markdown.tid +3 -2
- package/plugins/tiddlywiki/markdown/plugin.info +3 -4
- package/plugins/tiddlywiki/markdown/readme.tid +1 -1
- package/plugins/tiddlywiki/markdown/usage.tid +15 -9
- package/plugins/tiddlywiki/markdown/wrapper.js +297 -57
- package/plugins/tiddlywiki/menubar/config-DefaultColourMappings.multids +4 -0
- package/plugins/tiddlywiki/menubar/config-MenuItemsVisibility.multids +5 -0
- package/plugins/tiddlywiki/menubar/config-TableOfContentsTag.tid +2 -0
- package/plugins/tiddlywiki/menubar/config-breakpoint.tid +2 -0
- package/plugins/tiddlywiki/menubar/config.tid +37 -0
- package/plugins/tiddlywiki/menubar/items/contents.tid +11 -0
- package/plugins/tiddlywiki/menubar/items/hamburger.tid +17 -0
- package/plugins/tiddlywiki/menubar/items/pagecontrols.tid +19 -0
- package/plugins/tiddlywiki/menubar/items/search.tid +56 -0
- package/plugins/tiddlywiki/menubar/items/server.tid +14 -0
- package/plugins/tiddlywiki/menubar/items/sidebar.tid +11 -0
- package/plugins/tiddlywiki/menubar/items/topleftbar.tid +11 -0
- package/plugins/tiddlywiki/menubar/items/toprightbar.tid +12 -0
- package/plugins/tiddlywiki/menubar/menu.tid +68 -0
- package/plugins/tiddlywiki/menubar/overrides/core-ui-PageTemplate-topleftbar.tid +3 -0
- package/plugins/tiddlywiki/menubar/overrides/core-ui-PageTemplate-toprightbar.tid +3 -0
- package/plugins/tiddlywiki/menubar/plugin.info +6 -0
- package/plugins/tiddlywiki/menubar/readme.tid +30 -0
- package/plugins/tiddlywiki/menubar/styles.tid +222 -0
- package/plugins/tiddlywiki/menubar/tags-MenuBar.tid +2 -0
- package/plugins/tiddlywiki/mobiledragdrop/plugin.info +2 -2
- package/plugins/tiddlywiki/nodewebkitsaver/plugin.info +2 -3
- package/plugins/tiddlywiki/pluginlibrary/plugin.info +1 -2
- package/plugins/tiddlywiki/powered-by-tiddlywiki/plugin.info +2 -3
- package/plugins/tiddlywiki/qrcode/ViewToolbarButton/Button.tid +3 -4
- package/plugins/tiddlywiki/qrcode/plugin.info +2 -2
- package/plugins/tiddlywiki/railroad/files/railroad-diagrams.css +10 -4
- package/plugins/tiddlywiki/railroad/files/tiddlywiki.files +1 -1
- package/plugins/tiddlywiki/railroad/plugin.info +2 -2
- package/plugins/tiddlywiki/railroad/wrapper.js +1 -1
- package/plugins/tiddlywiki/savetrail/plugin.info +2 -3
- package/plugins/tiddlywiki/savetrail/savetrail.js +4 -4
- package/plugins/tiddlywiki/sax/plugin.info +2 -2
- package/plugins/tiddlywiki/share/DefaultTiddlers.tid +3 -0
- package/plugins/tiddlywiki/share/SiteSubtitle.tid +3 -0
- package/plugins/tiddlywiki/share/SiteTitle.tid +3 -0
- package/plugins/tiddlywiki/share/above-story.tid +4 -0
- package/plugins/tiddlywiki/share/base-url.tid +2 -0
- package/plugins/tiddlywiki/share/exclusions.tid +2 -0
- package/plugins/tiddlywiki/share/filter.tid +2 -0
- package/plugins/tiddlywiki/share/plugin.info +6 -0
- package/plugins/tiddlywiki/share/pluginreloadwarning.tid +3 -0
- package/plugins/tiddlywiki/share/rawmarkup.js +114 -0
- package/plugins/tiddlywiki/share/rawmarkup.tid +8 -0
- package/plugins/tiddlywiki/share/readme.tid +9 -0
- package/plugins/tiddlywiki/share/settings.tid +7 -0
- package/plugins/tiddlywiki/share/startup-warning.css +87 -0
- package/plugins/tiddlywiki/share/startup-warning.css.meta +2 -0
- package/plugins/tiddlywiki/share/startup-warning.html +47 -0
- package/plugins/tiddlywiki/share/startup-warning.html.meta +2 -0
- package/plugins/tiddlywiki/share/styles.tid +17 -0
- package/plugins/tiddlywiki/share/wizard.tid +71 -0
- package/plugins/tiddlywiki/stacked-view/plugin.info +1 -2
- package/plugins/tiddlywiki/tahoelafs/plugin.info +1 -2
- package/plugins/tiddlywiki/text-slicer/plugin.info +3 -3
- package/plugins/tiddlywiki/text-slicer/templates/interactive/tiddler.tid +2 -2
- package/plugins/tiddlywiki/text-slicer/templates/plain/tiddler.tid +10 -10
- package/plugins/tiddlywiki/text-slicer/templates/static/tiddler.tid +10 -10
- package/plugins/tiddlywiki/text-slicer/ui/slice-toolbar-button.tid +6 -4
- package/plugins/tiddlywiki/tiddlyweb/config-tiddlers-filter.tid +2 -0
- package/plugins/tiddlywiki/tiddlyweb/configOfficialPluginLibrary.tid +7 -0
- package/plugins/tiddlywiki/tiddlyweb/css-tiddler.tid +7 -0
- package/plugins/tiddlywiki/tiddlyweb/html-div-skinny-tiddler.tid +9 -0
- package/plugins/tiddlywiki/tiddlyweb/html-div-tiddler.tid +1 -1
- package/plugins/tiddlywiki/tiddlyweb/html-json-skinny-tiddler.tid +4 -0
- package/plugins/tiddlywiki/tiddlyweb/html-json-tiddler.tid +4 -0
- package/plugins/tiddlywiki/tiddlyweb/icon-cloud.tid +4 -0
- package/plugins/tiddlywiki/tiddlyweb/javascript-tiddler.tid +7 -0
- package/plugins/tiddlywiki/tiddlyweb/plugin.info +4 -4
- package/plugins/tiddlywiki/tiddlyweb/save-offline.tid +2 -1
- package/plugins/tiddlywiki/tiddlyweb/save-wiki-button.tid +26 -0
- package/plugins/tiddlywiki/tiddlyweb/styles.tid +44 -0
- package/plugins/tiddlywiki/tiddlyweb/syncer-actions-copy-logs.tid +6 -0
- package/plugins/tiddlywiki/tiddlyweb/syncer-actions-login-status.tid +9 -0
- package/plugins/tiddlywiki/tiddlyweb/syncer-actions-login.tid +8 -0
- package/plugins/tiddlywiki/tiddlyweb/syncer-actions-logout.tid +8 -0
- package/plugins/tiddlywiki/tiddlyweb/syncer-actions-refresh.tid +9 -0
- package/plugins/tiddlywiki/tiddlyweb/syncer-actions-save-snapshot.tid +9 -0
- package/plugins/tiddlywiki/tiddlyweb/tags-syncerdropdown.tid +2 -0
- package/plugins/tiddlywiki/tiddlyweb/tiddlywebadaptor.js +41 -14
- package/plugins/tiddlywiki/translators/plugin.info +1 -2
- package/plugins/tiddlywiki/tw2parser/plugin.info +2 -2
- package/plugins/tiddlywiki/tw2parser/wikitextparser.js +1 -1
- package/plugins/tiddlywiki/tw5.com-docs/plugin.info +1 -2
- package/plugins/tiddlywiki/twitter/plugin.info +2 -3
- package/plugins/tiddlywiki/twitter/startup.js +27 -0
- package/plugins/tiddlywiki/upgrade/config.js +1 -0
- package/plugins/tiddlywiki/upgrade/plugin.info +1 -2
- package/plugins/tiddlywiki/xlsx-utils/deserializer.js +2 -1
- package/plugins/tiddlywiki/xlsx-utils/importer.js +6 -5
- package/plugins/tiddlywiki/xlsx-utils/plugin.info +3 -3
- package/plugins/tiddlywiki/xlsx-utils/xlsx-import-command.js +3 -2
- package/plugins/tiddlywiki/xmldom/plugin.info +2 -3
- package/readme.md +4 -16
- package/themes/tiddlywiki/snowwhite/base.tid +5 -1
- package/themes/tiddlywiki/starlight/styles.tid +6 -6
- package/themes/tiddlywiki/tight/base.tid +9 -5
- package/themes/tiddlywiki/vanilla/ThemeTweaks.tid +7 -3
- package/themes/tiddlywiki/vanilla/base.tid +580 -121
- package/themes/tiddlywiki/vanilla/reset.tid +169 -294
- package/themes/tiddlywiki/vanilla/settings.multids +1 -1
- package/.travis.yml +0 -34
- package/bin/travis-push.sh +0 -20
- package/core/ui/ViewTemplate/plugin.tid +0 -12
- package/editions/codemirrordemo/tiddlers/cm-theme-tiddlywiki.tid +0 -56
- package/editions/de-AT/tiddlers/bilder/New_Release_Banner.png.tid +0 -6
- package/editions/prerelease/tiddlers/Release 5.1.22.tid +0 -14
- package/editions/tw5.com/tiddlers/community/Resources.tid +0 -25
- package/editions/tw5.com/tiddlers/community/examples/Obadiah.tid +0 -10
- package/editions/tw5.com/tiddlers/community/resources/Hosting TiddlyWiki5 on GoogleDrive.tid +0 -13
- package/editions/tw5.com/tiddlers/community/resources/How Does Twederation Work by Jed Carty.tid +0 -14
- package/editions/tw5.com/tiddlers/community/resources/Plugins by Uwe Stuehler.tid +0 -13
- package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki Jingle by Mans Martensson.tid +0 -18
- package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki5 Coding.tid +0 -18
- package/editions/tw5.com/tiddlers/customising/Page and tiddler layout customisation.tid +0 -60
- package/editions/tw5.com/tiddlers/demonstrations/SampleAlert.tid +0 -9
- package/editions/tw5.com/tiddlers/images/New Release Banner.jpg +0 -0
- package/plugins/tiddlywiki/dynaview/examples/unreveal-on-scroll.tid +0 -28
- package/plugins/tiddlywiki/jasmine/files/jasmine-html.js +0 -681
- package/plugins/tiddlywiki/jasmine/files/jasmine.css +0 -82
- package/plugins/tiddlywiki/jasmine/files/jasmine.js +0 -2600
- package/plugins/tiddlywiki/jasmine/files/reporter.js +0 -276
- package/plugins/tiddlywiki/markdown/dialect.tid +0 -3
- package/plugins/tiddlywiki/markdown/files/markdown.js +0 -1725
- package/plugins/tiddlywiki/tiddlyweb/ServerControlPanel.tid +0 -20
@@ -1,1725 +0,0 @@
|
|
1
|
-
// Released under MIT license
|
2
|
-
// Copyright (c) 2009-2010 Dominic Baggott
|
3
|
-
// Copyright (c) 2009-2010 Ash Berlin
|
4
|
-
// Copyright (c) 2011 Christoph Dorn <christoph@christophdorn.com> (http://www.christophdorn.com)
|
5
|
-
|
6
|
-
/*jshint browser:true, devel:true */
|
7
|
-
|
8
|
-
(function( expose ) {
|
9
|
-
|
10
|
-
/**
|
11
|
-
* class Markdown
|
12
|
-
*
|
13
|
-
* Markdown processing in Javascript done right. We have very particular views
|
14
|
-
* on what constitutes 'right' which include:
|
15
|
-
*
|
16
|
-
* - produces well-formed HTML (this means that em and strong nesting is
|
17
|
-
* important)
|
18
|
-
*
|
19
|
-
* - has an intermediate representation to allow processing of parsed data (We
|
20
|
-
* in fact have two, both as [JsonML]: a markdown tree and an HTML tree).
|
21
|
-
*
|
22
|
-
* - is easily extensible to add new dialects without having to rewrite the
|
23
|
-
* entire parsing mechanics
|
24
|
-
*
|
25
|
-
* - has a good test suite
|
26
|
-
*
|
27
|
-
* This implementation fulfills all of these (except that the test suite could
|
28
|
-
* do with expanding to automatically run all the fixtures from other Markdown
|
29
|
-
* implementations.)
|
30
|
-
*
|
31
|
-
* ##### Intermediate Representation
|
32
|
-
*
|
33
|
-
* *TODO* Talk about this :) Its JsonML, but document the node names we use.
|
34
|
-
*
|
35
|
-
* [JsonML]: http://jsonml.org/ "JSON Markup Language"
|
36
|
-
**/
|
37
|
-
var Markdown = expose.Markdown = function(dialect) {
|
38
|
-
switch (typeof dialect) {
|
39
|
-
case "undefined":
|
40
|
-
this.dialect = Markdown.dialects.Gruber;
|
41
|
-
break;
|
42
|
-
case "object":
|
43
|
-
this.dialect = dialect;
|
44
|
-
break;
|
45
|
-
default:
|
46
|
-
if ( dialect in Markdown.dialects ) {
|
47
|
-
this.dialect = Markdown.dialects[dialect];
|
48
|
-
}
|
49
|
-
else {
|
50
|
-
throw new Error("Unknown Markdown dialect '" + String(dialect) + "'");
|
51
|
-
}
|
52
|
-
break;
|
53
|
-
}
|
54
|
-
this.em_state = [];
|
55
|
-
this.strong_state = [];
|
56
|
-
this.debug_indent = "";
|
57
|
-
};
|
58
|
-
|
59
|
-
/**
|
60
|
-
* parse( markdown, [dialect] ) -> JsonML
|
61
|
-
* - markdown (String): markdown string to parse
|
62
|
-
* - dialect (String | Dialect): the dialect to use, defaults to gruber
|
63
|
-
*
|
64
|
-
* Parse `markdown` and return a markdown document as a Markdown.JsonML tree.
|
65
|
-
**/
|
66
|
-
expose.parse = function( source, dialect ) {
|
67
|
-
// dialect will default if undefined
|
68
|
-
var md = new Markdown( dialect );
|
69
|
-
return md.toTree( source );
|
70
|
-
};
|
71
|
-
|
72
|
-
/**
|
73
|
-
* toHTML( markdown, [dialect] ) -> String
|
74
|
-
* toHTML( md_tree ) -> String
|
75
|
-
* - markdown (String): markdown string to parse
|
76
|
-
* - md_tree (Markdown.JsonML): parsed markdown tree
|
77
|
-
*
|
78
|
-
* Take markdown (either as a string or as a JsonML tree) and run it through
|
79
|
-
* [[toHTMLTree]] then turn it into a well-formated HTML fragment.
|
80
|
-
**/
|
81
|
-
expose.toHTML = function toHTML( source , dialect , options ) {
|
82
|
-
var input = expose.toHTMLTree( source , dialect , options );
|
83
|
-
|
84
|
-
return expose.renderJsonML( input );
|
85
|
-
};
|
86
|
-
|
87
|
-
/**
|
88
|
-
* toHTMLTree( markdown, [dialect] ) -> JsonML
|
89
|
-
* toHTMLTree( md_tree ) -> JsonML
|
90
|
-
* - markdown (String): markdown string to parse
|
91
|
-
* - dialect (String | Dialect): the dialect to use, defaults to gruber
|
92
|
-
* - md_tree (Markdown.JsonML): parsed markdown tree
|
93
|
-
*
|
94
|
-
* Turn markdown into HTML, represented as a JsonML tree. If a string is given
|
95
|
-
* to this function, it is first parsed into a markdown tree by calling
|
96
|
-
* [[parse]].
|
97
|
-
**/
|
98
|
-
expose.toHTMLTree = function toHTMLTree( input, dialect , options ) {
|
99
|
-
// convert string input to an MD tree
|
100
|
-
if ( typeof input ==="string" ) input = this.parse( input, dialect );
|
101
|
-
|
102
|
-
// Now convert the MD tree to an HTML tree
|
103
|
-
|
104
|
-
// remove references from the tree
|
105
|
-
var attrs = extract_attr( input ),
|
106
|
-
refs = {};
|
107
|
-
|
108
|
-
if ( attrs && attrs.references ) {
|
109
|
-
refs = attrs.references;
|
110
|
-
}
|
111
|
-
|
112
|
-
var html = convert_tree_to_html( input, refs , options );
|
113
|
-
merge_text_nodes( html );
|
114
|
-
return html;
|
115
|
-
};
|
116
|
-
|
117
|
-
// For Spidermonkey based engines
|
118
|
-
function mk_block_toSource() {
|
119
|
-
return "Markdown.mk_block( " +
|
120
|
-
uneval(this.toString()) +
|
121
|
-
", " +
|
122
|
-
uneval(this.trailing) +
|
123
|
-
", " +
|
124
|
-
uneval(this.lineNumber) +
|
125
|
-
" )";
|
126
|
-
}
|
127
|
-
|
128
|
-
// node
|
129
|
-
function mk_block_inspect() {
|
130
|
-
var util = require("util");
|
131
|
-
return "Markdown.mk_block( " +
|
132
|
-
util.inspect(this.toString()) +
|
133
|
-
", " +
|
134
|
-
util.inspect(this.trailing) +
|
135
|
-
", " +
|
136
|
-
util.inspect(this.lineNumber) +
|
137
|
-
" )";
|
138
|
-
|
139
|
-
}
|
140
|
-
|
141
|
-
var mk_block = Markdown.mk_block = function(block, trail, line) {
|
142
|
-
// Be helpful for default case in tests.
|
143
|
-
if ( arguments.length == 1 ) trail = "\n\n";
|
144
|
-
|
145
|
-
var s = new String(block);
|
146
|
-
s.trailing = trail;
|
147
|
-
// To make it clear its not just a string
|
148
|
-
s.inspect = mk_block_inspect;
|
149
|
-
s.toSource = mk_block_toSource;
|
150
|
-
|
151
|
-
if ( line != undefined )
|
152
|
-
s.lineNumber = line;
|
153
|
-
|
154
|
-
return s;
|
155
|
-
};
|
156
|
-
|
157
|
-
function count_lines( str ) {
|
158
|
-
var n = 0, i = -1;
|
159
|
-
while ( ( i = str.indexOf("\n", i + 1) ) !== -1 ) n++;
|
160
|
-
return n;
|
161
|
-
}
|
162
|
-
|
163
|
-
// Internal - split source into rough blocks
|
164
|
-
Markdown.prototype.split_blocks = function splitBlocks( input, startLine ) {
|
165
|
-
input = input.replace(/(\r\n|\n|\r)/g, "\n");
|
166
|
-
// [\s\S] matches _anything_ (newline or space)
|
167
|
-
// [^] is equivalent but doesn't work in IEs.
|
168
|
-
var re = /([\s\S]+?)($|\n#|\n(?:\s*\n|$)+)/g,
|
169
|
-
blocks = [],
|
170
|
-
m;
|
171
|
-
|
172
|
-
var line_no = 1;
|
173
|
-
|
174
|
-
if ( ( m = /^(\s*\n)/.exec(input) ) != null ) {
|
175
|
-
// skip (but count) leading blank lines
|
176
|
-
line_no += count_lines( m[0] );
|
177
|
-
re.lastIndex = m[0].length;
|
178
|
-
}
|
179
|
-
|
180
|
-
while ( ( m = re.exec(input) ) !== null ) {
|
181
|
-
if (m[2] == "\n#") {
|
182
|
-
m[2] = "\n";
|
183
|
-
re.lastIndex--;
|
184
|
-
}
|
185
|
-
blocks.push( mk_block( m[1], m[2], line_no ) );
|
186
|
-
line_no += count_lines( m[0] );
|
187
|
-
}
|
188
|
-
|
189
|
-
return blocks;
|
190
|
-
};
|
191
|
-
|
192
|
-
/**
|
193
|
-
* Markdown#processBlock( block, next ) -> undefined | [ JsonML, ... ]
|
194
|
-
* - block (String): the block to process
|
195
|
-
* - next (Array): the following blocks
|
196
|
-
*
|
197
|
-
* Process `block` and return an array of JsonML nodes representing `block`.
|
198
|
-
*
|
199
|
-
* It does this by asking each block level function in the dialect to process
|
200
|
-
* the block until one can. Succesful handling is indicated by returning an
|
201
|
-
* array (with zero or more JsonML nodes), failure by a false value.
|
202
|
-
*
|
203
|
-
* Blocks handlers are responsible for calling [[Markdown#processInline]]
|
204
|
-
* themselves as appropriate.
|
205
|
-
*
|
206
|
-
* If the blocks were split incorrectly or adjacent blocks need collapsing you
|
207
|
-
* can adjust `next` in place using shift/splice etc.
|
208
|
-
*
|
209
|
-
* If any of this default behaviour is not right for the dialect, you can
|
210
|
-
* define a `__call__` method on the dialect that will get invoked to handle
|
211
|
-
* the block processing.
|
212
|
-
*/
|
213
|
-
Markdown.prototype.processBlock = function processBlock( block, next ) {
|
214
|
-
var cbs = this.dialect.block,
|
215
|
-
ord = cbs.__order__;
|
216
|
-
|
217
|
-
if ( "__call__" in cbs ) {
|
218
|
-
return cbs.__call__.call(this, block, next);
|
219
|
-
}
|
220
|
-
|
221
|
-
for ( var i = 0; i < ord.length; i++ ) {
|
222
|
-
//D:this.debug( "Testing", ord[i] );
|
223
|
-
var res = cbs[ ord[i] ].call( this, block, next );
|
224
|
-
if ( res ) {
|
225
|
-
//D:this.debug(" matched");
|
226
|
-
if ( !isArray(res) || ( res.length > 0 && !( isArray(res[0]) ) ) )
|
227
|
-
this.debug(ord[i], "didn't return a proper array");
|
228
|
-
//D:this.debug( "" );
|
229
|
-
return res;
|
230
|
-
}
|
231
|
-
}
|
232
|
-
|
233
|
-
// Uhoh! no match! Should we throw an error?
|
234
|
-
return [];
|
235
|
-
};
|
236
|
-
|
237
|
-
Markdown.prototype.processInline = function processInline( block ) {
|
238
|
-
return this.dialect.inline.__call__.call( this, String( block ) );
|
239
|
-
};
|
240
|
-
|
241
|
-
/**
|
242
|
-
* Markdown#toTree( source ) -> JsonML
|
243
|
-
* - source (String): markdown source to parse
|
244
|
-
*
|
245
|
-
* Parse `source` into a JsonML tree representing the markdown document.
|
246
|
-
**/
|
247
|
-
// custom_tree means set this.tree to `custom_tree` and restore old value on return
|
248
|
-
Markdown.prototype.toTree = function toTree( source, custom_root ) {
|
249
|
-
var blocks = source instanceof Array ? source : this.split_blocks( source );
|
250
|
-
|
251
|
-
// Make tree a member variable so its easier to mess with in extensions
|
252
|
-
var old_tree = this.tree;
|
253
|
-
try {
|
254
|
-
this.tree = custom_root || this.tree || [ "markdown" ];
|
255
|
-
|
256
|
-
blocks:
|
257
|
-
while ( blocks.length ) {
|
258
|
-
var b = this.processBlock( blocks.shift(), blocks );
|
259
|
-
|
260
|
-
// Reference blocks and the like won't return any content
|
261
|
-
if ( !b.length ) continue blocks;
|
262
|
-
|
263
|
-
this.tree.push.apply( this.tree, b );
|
264
|
-
}
|
265
|
-
return this.tree;
|
266
|
-
}
|
267
|
-
finally {
|
268
|
-
if ( custom_root ) {
|
269
|
-
this.tree = old_tree;
|
270
|
-
}
|
271
|
-
}
|
272
|
-
};
|
273
|
-
|
274
|
-
// Noop by default
|
275
|
-
Markdown.prototype.debug = function () {
|
276
|
-
var args = Array.prototype.slice.call( arguments);
|
277
|
-
args.unshift(this.debug_indent);
|
278
|
-
if ( typeof print !== "undefined" )
|
279
|
-
print.apply( print, args );
|
280
|
-
if ( typeof console !== "undefined" && typeof console.log !== "undefined" )
|
281
|
-
console.log.apply( null, args );
|
282
|
-
}
|
283
|
-
|
284
|
-
Markdown.prototype.loop_re_over_block = function( re, block, cb ) {
|
285
|
-
// Dont use /g regexps with this
|
286
|
-
var m,
|
287
|
-
b = block.valueOf();
|
288
|
-
|
289
|
-
while ( b.length && (m = re.exec(b) ) != null ) {
|
290
|
-
b = b.substr( m[0].length );
|
291
|
-
cb.call(this, m);
|
292
|
-
}
|
293
|
-
return b;
|
294
|
-
};
|
295
|
-
|
296
|
-
/**
|
297
|
-
* Markdown.dialects
|
298
|
-
*
|
299
|
-
* Namespace of built-in dialects.
|
300
|
-
**/
|
301
|
-
Markdown.dialects = {};
|
302
|
-
|
303
|
-
/**
|
304
|
-
* Markdown.dialects.Gruber
|
305
|
-
*
|
306
|
-
* The default dialect that follows the rules set out by John Gruber's
|
307
|
-
* markdown.pl as closely as possible. Well actually we follow the behaviour of
|
308
|
-
* that script which in some places is not exactly what the syntax web page
|
309
|
-
* says.
|
310
|
-
**/
|
311
|
-
Markdown.dialects.Gruber = {
|
312
|
-
block: {
|
313
|
-
atxHeader: function atxHeader( block, next ) {
|
314
|
-
var m = block.match( /^(#{1,6})\s*(.*?)\s*#*\s*(?:\n|$)/ );
|
315
|
-
|
316
|
-
if ( !m ) return undefined;
|
317
|
-
|
318
|
-
var header = [ "header", { level: m[ 1 ].length } ];
|
319
|
-
Array.prototype.push.apply(header, this.processInline(m[ 2 ]));
|
320
|
-
|
321
|
-
if ( m[0].length < block.length )
|
322
|
-
next.unshift( mk_block( block.substr( m[0].length ), block.trailing, block.lineNumber + 2 ) );
|
323
|
-
|
324
|
-
return [ header ];
|
325
|
-
},
|
326
|
-
|
327
|
-
setextHeader: function setextHeader( block, next ) {
|
328
|
-
var m = block.match( /^(.*)\n([-=])\2\2+(?:\n|$)/ );
|
329
|
-
|
330
|
-
if ( !m ) return undefined;
|
331
|
-
|
332
|
-
var level = ( m[ 2 ] === "=" ) ? 1 : 2;
|
333
|
-
var header = [ "header", { level : level }, m[ 1 ] ];
|
334
|
-
|
335
|
-
if ( m[0].length < block.length )
|
336
|
-
next.unshift( mk_block( block.substr( m[0].length ), block.trailing, block.lineNumber + 2 ) );
|
337
|
-
|
338
|
-
return [ header ];
|
339
|
-
},
|
340
|
-
|
341
|
-
code: function code( block, next ) {
|
342
|
-
// | Foo
|
343
|
-
// |bar
|
344
|
-
// should be a code block followed by a paragraph. Fun
|
345
|
-
//
|
346
|
-
// There might also be adjacent code block to merge.
|
347
|
-
|
348
|
-
var ret = [],
|
349
|
-
re = /^(?: {0,3}\t| {4})(.*)\n?/,
|
350
|
-
lines;
|
351
|
-
|
352
|
-
// 4 spaces + content
|
353
|
-
if ( !block.match( re ) ) return undefined;
|
354
|
-
|
355
|
-
block_search:
|
356
|
-
do {
|
357
|
-
// Now pull out the rest of the lines
|
358
|
-
var b = this.loop_re_over_block(
|
359
|
-
re, block.valueOf(), function( m ) { ret.push( m[1] ); } );
|
360
|
-
|
361
|
-
if ( b.length ) {
|
362
|
-
// Case alluded to in first comment. push it back on as a new block
|
363
|
-
next.unshift( mk_block(b, block.trailing) );
|
364
|
-
break block_search;
|
365
|
-
}
|
366
|
-
else if ( next.length ) {
|
367
|
-
// Check the next block - it might be code too
|
368
|
-
if ( !next[0].match( re ) ) break block_search;
|
369
|
-
|
370
|
-
// Pull how how many blanks lines follow - minus two to account for .join
|
371
|
-
ret.push ( block.trailing.replace(/[^\n]/g, "").substring(2) );
|
372
|
-
|
373
|
-
block = next.shift();
|
374
|
-
}
|
375
|
-
else {
|
376
|
-
break block_search;
|
377
|
-
}
|
378
|
-
} while ( true );
|
379
|
-
|
380
|
-
return [ [ "code_block", ret.join("\n") ] ];
|
381
|
-
},
|
382
|
-
|
383
|
-
horizRule: function horizRule( block, next ) {
|
384
|
-
// this needs to find any hr in the block to handle abutting blocks
|
385
|
-
var m = block.match( /^(?:([\s\S]*?)\n)?[ \t]*([-_*])(?:[ \t]*\2){2,}[ \t]*(?:\n([\s\S]*))?$/ );
|
386
|
-
|
387
|
-
if ( !m ) {
|
388
|
-
return undefined;
|
389
|
-
}
|
390
|
-
|
391
|
-
var jsonml = [ [ "hr" ] ];
|
392
|
-
|
393
|
-
// if there's a leading abutting block, process it
|
394
|
-
if ( m[ 1 ] ) {
|
395
|
-
jsonml.unshift.apply( jsonml, this.processBlock( m[ 1 ], [] ) );
|
396
|
-
}
|
397
|
-
|
398
|
-
// if there's a trailing abutting block, stick it into next
|
399
|
-
if ( m[ 3 ] ) {
|
400
|
-
next.unshift( mk_block( m[ 3 ] ) );
|
401
|
-
}
|
402
|
-
|
403
|
-
return jsonml;
|
404
|
-
},
|
405
|
-
|
406
|
-
// There are two types of lists. Tight and loose. Tight lists have no whitespace
|
407
|
-
// between the items (and result in text just in the <li>) and loose lists,
|
408
|
-
// which have an empty line between list items, resulting in (one or more)
|
409
|
-
// paragraphs inside the <li>.
|
410
|
-
//
|
411
|
-
// There are all sorts weird edge cases about the original markdown.pl's
|
412
|
-
// handling of lists:
|
413
|
-
//
|
414
|
-
// * Nested lists are supposed to be indented by four chars per level. But
|
415
|
-
// if they aren't, you can get a nested list by indenting by less than
|
416
|
-
// four so long as the indent doesn't match an indent of an existing list
|
417
|
-
// item in the 'nest stack'.
|
418
|
-
//
|
419
|
-
// * The type of the list (bullet or number) is controlled just by the
|
420
|
-
// first item at the indent. Subsequent changes are ignored unless they
|
421
|
-
// are for nested lists
|
422
|
-
//
|
423
|
-
lists: (function( ) {
|
424
|
-
// Use a closure to hide a few variables.
|
425
|
-
var any_list = "[*+-]|\\d+\\.",
|
426
|
-
bullet_list = /[*+-]/,
|
427
|
-
number_list = /\d+\./,
|
428
|
-
// Capture leading indent as it matters for determining nested lists.
|
429
|
-
is_list_re = new RegExp( "^( {0,3})(" + any_list + ")[ \t]+" ),
|
430
|
-
indent_re = "(?: {0,3}\\t| {4})";
|
431
|
-
|
432
|
-
// TODO: Cache this regexp for certain depths.
|
433
|
-
// Create a regexp suitable for matching an li for a given stack depth
|
434
|
-
function regex_for_depth( depth ) {
|
435
|
-
|
436
|
-
return new RegExp(
|
437
|
-
// m[1] = indent, m[2] = list_type
|
438
|
-
"(?:^(" + indent_re + "{0," + depth + "} {0,3})(" + any_list + ")\\s+)|" +
|
439
|
-
// m[3] = cont
|
440
|
-
"(^" + indent_re + "{0," + (depth-1) + "}[ ]{0,4})"
|
441
|
-
);
|
442
|
-
}
|
443
|
-
function expand_tab( input ) {
|
444
|
-
return input.replace( / {0,3}\t/g, " " );
|
445
|
-
}
|
446
|
-
|
447
|
-
// Add inline content `inline` to `li`. inline comes from processInline
|
448
|
-
// so is an array of content
|
449
|
-
function add(li, loose, inline, nl) {
|
450
|
-
if ( loose ) {
|
451
|
-
li.push( [ "para" ].concat(inline) );
|
452
|
-
return;
|
453
|
-
}
|
454
|
-
// Hmmm, should this be any block level element or just paras?
|
455
|
-
var add_to = li[li.length -1] instanceof Array && li[li.length - 1][0] == "para"
|
456
|
-
? li[li.length -1]
|
457
|
-
: li;
|
458
|
-
|
459
|
-
// If there is already some content in this list, add the new line in
|
460
|
-
if ( nl && li.length > 1 ) inline.unshift(nl);
|
461
|
-
|
462
|
-
for ( var i = 0; i < inline.length; i++ ) {
|
463
|
-
var what = inline[i],
|
464
|
-
is_str = typeof what == "string";
|
465
|
-
if ( is_str && add_to.length > 1 && typeof add_to[add_to.length-1] == "string" ) {
|
466
|
-
add_to[ add_to.length-1 ] += what;
|
467
|
-
}
|
468
|
-
else {
|
469
|
-
add_to.push( what );
|
470
|
-
}
|
471
|
-
}
|
472
|
-
}
|
473
|
-
|
474
|
-
// contained means have an indent greater than the current one. On
|
475
|
-
// *every* line in the block
|
476
|
-
function get_contained_blocks( depth, blocks ) {
|
477
|
-
|
478
|
-
var re = new RegExp( "^(" + indent_re + "{" + depth + "}.*?\\n?)*$" ),
|
479
|
-
replace = new RegExp("^" + indent_re + "{" + depth + "}", "gm"),
|
480
|
-
ret = [];
|
481
|
-
|
482
|
-
while ( blocks.length > 0 ) {
|
483
|
-
if ( re.exec( blocks[0] ) ) {
|
484
|
-
var b = blocks.shift(),
|
485
|
-
// Now remove that indent
|
486
|
-
x = b.replace( replace, "");
|
487
|
-
|
488
|
-
ret.push( mk_block( x, b.trailing, b.lineNumber ) );
|
489
|
-
}
|
490
|
-
else {
|
491
|
-
break;
|
492
|
-
}
|
493
|
-
}
|
494
|
-
return ret;
|
495
|
-
}
|
496
|
-
|
497
|
-
// passed to stack.forEach to turn list items up the stack into paras
|
498
|
-
function paragraphify(s, i, stack) {
|
499
|
-
var list = s.list;
|
500
|
-
var last_li = list[list.length-1];
|
501
|
-
|
502
|
-
if ( last_li[1] instanceof Array && last_li[1][0] == "para" ) {
|
503
|
-
return;
|
504
|
-
}
|
505
|
-
if ( i + 1 == stack.length ) {
|
506
|
-
// Last stack frame
|
507
|
-
// Keep the same array, but replace the contents
|
508
|
-
last_li.push( ["para"].concat( last_li.splice(1, last_li.length - 1) ) );
|
509
|
-
}
|
510
|
-
else {
|
511
|
-
var sublist = last_li.pop();
|
512
|
-
last_li.push( ["para"].concat( last_li.splice(1, last_li.length - 1) ), sublist );
|
513
|
-
}
|
514
|
-
}
|
515
|
-
|
516
|
-
// The matcher function
|
517
|
-
return function( block, next ) {
|
518
|
-
var m = block.match( is_list_re );
|
519
|
-
if ( !m ) return undefined;
|
520
|
-
|
521
|
-
function make_list( m ) {
|
522
|
-
var list = bullet_list.exec( m[2] )
|
523
|
-
? ["bulletlist"]
|
524
|
-
: ["numberlist"];
|
525
|
-
|
526
|
-
stack.push( { list: list, indent: m[1] } );
|
527
|
-
return list;
|
528
|
-
}
|
529
|
-
|
530
|
-
|
531
|
-
var stack = [], // Stack of lists for nesting.
|
532
|
-
list = make_list( m ),
|
533
|
-
last_li,
|
534
|
-
loose = false,
|
535
|
-
ret = [ stack[0].list ],
|
536
|
-
i;
|
537
|
-
|
538
|
-
// Loop to search over block looking for inner block elements and loose lists
|
539
|
-
loose_search:
|
540
|
-
while ( true ) {
|
541
|
-
// Split into lines preserving new lines at end of line
|
542
|
-
var lines = block.split( /(?=\n)/ );
|
543
|
-
|
544
|
-
// We have to grab all lines for a li and call processInline on them
|
545
|
-
// once as there are some inline things that can span lines.
|
546
|
-
var li_accumulate = "";
|
547
|
-
|
548
|
-
// Loop over the lines in this block looking for tight lists.
|
549
|
-
tight_search:
|
550
|
-
for ( var line_no = 0; line_no < lines.length; line_no++ ) {
|
551
|
-
var nl = "",
|
552
|
-
l = lines[line_no].replace(/^\n/, function(n) { nl = n; return ""; });
|
553
|
-
|
554
|
-
// TODO: really should cache this
|
555
|
-
var line_re = regex_for_depth( stack.length );
|
556
|
-
|
557
|
-
m = l.match( line_re );
|
558
|
-
//print( "line:", uneval(l), "\nline match:", uneval(m) );
|
559
|
-
|
560
|
-
// We have a list item
|
561
|
-
if ( m[1] !== undefined ) {
|
562
|
-
// Process the previous list item, if any
|
563
|
-
if ( li_accumulate.length ) {
|
564
|
-
add( last_li, loose, this.processInline( li_accumulate ), nl );
|
565
|
-
// Loose mode will have been dealt with. Reset it
|
566
|
-
loose = false;
|
567
|
-
li_accumulate = "";
|
568
|
-
}
|
569
|
-
|
570
|
-
m[1] = expand_tab( m[1] );
|
571
|
-
var wanted_depth = Math.floor(m[1].length/4)+1;
|
572
|
-
//print( "want:", wanted_depth, "stack:", stack.length);
|
573
|
-
if ( wanted_depth > stack.length ) {
|
574
|
-
// Deep enough for a nested list outright
|
575
|
-
//print ( "new nested list" );
|
576
|
-
list = make_list( m );
|
577
|
-
last_li.push( list );
|
578
|
-
last_li = list[1] = [ "listitem" ];
|
579
|
-
}
|
580
|
-
else {
|
581
|
-
// We aren't deep enough to be strictly a new level. This is
|
582
|
-
// where Md.pl goes nuts. If the indent matches a level in the
|
583
|
-
// stack, put it there, else put it one deeper then the
|
584
|
-
// wanted_depth deserves.
|
585
|
-
var found = false;
|
586
|
-
for ( i = 0; i < stack.length; i++ ) {
|
587
|
-
if ( stack[ i ].indent != m[1] ) continue;
|
588
|
-
list = stack[ i ].list;
|
589
|
-
stack.splice( i+1, stack.length - (i+1) );
|
590
|
-
found = true;
|
591
|
-
break;
|
592
|
-
}
|
593
|
-
|
594
|
-
if (!found) {
|
595
|
-
//print("not found. l:", uneval(l));
|
596
|
-
wanted_depth++;
|
597
|
-
if ( wanted_depth <= stack.length ) {
|
598
|
-
stack.splice(wanted_depth, stack.length - wanted_depth);
|
599
|
-
//print("Desired depth now", wanted_depth, "stack:", stack.length);
|
600
|
-
list = stack[wanted_depth-1].list;
|
601
|
-
//print("list:", uneval(list) );
|
602
|
-
}
|
603
|
-
else {
|
604
|
-
//print ("made new stack for messy indent");
|
605
|
-
list = make_list(m);
|
606
|
-
last_li.push(list);
|
607
|
-
}
|
608
|
-
}
|
609
|
-
|
610
|
-
//print( uneval(list), "last", list === stack[stack.length-1].list );
|
611
|
-
last_li = [ "listitem" ];
|
612
|
-
list.push(last_li);
|
613
|
-
} // end depth of shenegains
|
614
|
-
nl = "";
|
615
|
-
}
|
616
|
-
|
617
|
-
// Add content
|
618
|
-
if ( l.length > m[0].length ) {
|
619
|
-
li_accumulate += nl + l.substr( m[0].length );
|
620
|
-
}
|
621
|
-
} // tight_search
|
622
|
-
|
623
|
-
if ( li_accumulate.length ) {
|
624
|
-
add( last_li, loose, this.processInline( li_accumulate ), nl );
|
625
|
-
// Loose mode will have been dealt with. Reset it
|
626
|
-
loose = false;
|
627
|
-
li_accumulate = "";
|
628
|
-
}
|
629
|
-
|
630
|
-
// Look at the next block - we might have a loose list. Or an extra
|
631
|
-
// paragraph for the current li
|
632
|
-
var contained = get_contained_blocks( stack.length, next );
|
633
|
-
|
634
|
-
// Deal with code blocks or properly nested lists
|
635
|
-
if ( contained.length > 0 ) {
|
636
|
-
// Make sure all listitems up the stack are paragraphs
|
637
|
-
forEach( stack, paragraphify, this);
|
638
|
-
|
639
|
-
last_li.push.apply( last_li, this.toTree( contained, [] ) );
|
640
|
-
}
|
641
|
-
|
642
|
-
var next_block = next[0] && next[0].valueOf() || "";
|
643
|
-
|
644
|
-
if ( next_block.match(is_list_re) || next_block.match( /^ / ) ) {
|
645
|
-
block = next.shift();
|
646
|
-
|
647
|
-
// Check for an HR following a list: features/lists/hr_abutting
|
648
|
-
var hr = this.dialect.block.horizRule( block, next );
|
649
|
-
|
650
|
-
if ( hr ) {
|
651
|
-
ret.push.apply(ret, hr);
|
652
|
-
break;
|
653
|
-
}
|
654
|
-
|
655
|
-
// Make sure all listitems up the stack are paragraphs
|
656
|
-
forEach( stack, paragraphify, this);
|
657
|
-
|
658
|
-
loose = true;
|
659
|
-
continue loose_search;
|
660
|
-
}
|
661
|
-
break;
|
662
|
-
} // loose_search
|
663
|
-
|
664
|
-
return ret;
|
665
|
-
};
|
666
|
-
})(),
|
667
|
-
|
668
|
-
blockquote: function blockquote( block, next ) {
|
669
|
-
if ( !block.match( /^>/m ) )
|
670
|
-
return undefined;
|
671
|
-
|
672
|
-
var jsonml = [];
|
673
|
-
|
674
|
-
// separate out the leading abutting block, if any. I.e. in this case:
|
675
|
-
//
|
676
|
-
// a
|
677
|
-
// > b
|
678
|
-
//
|
679
|
-
if ( block[ 0 ] != ">" ) {
|
680
|
-
var lines = block.split( /\n/ ),
|
681
|
-
prev = [],
|
682
|
-
line_no = block.lineNumber;
|
683
|
-
|
684
|
-
// keep shifting lines until you find a crotchet
|
685
|
-
while ( lines.length && lines[ 0 ][ 0 ] != ">" ) {
|
686
|
-
prev.push( lines.shift() );
|
687
|
-
line_no++;
|
688
|
-
}
|
689
|
-
|
690
|
-
var abutting = mk_block( prev.join( "\n" ), "\n", block.lineNumber );
|
691
|
-
jsonml.push.apply( jsonml, this.processBlock( abutting, [] ) );
|
692
|
-
// reassemble new block of just block quotes!
|
693
|
-
block = mk_block( lines.join( "\n" ), block.trailing, line_no );
|
694
|
-
}
|
695
|
-
|
696
|
-
|
697
|
-
// if the next block is also a blockquote merge it in
|
698
|
-
while ( next.length && next[ 0 ][ 0 ] == ">" ) {
|
699
|
-
var b = next.shift();
|
700
|
-
block = mk_block( block + block.trailing + b, b.trailing, block.lineNumber );
|
701
|
-
}
|
702
|
-
|
703
|
-
// Strip off the leading "> " and re-process as a block.
|
704
|
-
var input = block.replace( /^> ?/gm, "" ),
|
705
|
-
old_tree = this.tree,
|
706
|
-
processedBlock = this.toTree( input, [ "blockquote" ] ),
|
707
|
-
attr = extract_attr( processedBlock );
|
708
|
-
|
709
|
-
// If any link references were found get rid of them
|
710
|
-
if ( attr && attr.references ) {
|
711
|
-
delete attr.references;
|
712
|
-
// And then remove the attribute object if it's empty
|
713
|
-
if ( isEmpty( attr ) ) {
|
714
|
-
processedBlock.splice( 1, 1 );
|
715
|
-
}
|
716
|
-
}
|
717
|
-
|
718
|
-
jsonml.push( processedBlock );
|
719
|
-
return jsonml;
|
720
|
-
},
|
721
|
-
|
722
|
-
referenceDefn: function referenceDefn( block, next) {
|
723
|
-
var re = /^\s*\[(.*?)\]:\s*(\S+)(?:\s+(?:(['"])(.*?)\3|\((.*?)\)))?\n?/;
|
724
|
-
// interesting matches are [ , ref_id, url, , title, title ]
|
725
|
-
|
726
|
-
if ( !block.match(re) )
|
727
|
-
return undefined;
|
728
|
-
|
729
|
-
// make an attribute node if it doesn't exist
|
730
|
-
if ( !extract_attr( this.tree ) ) {
|
731
|
-
this.tree.splice( 1, 0, {} );
|
732
|
-
}
|
733
|
-
|
734
|
-
var attrs = extract_attr( this.tree );
|
735
|
-
|
736
|
-
// make a references hash if it doesn't exist
|
737
|
-
if ( attrs.references === undefined ) {
|
738
|
-
attrs.references = {};
|
739
|
-
}
|
740
|
-
|
741
|
-
var b = this.loop_re_over_block(re, block, function( m ) {
|
742
|
-
|
743
|
-
if ( m[2] && m[2][0] == "<" && m[2][m[2].length-1] == ">" )
|
744
|
-
m[2] = m[2].substring( 1, m[2].length - 1 );
|
745
|
-
|
746
|
-
var ref = attrs.references[ m[1].toLowerCase() ] = {
|
747
|
-
href: m[2]
|
748
|
-
};
|
749
|
-
|
750
|
-
if ( m[4] !== undefined )
|
751
|
-
ref.title = m[4];
|
752
|
-
else if ( m[5] !== undefined )
|
753
|
-
ref.title = m[5];
|
754
|
-
|
755
|
-
} );
|
756
|
-
|
757
|
-
if ( b.length )
|
758
|
-
next.unshift( mk_block( b, block.trailing ) );
|
759
|
-
|
760
|
-
return [];
|
761
|
-
},
|
762
|
-
|
763
|
-
para: function para( block, next ) {
|
764
|
-
// everything's a para!
|
765
|
-
return [ ["para"].concat( this.processInline( block ) ) ];
|
766
|
-
}
|
767
|
-
}
|
768
|
-
};
|
769
|
-
|
770
|
-
Markdown.dialects.Gruber.inline = {
|
771
|
-
|
772
|
-
__oneElement__: function oneElement( text, patterns_or_re, previous_nodes ) {
|
773
|
-
var m,
|
774
|
-
res,
|
775
|
-
lastIndex = 0;
|
776
|
-
|
777
|
-
patterns_or_re = patterns_or_re || this.dialect.inline.__patterns__;
|
778
|
-
var re = new RegExp( "([\\s\\S]*?)(" + (patterns_or_re.source || patterns_or_re) + ")" );
|
779
|
-
|
780
|
-
m = re.exec( text );
|
781
|
-
if (!m) {
|
782
|
-
// Just boring text
|
783
|
-
return [ text.length, text ];
|
784
|
-
}
|
785
|
-
else if ( m[1] ) {
|
786
|
-
// Some un-interesting text matched. Return that first
|
787
|
-
return [ m[1].length, m[1] ];
|
788
|
-
}
|
789
|
-
|
790
|
-
var res;
|
791
|
-
if ( m[2] in this.dialect.inline ) {
|
792
|
-
res = this.dialect.inline[ m[2] ].call(
|
793
|
-
this,
|
794
|
-
text.substr( m.index ), m, previous_nodes || [] );
|
795
|
-
}
|
796
|
-
// Default for now to make dev easier. just slurp special and output it.
|
797
|
-
res = res || [ m[2].length, m[2] ];
|
798
|
-
return res;
|
799
|
-
},
|
800
|
-
|
801
|
-
__call__: function inline( text, patterns ) {
|
802
|
-
|
803
|
-
var out = [],
|
804
|
-
res;
|
805
|
-
|
806
|
-
function add(x) {
|
807
|
-
//D:self.debug(" adding output", uneval(x));
|
808
|
-
if ( typeof x == "string" && typeof out[out.length-1] == "string" )
|
809
|
-
out[ out.length-1 ] += x;
|
810
|
-
else
|
811
|
-
out.push(x);
|
812
|
-
}
|
813
|
-
|
814
|
-
while ( text.length > 0 ) {
|
815
|
-
res = this.dialect.inline.__oneElement__.call(this, text, patterns, out );
|
816
|
-
text = text.substr( res.shift() );
|
817
|
-
forEach(res, add )
|
818
|
-
}
|
819
|
-
|
820
|
-
return out;
|
821
|
-
},
|
822
|
-
|
823
|
-
// These characters are intersting elsewhere, so have rules for them so that
|
824
|
-
// chunks of plain text blocks don't include them
|
825
|
-
"]": function () {},
|
826
|
-
"}": function () {},
|
827
|
-
|
828
|
-
__escape__ : /^\\[\\`\*_{}\[\]()#\+.!\-]/,
|
829
|
-
|
830
|
-
"\\": function escaped( text ) {
|
831
|
-
// [ length of input processed, node/children to add... ]
|
832
|
-
// Only esacape: \ ` * _ { } [ ] ( ) # * + - . !
|
833
|
-
if ( this.dialect.inline.__escape__.exec( text ) )
|
834
|
-
return [ 2, text.charAt( 1 ) ];
|
835
|
-
else
|
836
|
-
// Not an esacpe
|
837
|
-
return [ 1, "\\" ];
|
838
|
-
},
|
839
|
-
|
840
|
-
"
|
846
|
-
// 1 2 3 4 <--- captures
|
847
|
-
var m = text.match( /^!\[(.*?)\][ \t]*\([ \t]*([^")]*?)(?:[ \t]+(["'])(.*?)\3)?[ \t]*\)/ );
|
848
|
-
|
849
|
-
if ( m ) {
|
850
|
-
if ( m[2] && m[2][0] == "<" && m[2][m[2].length-1] == ">" )
|
851
|
-
m[2] = m[2].substring( 1, m[2].length - 1 );
|
852
|
-
|
853
|
-
m[2] = this.dialect.inline.__call__.call( this, m[2], /\\/ )[0];
|
854
|
-
|
855
|
-
var attrs = { alt: m[1], href: m[2] || "" };
|
856
|
-
if ( m[4] !== undefined)
|
857
|
-
attrs.title = m[4];
|
858
|
-
|
859
|
-
return [ m[0].length, [ "img", attrs ] ];
|
860
|
-
}
|
861
|
-
|
862
|
-
// ![Alt text][id]
|
863
|
-
m = text.match( /^!\[(.*?)\][ \t]*\[(.*?)\]/ );
|
864
|
-
|
865
|
-
if ( m ) {
|
866
|
-
// We can't check if the reference is known here as it likely wont be
|
867
|
-
// found till after. Check it in md tree->hmtl tree conversion
|
868
|
-
return [ m[0].length, [ "img_ref", { alt: m[1], ref: m[2].toLowerCase(), original: m[0] } ] ];
|
869
|
-
}
|
870
|
-
|
871
|
-
// Just consume the '!['
|
872
|
-
return [ 2, "![" ];
|
873
|
-
},
|
874
|
-
|
875
|
-
"[": function link( text ) {
|
876
|
-
|
877
|
-
var orig = String(text);
|
878
|
-
// Inline content is possible inside `link text`
|
879
|
-
var res = Markdown.DialectHelpers.inline_until_char.call( this, text.substr(1), "]" );
|
880
|
-
|
881
|
-
// No closing ']' found. Just consume the [
|
882
|
-
if ( !res ) return [ 1, "[" ];
|
883
|
-
|
884
|
-
var consumed = 1 + res[ 0 ],
|
885
|
-
children = res[ 1 ],
|
886
|
-
link,
|
887
|
-
attrs;
|
888
|
-
|
889
|
-
// At this point the first [...] has been parsed. See what follows to find
|
890
|
-
// out which kind of link we are (reference or direct url)
|
891
|
-
text = text.substr( consumed );
|
892
|
-
|
893
|
-
// [link text](/path/to/img.jpg "Optional title")
|
894
|
-
// 1 2 3 <--- captures
|
895
|
-
// This will capture up to the last paren in the block. We then pull
|
896
|
-
// back based on if there a matching ones in the url
|
897
|
-
// ([here](/url/(test))
|
898
|
-
// The parens have to be balanced
|
899
|
-
var m = text.match( /^\s*\([ \t]*([^"']*)(?:[ \t]+(["'])(.*?)\2)?[ \t]*\)/ );
|
900
|
-
if ( m ) {
|
901
|
-
var url = m[1];
|
902
|
-
consumed += m[0].length;
|
903
|
-
|
904
|
-
if ( url && url[0] == "<" && url[url.length-1] == ">" )
|
905
|
-
url = url.substring( 1, url.length - 1 );
|
906
|
-
|
907
|
-
// If there is a title we don't have to worry about parens in the url
|
908
|
-
if ( !m[3] ) {
|
909
|
-
var open_parens = 1; // One open that isn't in the capture
|
910
|
-
for ( var len = 0; len < url.length; len++ ) {
|
911
|
-
switch ( url[len] ) {
|
912
|
-
case "(":
|
913
|
-
open_parens++;
|
914
|
-
break;
|
915
|
-
case ")":
|
916
|
-
if ( --open_parens == 0) {
|
917
|
-
consumed -= url.length - len;
|
918
|
-
url = url.substring(0, len);
|
919
|
-
}
|
920
|
-
break;
|
921
|
-
}
|
922
|
-
}
|
923
|
-
}
|
924
|
-
|
925
|
-
// Process escapes only
|
926
|
-
url = this.dialect.inline.__call__.call( this, url, /\\/ )[0];
|
927
|
-
|
928
|
-
attrs = { href: url || "" };
|
929
|
-
if ( m[3] !== undefined)
|
930
|
-
attrs.title = m[3];
|
931
|
-
|
932
|
-
link = [ "link", attrs ].concat( children );
|
933
|
-
return [ consumed, link ];
|
934
|
-
}
|
935
|
-
|
936
|
-
// [Alt text][id]
|
937
|
-
// [Alt text] [id]
|
938
|
-
m = text.match( /^\s*\[(.*?)\]/ );
|
939
|
-
|
940
|
-
if ( m ) {
|
941
|
-
|
942
|
-
consumed += m[ 0 ].length;
|
943
|
-
|
944
|
-
// [links][] uses links as its reference
|
945
|
-
attrs = { ref: ( m[ 1 ] || String(children) ).toLowerCase(), original: orig.substr( 0, consumed ) };
|
946
|
-
|
947
|
-
link = [ "link_ref", attrs ].concat( children );
|
948
|
-
|
949
|
-
// We can't check if the reference is known here as it likely wont be
|
950
|
-
// found till after. Check it in md tree->hmtl tree conversion.
|
951
|
-
// Store the original so that conversion can revert if the ref isn't found.
|
952
|
-
return [ consumed, link ];
|
953
|
-
}
|
954
|
-
|
955
|
-
// [id]
|
956
|
-
// Only if id is plain (no formatting.)
|
957
|
-
if ( children.length == 1 && typeof children[0] == "string" ) {
|
958
|
-
|
959
|
-
attrs = { ref: children[0].toLowerCase(), original: orig.substr( 0, consumed ) };
|
960
|
-
link = [ "link_ref", attrs, children[0] ];
|
961
|
-
return [ consumed, link ];
|
962
|
-
}
|
963
|
-
|
964
|
-
// Just consume the "["
|
965
|
-
return [ 1, "[" ];
|
966
|
-
},
|
967
|
-
|
968
|
-
|
969
|
-
"<": function autoLink( text ) {
|
970
|
-
var m;
|
971
|
-
|
972
|
-
if ( ( m = text.match( /^<(?:((https?|ftp|mailto):[^>]+)|(.*?@.*?\.[a-zA-Z]+))>/ ) ) != null ) {
|
973
|
-
if ( m[3] ) {
|
974
|
-
return [ m[0].length, [ "link", { href: "mailto:" + m[3] }, m[3] ] ];
|
975
|
-
|
976
|
-
}
|
977
|
-
else if ( m[2] == "mailto" ) {
|
978
|
-
return [ m[0].length, [ "link", { href: m[1] }, m[1].substr("mailto:".length ) ] ];
|
979
|
-
}
|
980
|
-
else
|
981
|
-
return [ m[0].length, [ "link", { href: m[1] }, m[1] ] ];
|
982
|
-
}
|
983
|
-
|
984
|
-
return [ 1, "<" ];
|
985
|
-
},
|
986
|
-
|
987
|
-
"`": function inlineCode( text ) {
|
988
|
-
// Inline code block. as many backticks as you like to start it
|
989
|
-
// Always skip over the opening ticks.
|
990
|
-
var m = text.match( /(`+)(([\s\S]*?)\1)/ );
|
991
|
-
|
992
|
-
if ( m && m[2] )
|
993
|
-
return [ m[1].length + m[2].length, [ "inlinecode", m[3] ] ];
|
994
|
-
else {
|
995
|
-
// TODO: No matching end code found - warn!
|
996
|
-
return [ 1, "`" ];
|
997
|
-
}
|
998
|
-
},
|
999
|
-
|
1000
|
-
" \n": function lineBreak( text ) {
|
1001
|
-
return [ 3, [ "linebreak" ] ];
|
1002
|
-
}
|
1003
|
-
|
1004
|
-
};
|
1005
|
-
|
1006
|
-
// Meta Helper/generator method for em and strong handling
|
1007
|
-
function strong_em( tag, md ) {
|
1008
|
-
|
1009
|
-
var state_slot = tag + "_state",
|
1010
|
-
other_slot = tag == "strong" ? "em_state" : "strong_state";
|
1011
|
-
|
1012
|
-
function CloseTag(len) {
|
1013
|
-
this.len_after = len;
|
1014
|
-
this.name = "close_" + md;
|
1015
|
-
}
|
1016
|
-
|
1017
|
-
return function ( text, orig_match ) {
|
1018
|
-
|
1019
|
-
if ( this[state_slot][0] == md ) {
|
1020
|
-
// Most recent em is of this type
|
1021
|
-
//D:this.debug("closing", md);
|
1022
|
-
this[state_slot].shift();
|
1023
|
-
|
1024
|
-
// "Consume" everything to go back to the recrusion in the else-block below
|
1025
|
-
return[ text.length, new CloseTag(text.length-md.length) ];
|
1026
|
-
}
|
1027
|
-
else {
|
1028
|
-
// Store a clone of the em/strong states
|
1029
|
-
var other = this[other_slot].slice(),
|
1030
|
-
state = this[state_slot].slice();
|
1031
|
-
|
1032
|
-
this[state_slot].unshift(md);
|
1033
|
-
|
1034
|
-
//D:this.debug_indent += " ";
|
1035
|
-
|
1036
|
-
// Recurse
|
1037
|
-
var res = this.processInline( text.substr( md.length ) );
|
1038
|
-
//D:this.debug_indent = this.debug_indent.substr(2);
|
1039
|
-
|
1040
|
-
var last = res[res.length - 1];
|
1041
|
-
|
1042
|
-
//D:this.debug("processInline from", tag + ": ", uneval( res ) );
|
1043
|
-
|
1044
|
-
var check = this[state_slot].shift();
|
1045
|
-
if ( last instanceof CloseTag ) {
|
1046
|
-
res.pop();
|
1047
|
-
// We matched! Huzzah.
|
1048
|
-
var consumed = text.length - last.len_after;
|
1049
|
-
return [ consumed, [ tag ].concat(res) ];
|
1050
|
-
}
|
1051
|
-
else {
|
1052
|
-
// Restore the state of the other kind. We might have mistakenly closed it.
|
1053
|
-
this[other_slot] = other;
|
1054
|
-
this[state_slot] = state;
|
1055
|
-
|
1056
|
-
// We can't reuse the processed result as it could have wrong parsing contexts in it.
|
1057
|
-
return [ md.length, md ];
|
1058
|
-
}
|
1059
|
-
}
|
1060
|
-
}; // End returned function
|
1061
|
-
}
|
1062
|
-
|
1063
|
-
Markdown.dialects.Gruber.inline["**"] = strong_em("strong", "**");
|
1064
|
-
Markdown.dialects.Gruber.inline["__"] = strong_em("strong", "__");
|
1065
|
-
Markdown.dialects.Gruber.inline["*"] = strong_em("em", "*");
|
1066
|
-
Markdown.dialects.Gruber.inline["_"] = strong_em("em", "_");
|
1067
|
-
|
1068
|
-
|
1069
|
-
// Build default order from insertion order.
|
1070
|
-
Markdown.buildBlockOrder = function(d) {
|
1071
|
-
var ord = [];
|
1072
|
-
for ( var i in d ) {
|
1073
|
-
if ( i == "__order__" || i == "__call__" ) continue;
|
1074
|
-
ord.push( i );
|
1075
|
-
}
|
1076
|
-
d.__order__ = ord;
|
1077
|
-
};
|
1078
|
-
|
1079
|
-
// Build patterns for inline matcher
|
1080
|
-
Markdown.buildInlinePatterns = function(d) {
|
1081
|
-
var patterns = [];
|
1082
|
-
|
1083
|
-
for ( var i in d ) {
|
1084
|
-
// __foo__ is reserved and not a pattern
|
1085
|
-
if ( i.match( /^__.*__$/) ) continue;
|
1086
|
-
var l = i.replace( /([\\.*+?|()\[\]{}])/g, "\\$1" )
|
1087
|
-
.replace( /\n/, "\\n" );
|
1088
|
-
patterns.push( i.length == 1 ? l : "(?:" + l + ")" );
|
1089
|
-
}
|
1090
|
-
|
1091
|
-
patterns = patterns.join("|");
|
1092
|
-
d.__patterns__ = patterns;
|
1093
|
-
//print("patterns:", uneval( patterns ) );
|
1094
|
-
|
1095
|
-
var fn = d.__call__;
|
1096
|
-
d.__call__ = function(text, pattern) {
|
1097
|
-
if ( pattern != undefined ) {
|
1098
|
-
return fn.call(this, text, pattern);
|
1099
|
-
}
|
1100
|
-
else
|
1101
|
-
{
|
1102
|
-
return fn.call(this, text, patterns);
|
1103
|
-
}
|
1104
|
-
};
|
1105
|
-
};
|
1106
|
-
|
1107
|
-
Markdown.DialectHelpers = {};
|
1108
|
-
Markdown.DialectHelpers.inline_until_char = function( text, want ) {
|
1109
|
-
var consumed = 0,
|
1110
|
-
nodes = [];
|
1111
|
-
|
1112
|
-
while ( true ) {
|
1113
|
-
if ( text.charAt( consumed ) == want ) {
|
1114
|
-
// Found the character we were looking for
|
1115
|
-
consumed++;
|
1116
|
-
return [ consumed, nodes ];
|
1117
|
-
}
|
1118
|
-
|
1119
|
-
if ( consumed >= text.length ) {
|
1120
|
-
// No closing char found. Abort.
|
1121
|
-
return null;
|
1122
|
-
}
|
1123
|
-
|
1124
|
-
var res = this.dialect.inline.__oneElement__.call(this, text.substr( consumed ) );
|
1125
|
-
consumed += res[ 0 ];
|
1126
|
-
// Add any returned nodes.
|
1127
|
-
nodes.push.apply( nodes, res.slice( 1 ) );
|
1128
|
-
}
|
1129
|
-
}
|
1130
|
-
|
1131
|
-
// Helper function to make sub-classing a dialect easier
|
1132
|
-
Markdown.subclassDialect = function( d ) {
|
1133
|
-
function Block() {}
|
1134
|
-
Block.prototype = d.block;
|
1135
|
-
function Inline() {}
|
1136
|
-
Inline.prototype = d.inline;
|
1137
|
-
|
1138
|
-
return { block: new Block(), inline: new Inline() };
|
1139
|
-
};
|
1140
|
-
|
1141
|
-
Markdown.buildBlockOrder ( Markdown.dialects.Gruber.block );
|
1142
|
-
Markdown.buildInlinePatterns( Markdown.dialects.Gruber.inline );
|
1143
|
-
|
1144
|
-
Markdown.dialects.Maruku = Markdown.subclassDialect( Markdown.dialects.Gruber );
|
1145
|
-
|
1146
|
-
Markdown.dialects.Maruku.processMetaHash = function processMetaHash( meta_string ) {
|
1147
|
-
var meta = split_meta_hash( meta_string ),
|
1148
|
-
attr = {};
|
1149
|
-
|
1150
|
-
for ( var i = 0; i < meta.length; ++i ) {
|
1151
|
-
// id: #foo
|
1152
|
-
if ( /^#/.test( meta[ i ] ) ) {
|
1153
|
-
attr.id = meta[ i ].substring( 1 );
|
1154
|
-
}
|
1155
|
-
// class: .foo
|
1156
|
-
else if ( /^\./.test( meta[ i ] ) ) {
|
1157
|
-
// if class already exists, append the new one
|
1158
|
-
if ( attr["class"] ) {
|
1159
|
-
attr["class"] = attr["class"] + meta[ i ].replace( /./, " " );
|
1160
|
-
}
|
1161
|
-
else {
|
1162
|
-
attr["class"] = meta[ i ].substring( 1 );
|
1163
|
-
}
|
1164
|
-
}
|
1165
|
-
// attribute: foo=bar
|
1166
|
-
else if ( /\=/.test( meta[ i ] ) ) {
|
1167
|
-
var s = meta[ i ].split( /\=/ );
|
1168
|
-
attr[ s[ 0 ] ] = s[ 1 ];
|
1169
|
-
}
|
1170
|
-
}
|
1171
|
-
|
1172
|
-
return attr;
|
1173
|
-
}
|
1174
|
-
|
1175
|
-
function split_meta_hash( meta_string ) {
|
1176
|
-
var meta = meta_string.split( "" ),
|
1177
|
-
parts = [ "" ],
|
1178
|
-
in_quotes = false;
|
1179
|
-
|
1180
|
-
while ( meta.length ) {
|
1181
|
-
var letter = meta.shift();
|
1182
|
-
switch ( letter ) {
|
1183
|
-
case " " :
|
1184
|
-
// if we're in a quoted section, keep it
|
1185
|
-
if ( in_quotes ) {
|
1186
|
-
parts[ parts.length - 1 ] += letter;
|
1187
|
-
}
|
1188
|
-
// otherwise make a new part
|
1189
|
-
else {
|
1190
|
-
parts.push( "" );
|
1191
|
-
}
|
1192
|
-
break;
|
1193
|
-
case "'" :
|
1194
|
-
case '"' :
|
1195
|
-
// reverse the quotes and move straight on
|
1196
|
-
in_quotes = !in_quotes;
|
1197
|
-
break;
|
1198
|
-
case "\\" :
|
1199
|
-
// shift off the next letter to be used straight away.
|
1200
|
-
// it was escaped so we'll keep it whatever it is
|
1201
|
-
letter = meta.shift();
|
1202
|
-
default :
|
1203
|
-
parts[ parts.length - 1 ] += letter;
|
1204
|
-
break;
|
1205
|
-
}
|
1206
|
-
}
|
1207
|
-
|
1208
|
-
return parts;
|
1209
|
-
}
|
1210
|
-
|
1211
|
-
Markdown.dialects.Maruku.block.document_meta = function document_meta( block, next ) {
|
1212
|
-
// we're only interested in the first block
|
1213
|
-
if ( block.lineNumber > 1 ) return undefined;
|
1214
|
-
|
1215
|
-
// document_meta blocks consist of one or more lines of `Key: Value\n`
|
1216
|
-
if ( ! block.match( /^(?:\w+:.*\n)*\w+:.*$/ ) ) return undefined;
|
1217
|
-
|
1218
|
-
// make an attribute node if it doesn't exist
|
1219
|
-
if ( !extract_attr( this.tree ) ) {
|
1220
|
-
this.tree.splice( 1, 0, {} );
|
1221
|
-
}
|
1222
|
-
|
1223
|
-
var pairs = block.split( /\n/ );
|
1224
|
-
for ( p in pairs ) {
|
1225
|
-
var m = pairs[ p ].match( /(\w+):\s*(.*)$/ ),
|
1226
|
-
key = m[ 1 ].toLowerCase(),
|
1227
|
-
value = m[ 2 ];
|
1228
|
-
|
1229
|
-
this.tree[ 1 ][ key ] = value;
|
1230
|
-
}
|
1231
|
-
|
1232
|
-
// document_meta produces no content!
|
1233
|
-
return [];
|
1234
|
-
};
|
1235
|
-
|
1236
|
-
Markdown.dialects.Maruku.block.block_meta = function block_meta( block, next ) {
|
1237
|
-
// check if the last line of the block is an meta hash
|
1238
|
-
var m = block.match( /(^|\n) {0,3}\{:\s*((?:\\\}|[^\}])*)\s*\}$/ );
|
1239
|
-
if ( !m ) return undefined;
|
1240
|
-
|
1241
|
-
// process the meta hash
|
1242
|
-
var attr = this.dialect.processMetaHash( m[ 2 ] );
|
1243
|
-
|
1244
|
-
var hash;
|
1245
|
-
|
1246
|
-
// if we matched ^ then we need to apply meta to the previous block
|
1247
|
-
if ( m[ 1 ] === "" ) {
|
1248
|
-
var node = this.tree[ this.tree.length - 1 ];
|
1249
|
-
hash = extract_attr( node );
|
1250
|
-
|
1251
|
-
// if the node is a string (rather than JsonML), bail
|
1252
|
-
if ( typeof node === "string" ) return undefined;
|
1253
|
-
|
1254
|
-
// create the attribute hash if it doesn't exist
|
1255
|
-
if ( !hash ) {
|
1256
|
-
hash = {};
|
1257
|
-
node.splice( 1, 0, hash );
|
1258
|
-
}
|
1259
|
-
|
1260
|
-
// add the attributes in
|
1261
|
-
for ( a in attr ) {
|
1262
|
-
hash[ a ] = attr[ a ];
|
1263
|
-
}
|
1264
|
-
|
1265
|
-
// return nothing so the meta hash is removed
|
1266
|
-
return [];
|
1267
|
-
}
|
1268
|
-
|
1269
|
-
// pull the meta hash off the block and process what's left
|
1270
|
-
var b = block.replace( /\n.*$/, "" ),
|
1271
|
-
result = this.processBlock( b, [] );
|
1272
|
-
|
1273
|
-
// get or make the attributes hash
|
1274
|
-
hash = extract_attr( result[ 0 ] );
|
1275
|
-
if ( !hash ) {
|
1276
|
-
hash = {};
|
1277
|
-
result[ 0 ].splice( 1, 0, hash );
|
1278
|
-
}
|
1279
|
-
|
1280
|
-
// attach the attributes to the block
|
1281
|
-
for ( a in attr ) {
|
1282
|
-
hash[ a ] = attr[ a ];
|
1283
|
-
}
|
1284
|
-
|
1285
|
-
return result;
|
1286
|
-
};
|
1287
|
-
|
1288
|
-
Markdown.dialects.Maruku.block.definition_list = function definition_list( block, next ) {
|
1289
|
-
// one or more terms followed by one or more definitions, in a single block
|
1290
|
-
var tight = /^((?:[^\s:].*\n)+):\s+([\s\S]+)$/,
|
1291
|
-
list = [ "dl" ],
|
1292
|
-
i, m;
|
1293
|
-
|
1294
|
-
// see if we're dealing with a tight or loose block
|
1295
|
-
if ( ( m = block.match( tight ) ) ) {
|
1296
|
-
// pull subsequent tight DL blocks out of `next`
|
1297
|
-
var blocks = [ block ];
|
1298
|
-
while ( next.length && tight.exec( next[ 0 ] ) ) {
|
1299
|
-
blocks.push( next.shift() );
|
1300
|
-
}
|
1301
|
-
|
1302
|
-
for ( var b = 0; b < blocks.length; ++b ) {
|
1303
|
-
var m = blocks[ b ].match( tight ),
|
1304
|
-
terms = m[ 1 ].replace( /\n$/, "" ).split( /\n/ ),
|
1305
|
-
defns = m[ 2 ].split( /\n:\s+/ );
|
1306
|
-
|
1307
|
-
// print( uneval( m ) );
|
1308
|
-
|
1309
|
-
for ( i = 0; i < terms.length; ++i ) {
|
1310
|
-
list.push( [ "dt", terms[ i ] ] );
|
1311
|
-
}
|
1312
|
-
|
1313
|
-
for ( i = 0; i < defns.length; ++i ) {
|
1314
|
-
// run inline processing over the definition
|
1315
|
-
list.push( [ "dd" ].concat( this.processInline( defns[ i ].replace( /(\n)\s+/, "$1" ) ) ) );
|
1316
|
-
}
|
1317
|
-
}
|
1318
|
-
}
|
1319
|
-
else {
|
1320
|
-
return undefined;
|
1321
|
-
}
|
1322
|
-
|
1323
|
-
return [ list ];
|
1324
|
-
};
|
1325
|
-
|
1326
|
-
// splits on unescaped instances of @ch. If @ch is not a character the result
|
1327
|
-
// can be unpredictable
|
1328
|
-
|
1329
|
-
Markdown.dialects.Maruku.block.table = function table (block, next) {
|
1330
|
-
|
1331
|
-
var _split_on_unescaped = function(s, ch) {
|
1332
|
-
ch = ch || '\\s';
|
1333
|
-
if (ch.match(/^[\\|\[\]{}?*.+^$]$/)) { ch = '\\' + ch; }
|
1334
|
-
var res = [ ],
|
1335
|
-
r = new RegExp('^((?:\\\\.|[^\\\\' + ch + '])*)' + ch + '(.*)'),
|
1336
|
-
m;
|
1337
|
-
while(m = s.match(r)) {
|
1338
|
-
res.push(m[1]);
|
1339
|
-
s = m[2];
|
1340
|
-
}
|
1341
|
-
res.push(s);
|
1342
|
-
return res;
|
1343
|
-
}
|
1344
|
-
|
1345
|
-
var leading_pipe = /^ {0,3}\|(.+)\n {0,3}\|\s*([\-:]+[\-| :]*)\n((?:\s*\|.*(?:\n|$))*)(?=\n|$)/,
|
1346
|
-
// find at least an unescaped pipe in each line
|
1347
|
-
no_leading_pipe = /^ {0,3}(\S(?:\\.|[^\\|])*\|.*)\n {0,3}([\-:]+\s*\|[\-| :]*)\n((?:(?:\\.|[^\\|])*\|.*(?:\n|$))*)(?=\n|$)/,
|
1348
|
-
i, m;
|
1349
|
-
if (m = block.match(leading_pipe)) {
|
1350
|
-
// remove leading pipes in contents
|
1351
|
-
// (header and horizontal rule already have the leading pipe left out)
|
1352
|
-
m[3] = m[3].replace(/^\s*\|/gm, '');
|
1353
|
-
} else if (! ( m = block.match(no_leading_pipe))) {
|
1354
|
-
return undefined;
|
1355
|
-
}
|
1356
|
-
|
1357
|
-
var table = [ "table", [ "thead", [ "tr" ] ], [ "tbody" ] ];
|
1358
|
-
|
1359
|
-
// remove trailing pipes, then split on pipes
|
1360
|
-
// (no escaped pipes are allowed in horizontal rule)
|
1361
|
-
m[2] = m[2].replace(/\|\s*$/, '').split('|');
|
1362
|
-
|
1363
|
-
// process alignment
|
1364
|
-
var html_attrs = [ ];
|
1365
|
-
forEach (m[2], function (s) {
|
1366
|
-
if (s.match(/^\s*-+:\s*$/)) html_attrs.push({align: "right"});
|
1367
|
-
else if (s.match(/^\s*:-+\s*$/)) html_attrs.push({align: "left"});
|
1368
|
-
else if (s.match(/^\s*:-+:\s*$/)) html_attrs.push({align: "center"});
|
1369
|
-
else html_attrs.push({});
|
1370
|
-
});
|
1371
|
-
|
1372
|
-
// now for the header, avoid escaped pipes
|
1373
|
-
m[1] = _split_on_unescaped(m[1].replace(/\|\s*$/, ''), '|');
|
1374
|
-
for (i = 0; i < m[1].length; i++) {
|
1375
|
-
table[1][1].push(['th', html_attrs[i] || {}].concat(
|
1376
|
-
this.processInline(m[1][i].trim())));
|
1377
|
-
}
|
1378
|
-
|
1379
|
-
// now for body contents
|
1380
|
-
forEach (m[3].replace(/\|\s*$/mg, '').split('\n'), function (row) {
|
1381
|
-
var html_row = ['tr'];
|
1382
|
-
row = _split_on_unescaped(row, '|');
|
1383
|
-
for (i = 0; i < row.length; i++) {
|
1384
|
-
html_row.push(['td', html_attrs[i] || {}].concat(this.processInline(row[i].trim())));
|
1385
|
-
}
|
1386
|
-
table[2].push(html_row);
|
1387
|
-
}, this);
|
1388
|
-
|
1389
|
-
return [table];
|
1390
|
-
}
|
1391
|
-
|
1392
|
-
Markdown.dialects.Maruku.inline[ "{:" ] = function inline_meta( text, matches, out ) {
|
1393
|
-
if ( !out.length ) {
|
1394
|
-
return [ 2, "{:" ];
|
1395
|
-
}
|
1396
|
-
|
1397
|
-
// get the preceeding element
|
1398
|
-
var before = out[ out.length - 1 ];
|
1399
|
-
|
1400
|
-
if ( typeof before === "string" ) {
|
1401
|
-
return [ 2, "{:" ];
|
1402
|
-
}
|
1403
|
-
|
1404
|
-
// match a meta hash
|
1405
|
-
var m = text.match( /^\{:\s*((?:\\\}|[^\}])*)\s*\}/ );
|
1406
|
-
|
1407
|
-
// no match, false alarm
|
1408
|
-
if ( !m ) {
|
1409
|
-
return [ 2, "{:" ];
|
1410
|
-
}
|
1411
|
-
|
1412
|
-
// attach the attributes to the preceeding element
|
1413
|
-
var meta = this.dialect.processMetaHash( m[ 1 ] ),
|
1414
|
-
attr = extract_attr( before );
|
1415
|
-
|
1416
|
-
if ( !attr ) {
|
1417
|
-
attr = {};
|
1418
|
-
before.splice( 1, 0, attr );
|
1419
|
-
}
|
1420
|
-
|
1421
|
-
for ( var k in meta ) {
|
1422
|
-
attr[ k ] = meta[ k ];
|
1423
|
-
}
|
1424
|
-
|
1425
|
-
// cut out the string and replace it with nothing
|
1426
|
-
return [ m[ 0 ].length, "" ];
|
1427
|
-
};
|
1428
|
-
|
1429
|
-
Markdown.dialects.Maruku.inline.__escape__ = /^\\[\\`\*_{}\[\]()#\+.!\-|:]/;
|
1430
|
-
|
1431
|
-
Markdown.buildBlockOrder ( Markdown.dialects.Maruku.block );
|
1432
|
-
Markdown.buildInlinePatterns( Markdown.dialects.Maruku.inline );
|
1433
|
-
|
1434
|
-
var isArray = Array.isArray || function(obj) {
|
1435
|
-
return Object.prototype.toString.call(obj) == "[object Array]";
|
1436
|
-
};
|
1437
|
-
|
1438
|
-
var forEach;
|
1439
|
-
// Don't mess with Array.prototype. Its not friendly
|
1440
|
-
if ( Array.prototype.forEach ) {
|
1441
|
-
forEach = function( arr, cb, thisp ) {
|
1442
|
-
return arr.forEach( cb, thisp );
|
1443
|
-
};
|
1444
|
-
}
|
1445
|
-
else {
|
1446
|
-
forEach = function(arr, cb, thisp) {
|
1447
|
-
for (var i = 0; i < arr.length; i++) {
|
1448
|
-
cb.call(thisp || arr, arr[i], i, arr);
|
1449
|
-
}
|
1450
|
-
}
|
1451
|
-
}
|
1452
|
-
|
1453
|
-
var isEmpty = function( obj ) {
|
1454
|
-
for ( var key in obj ) {
|
1455
|
-
if ( hasOwnProperty.call( obj, key ) ) {
|
1456
|
-
return false;
|
1457
|
-
}
|
1458
|
-
}
|
1459
|
-
|
1460
|
-
return true;
|
1461
|
-
}
|
1462
|
-
|
1463
|
-
function extract_attr( jsonml ) {
|
1464
|
-
return isArray(jsonml)
|
1465
|
-
&& jsonml.length > 1
|
1466
|
-
&& typeof jsonml[ 1 ] === "object"
|
1467
|
-
&& !( isArray(jsonml[ 1 ]) )
|
1468
|
-
? jsonml[ 1 ]
|
1469
|
-
: undefined;
|
1470
|
-
}
|
1471
|
-
|
1472
|
-
|
1473
|
-
|
1474
|
-
/**
|
1475
|
-
* renderJsonML( jsonml[, options] ) -> String
|
1476
|
-
* - jsonml (Array): JsonML array to render to XML
|
1477
|
-
* - options (Object): options
|
1478
|
-
*
|
1479
|
-
* Converts the given JsonML into well-formed XML.
|
1480
|
-
*
|
1481
|
-
* The options currently understood are:
|
1482
|
-
*
|
1483
|
-
* - root (Boolean): wether or not the root node should be included in the
|
1484
|
-
* output, or just its children. The default `false` is to not include the
|
1485
|
-
* root itself.
|
1486
|
-
*/
|
1487
|
-
expose.renderJsonML = function( jsonml, options ) {
|
1488
|
-
options = options || {};
|
1489
|
-
// include the root element in the rendered output?
|
1490
|
-
options.root = options.root || false;
|
1491
|
-
|
1492
|
-
var content = [];
|
1493
|
-
|
1494
|
-
if ( options.root ) {
|
1495
|
-
content.push( render_tree( jsonml ) );
|
1496
|
-
}
|
1497
|
-
else {
|
1498
|
-
jsonml.shift(); // get rid of the tag
|
1499
|
-
if ( jsonml.length && typeof jsonml[ 0 ] === "object" && !( jsonml[ 0 ] instanceof Array ) ) {
|
1500
|
-
jsonml.shift(); // get rid of the attributes
|
1501
|
-
}
|
1502
|
-
|
1503
|
-
while ( jsonml.length ) {
|
1504
|
-
content.push( render_tree( jsonml.shift() ) );
|
1505
|
-
}
|
1506
|
-
}
|
1507
|
-
|
1508
|
-
return content.join( "\n\n" );
|
1509
|
-
};
|
1510
|
-
|
1511
|
-
function escapeHTML( text ) {
|
1512
|
-
return text.replace( /&/g, "&" )
|
1513
|
-
.replace( /</g, "<" )
|
1514
|
-
.replace( />/g, ">" )
|
1515
|
-
.replace( /"/g, """ )
|
1516
|
-
.replace( /'/g, "'" );
|
1517
|
-
}
|
1518
|
-
|
1519
|
-
function render_tree( jsonml ) {
|
1520
|
-
// basic case
|
1521
|
-
if ( typeof jsonml === "string" ) {
|
1522
|
-
return escapeHTML( jsonml );
|
1523
|
-
}
|
1524
|
-
|
1525
|
-
var tag = jsonml.shift(),
|
1526
|
-
attributes = {},
|
1527
|
-
content = [];
|
1528
|
-
|
1529
|
-
if ( jsonml.length && typeof jsonml[ 0 ] === "object" && !( jsonml[ 0 ] instanceof Array ) ) {
|
1530
|
-
attributes = jsonml.shift();
|
1531
|
-
}
|
1532
|
-
|
1533
|
-
while ( jsonml.length ) {
|
1534
|
-
content.push( render_tree( jsonml.shift() ) );
|
1535
|
-
}
|
1536
|
-
|
1537
|
-
var tag_attrs = "";
|
1538
|
-
for ( var a in attributes ) {
|
1539
|
-
tag_attrs += " " + a + '="' + escapeHTML( attributes[ a ] ) + '"';
|
1540
|
-
}
|
1541
|
-
|
1542
|
-
// be careful about adding whitespace here for inline elements
|
1543
|
-
if ( tag == "img" || tag == "br" || tag == "hr" ) {
|
1544
|
-
return "<"+ tag + tag_attrs + "/>";
|
1545
|
-
}
|
1546
|
-
else {
|
1547
|
-
return "<"+ tag + tag_attrs + ">" + content.join( "" ) + "</" + tag + ">";
|
1548
|
-
}
|
1549
|
-
}
|
1550
|
-
|
1551
|
-
function convert_tree_to_html( tree, references, options ) {
|
1552
|
-
var i;
|
1553
|
-
options = options || {};
|
1554
|
-
|
1555
|
-
// shallow clone
|
1556
|
-
var jsonml = tree.slice( 0 );
|
1557
|
-
|
1558
|
-
if ( typeof options.preprocessTreeNode === "function" ) {
|
1559
|
-
jsonml = options.preprocessTreeNode(jsonml, references);
|
1560
|
-
}
|
1561
|
-
|
1562
|
-
// Clone attributes if they exist
|
1563
|
-
var attrs = extract_attr( jsonml );
|
1564
|
-
if ( attrs ) {
|
1565
|
-
jsonml[ 1 ] = {};
|
1566
|
-
for ( i in attrs ) {
|
1567
|
-
jsonml[ 1 ][ i ] = attrs[ i ];
|
1568
|
-
}
|
1569
|
-
attrs = jsonml[ 1 ];
|
1570
|
-
}
|
1571
|
-
|
1572
|
-
// basic case
|
1573
|
-
if ( typeof jsonml === "string" ) {
|
1574
|
-
return jsonml;
|
1575
|
-
}
|
1576
|
-
|
1577
|
-
// convert this node
|
1578
|
-
switch ( jsonml[ 0 ] ) {
|
1579
|
-
case "header":
|
1580
|
-
jsonml[ 0 ] = "h" + jsonml[ 1 ].level;
|
1581
|
-
delete jsonml[ 1 ].level;
|
1582
|
-
break;
|
1583
|
-
case "bulletlist":
|
1584
|
-
jsonml[ 0 ] = "ul";
|
1585
|
-
break;
|
1586
|
-
case "numberlist":
|
1587
|
-
jsonml[ 0 ] = "ol";
|
1588
|
-
break;
|
1589
|
-
case "listitem":
|
1590
|
-
jsonml[ 0 ] = "li";
|
1591
|
-
break;
|
1592
|
-
case "para":
|
1593
|
-
jsonml[ 0 ] = "p";
|
1594
|
-
break;
|
1595
|
-
case "markdown":
|
1596
|
-
jsonml[ 0 ] = "html";
|
1597
|
-
if ( attrs ) delete attrs.references;
|
1598
|
-
break;
|
1599
|
-
case "code_block":
|
1600
|
-
jsonml[ 0 ] = "pre";
|
1601
|
-
i = attrs ? 2 : 1;
|
1602
|
-
var code = [ "code" ];
|
1603
|
-
code.push.apply( code, jsonml.splice( i, jsonml.length - i ) );
|
1604
|
-
jsonml[ i ] = code;
|
1605
|
-
break;
|
1606
|
-
case "inlinecode":
|
1607
|
-
jsonml[ 0 ] = "code";
|
1608
|
-
break;
|
1609
|
-
case "img":
|
1610
|
-
jsonml[ 1 ].src = jsonml[ 1 ].href;
|
1611
|
-
delete jsonml[ 1 ].href;
|
1612
|
-
break;
|
1613
|
-
case "linebreak":
|
1614
|
-
jsonml[ 0 ] = "br";
|
1615
|
-
break;
|
1616
|
-
case "link":
|
1617
|
-
jsonml[ 0 ] = "a";
|
1618
|
-
break;
|
1619
|
-
case "link_ref":
|
1620
|
-
jsonml[ 0 ] = "a";
|
1621
|
-
|
1622
|
-
// grab this ref and clean up the attribute node
|
1623
|
-
var ref = references[ attrs.ref ];
|
1624
|
-
|
1625
|
-
// if the reference exists, make the link
|
1626
|
-
if ( ref ) {
|
1627
|
-
delete attrs.ref;
|
1628
|
-
|
1629
|
-
// add in the href and title, if present
|
1630
|
-
attrs.href = ref.href;
|
1631
|
-
if ( ref.title ) {
|
1632
|
-
attrs.title = ref.title;
|
1633
|
-
}
|
1634
|
-
|
1635
|
-
// get rid of the unneeded original text
|
1636
|
-
delete attrs.original;
|
1637
|
-
}
|
1638
|
-
// the reference doesn't exist, so revert to plain text
|
1639
|
-
else {
|
1640
|
-
return attrs.original;
|
1641
|
-
}
|
1642
|
-
break;
|
1643
|
-
case "img_ref":
|
1644
|
-
jsonml[ 0 ] = "img";
|
1645
|
-
|
1646
|
-
// grab this ref and clean up the attribute node
|
1647
|
-
var ref = references[ attrs.ref ];
|
1648
|
-
|
1649
|
-
// if the reference exists, make the link
|
1650
|
-
if ( ref ) {
|
1651
|
-
delete attrs.ref;
|
1652
|
-
|
1653
|
-
// add in the href and title, if present
|
1654
|
-
attrs.src = ref.href;
|
1655
|
-
if ( ref.title ) {
|
1656
|
-
attrs.title = ref.title;
|
1657
|
-
}
|
1658
|
-
|
1659
|
-
// get rid of the unneeded original text
|
1660
|
-
delete attrs.original;
|
1661
|
-
}
|
1662
|
-
// the reference doesn't exist, so revert to plain text
|
1663
|
-
else {
|
1664
|
-
return attrs.original;
|
1665
|
-
}
|
1666
|
-
break;
|
1667
|
-
}
|
1668
|
-
|
1669
|
-
// convert all the children
|
1670
|
-
i = 1;
|
1671
|
-
|
1672
|
-
// deal with the attribute node, if it exists
|
1673
|
-
if ( attrs ) {
|
1674
|
-
// if there are keys, skip over it
|
1675
|
-
for ( var key in jsonml[ 1 ] ) {
|
1676
|
-
i = 2;
|
1677
|
-
break;
|
1678
|
-
}
|
1679
|
-
// if there aren't, remove it
|
1680
|
-
if ( i === 1 ) {
|
1681
|
-
jsonml.splice( i, 1 );
|
1682
|
-
}
|
1683
|
-
}
|
1684
|
-
|
1685
|
-
for ( ; i < jsonml.length; ++i ) {
|
1686
|
-
jsonml[ i ] = convert_tree_to_html( jsonml[ i ], references, options );
|
1687
|
-
}
|
1688
|
-
|
1689
|
-
return jsonml;
|
1690
|
-
}
|
1691
|
-
|
1692
|
-
|
1693
|
-
// merges adjacent text nodes into a single node
|
1694
|
-
function merge_text_nodes( jsonml ) {
|
1695
|
-
// skip the tag name and attribute hash
|
1696
|
-
var i = extract_attr( jsonml ) ? 2 : 1;
|
1697
|
-
|
1698
|
-
while ( i < jsonml.length ) {
|
1699
|
-
// if it's a string check the next item too
|
1700
|
-
if ( typeof jsonml[ i ] === "string" ) {
|
1701
|
-
if ( i + 1 < jsonml.length && typeof jsonml[ i + 1 ] === "string" ) {
|
1702
|
-
// merge the second string into the first and remove it
|
1703
|
-
jsonml[ i ] += jsonml.splice( i + 1, 1 )[ 0 ];
|
1704
|
-
}
|
1705
|
-
else {
|
1706
|
-
++i;
|
1707
|
-
}
|
1708
|
-
}
|
1709
|
-
// if it's not a string recurse
|
1710
|
-
else {
|
1711
|
-
merge_text_nodes( jsonml[ i ] );
|
1712
|
-
++i;
|
1713
|
-
}
|
1714
|
-
}
|
1715
|
-
}
|
1716
|
-
|
1717
|
-
} )( (function() {
|
1718
|
-
if ( typeof exports === "undefined" ) {
|
1719
|
-
window.markdown = {};
|
1720
|
-
return window.markdown;
|
1721
|
-
}
|
1722
|
-
else {
|
1723
|
-
return exports;
|
1724
|
-
}
|
1725
|
-
} )() );
|