diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 75c3bb8d3..ed16d707d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,12 +10,12 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: "${{ env.NODE_VERSION }}" - run: "./bin/ci-test.sh" - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: playwright-report @@ -30,8 +30,8 @@ jobs: TW5_BUILD_MAIN_EDITION: "./editions/prerelease" TW5_BUILD_OUTPUT: "./output/prerelease" steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: "${{ env.NODE_VERSION }}" - run: "./bin/ci-pre-build.sh" @@ -62,8 +62,8 @@ jobs: TW5_BUILD_OUTPUT: "./output" TW5_BUILD_ARCHIVE: "./output" steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: "${{ env.NODE_VERSION }}" - run: "./bin/ci-pre-build.sh" diff --git a/bin/build-site.sh b/bin/build-site.sh index 31cf171d0..799cfbed3 100755 --- a/bin/build-site.sh +++ b/bin/build-site.sh @@ -5,7 +5,7 @@ # Default to the current version number for building the plugin library if [ -z "$TW5_BUILD_VERSION" ]; then - TW5_BUILD_VERSION=v5.3.6 + TW5_BUILD_VERSION=v5.3.7 fi echo "Using TW5_BUILD_VERSION as [$TW5_BUILD_VERSION]" @@ -97,7 +97,6 @@ if [ -n "$TW5_BUILD_ARCHIVE" ]; then node $TW5_BUILD_TIDDLYWIKI \ $TW5_BUILD_MAIN_EDITION \ - --verbose \ --version \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_ARCHIVE \ @@ -115,7 +114,6 @@ fi node $TW5_BUILD_TIDDLYWIKI \ $TW5_BUILD_MAIN_EDITION \ - --verbose \ --version \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT \ @@ -128,7 +126,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /tiddlywikicore-.js Core plugin javascript node $TW5_BUILD_TIDDLYWIKI \ ./editions/empty \ - --verbose \ --output $TW5_BUILD_OUTPUT \ --build empty emptyexternalcore \ || exit 1 @@ -137,7 +134,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /test.html Test edition node $TW5_BUILD_TIDDLYWIKI \ ./editions/test \ - --verbose \ --output $TW5_BUILD_OUTPUT \ --rendertiddler $:/core/save/all test.html text/plain \ || exit 1 @@ -150,7 +146,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /dev/static/static.css Static stylesheet node $TW5_BUILD_TIDDLYWIKI \ ./editions/dev \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT/dev \ --build index favicon static \ @@ -159,7 +154,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /tour.html tour edition node $TW5_BUILD_TIDDLYWIKI \ ./editions/tour \ - --verbose \ --output $TW5_BUILD_OUTPUT \ --rendertiddler $:/core/save/all tour.html text/plain \ || exit 1 @@ -167,7 +161,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /share.html Custom edition for sharing via the URL node $TW5_BUILD_TIDDLYWIKI \ ./editions/share \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT \ --build share \ @@ -176,7 +169,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /upgrade.html Custom edition for performing upgrades node $TW5_BUILD_TIDDLYWIKI \ ./editions/upgrade \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT \ --build upgrade \ @@ -185,7 +177,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /encrypted.html Copy of the main file encrypted with the password "password" node $TW5_BUILD_TIDDLYWIKI \ $TW5_BUILD_MAIN_EDITION \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT \ --build encrypted \ @@ -201,7 +192,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /editions/xlsx-utils/index.html xlsx-utils edition node $TW5_BUILD_TIDDLYWIKI \ ./editions/xlsx-utils \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT/editions/xlsx-utils/ \ --build index \ @@ -210,7 +200,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /editions/resumebuilder/index.html Resume builder edition node $TW5_BUILD_TIDDLYWIKI \ ./editions/resumebuilder \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT/editions/resumebuilder/ \ --build index \ @@ -219,7 +208,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /editions/text-slicer/index.html Text slicer edition node $TW5_BUILD_TIDDLYWIKI \ ./editions/text-slicer \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT/editions/text-slicer/ \ --build index \ @@ -228,7 +216,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /editions/translators/index.html Translators edition node $TW5_BUILD_TIDDLYWIKI \ ./editions/translators \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT/editions/translators/ \ --build index \ @@ -237,7 +224,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /editions/introduction/index.html Introduction edition node $TW5_BUILD_TIDDLYWIKI \ ./editions/introduction \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT/editions/introduction/ \ --build index \ @@ -246,7 +232,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /editions/full/index.html Full edition node $TW5_BUILD_TIDDLYWIKI \ ./editions/full \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT/editions/full/ \ --build index \ @@ -255,7 +240,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /editions/tw5.com-docs/index.html tiddlywiki.com docs edition node $TW5_BUILD_TIDDLYWIKI \ ./editions/tw5.com-docs \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT/editions/tw5.com-docs/ \ --build index \ @@ -264,7 +248,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /editions/twitter-archivist/index.html Twitter Archivist edition node $TW5_BUILD_TIDDLYWIKI \ ./editions/twitter-archivist \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT/editions/twitter-archivist/ \ --build index \ @@ -280,7 +263,6 @@ node $TW5_BUILD_TIDDLYWIKI \ node $TW5_BUILD_TIDDLYWIKI \ ./editions/innerwikidemo \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT \ --rendertiddler $:/core/save/all plugins/tiddlywiki/innerwiki/index.html text/plain \ @@ -291,7 +273,6 @@ node $TW5_BUILD_TIDDLYWIKI \ node $TW5_BUILD_TIDDLYWIKI \ ./editions/dynaviewdemo \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT \ --rendertiddler $:/core/save/all plugins/tiddlywiki/dynaview/index.html text/plain \ @@ -306,7 +287,6 @@ node $TW5_BUILD_TIDDLYWIKI \ node $TW5_BUILD_TIDDLYWIKI \ ./editions/katexdemo \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT \ --rendertiddler $:/core/save/all plugins/tiddlywiki/katex/index.html text/plain \ @@ -317,7 +297,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /plugins/tiddlywiki/tahoelafs/empty.html Empty wiki with Tahoe-LAFS plugin node $TW5_BUILD_TIDDLYWIKI \ ./editions/tahoelafs \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT \ --rendertiddler $:/core/save/all plugins/tiddlywiki/tahoelafs/index.html text/plain \ @@ -328,7 +307,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /plugins/tiddlywiki/d3/empty.html Empty wiki with D3 plugin node $TW5_BUILD_TIDDLYWIKI \ ./editions/d3demo \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT \ --rendertiddler $:/core/save/all plugins/tiddlywiki/d3/index.html text/plain \ @@ -339,7 +317,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /plugins/tiddlywiki/codemirror/empty.html Empty wiki with codemirror plugin node $TW5_BUILD_TIDDLYWIKI \ ./editions/codemirrordemo \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT \ --rendertiddler $:/core/save/all plugins/tiddlywiki/codemirror/index.html text/plain \ @@ -350,7 +327,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /plugins/tiddlywiki/markdown/empty.html Empty wiki with Markdown plugin node $TW5_BUILD_TIDDLYWIKI \ ./editions/markdowndemo \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT \ --rendertiddler $:/core/save/all plugins/tiddlywiki/markdown/index.html text/plain \ @@ -361,7 +337,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /plugins/tiddlywiki/tw2parser/empty.html Empty wiki with tw2parser plugin node $TW5_BUILD_TIDDLYWIKI \ ./editions/classicparserdemo \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT \ --rendertiddler $:/core/save/all plugins/tiddlywiki/tw2parser/index.html text/plain \ @@ -372,7 +347,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /plugins/tiddlywiki/highlight/empty.html Empty wiki with highlight plugin node $TW5_BUILD_TIDDLYWIKI \ ./editions/highlightdemo \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT \ --rendertiddler $:/core/save/all plugins/tiddlywiki/highlight/index.html text/plain \ @@ -383,7 +357,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /plugins/tiddlywiki/geospatial/empty.html Empty wiki with geospatial plugin node $TW5_BUILD_TIDDLYWIKI \ ./editions/geospatialdemo \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT \ --rendertiddler $:/core/save/all plugins/tiddlywiki/geospatial/index.html text/plain \ @@ -411,7 +384,6 @@ rm -rf $TW5_BUILD_OUTPUT/languages/zh-Hant/static/* # /languages/de-AT/empty.html Empty wiki with de-AT language node $TW5_BUILD_TIDDLYWIKI \ ./editions/de-AT \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT/languages/de-AT \ --build favicon empty static index \ @@ -421,7 +393,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /languages/de-DE/empty.html Empty wiki with de-DE language node $TW5_BUILD_TIDDLYWIKI \ ./editions/de-DE \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT/languages/de-DE \ --build favicon empty static index \ @@ -431,7 +402,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /languages/es-ES/empty.html Empty wiki with es-ES language node $TW5_BUILD_TIDDLYWIKI \ ./editions/es-ES \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT/languages/es-ES \ --build favicon empty static index \ @@ -441,7 +411,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /languages/fr-FR/empty.html Empty wiki with fr-FR language node $TW5_BUILD_TIDDLYWIKI \ ./editions/fr-FR \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT/languages/fr-FR \ --build favicon empty static index \ @@ -451,7 +420,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /languages/ja-JP/empty.html Empty wiki with ja-JP language node $TW5_BUILD_TIDDLYWIKI \ ./editions/ja-JP \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT/languages/ja-JP \ --build empty index \ @@ -461,7 +429,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /languages/ko-KR/empty.html Empty wiki with ko-KR language node $TW5_BUILD_TIDDLYWIKI \ ./editions/ko-KR \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT/languages/ko-KR \ --build favicon empty static index \ @@ -471,7 +438,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /languages/zh-Hans/empty.html Empty wiki with zh-Hans language node $TW5_BUILD_TIDDLYWIKI \ ./editions/zh-Hans \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT/languages/zh-Hans \ --build empty index \ @@ -481,7 +447,6 @@ node $TW5_BUILD_TIDDLYWIKI \ # /languages/zh-Hant/empty.html Empty wiki with zh-Hant language node $TW5_BUILD_TIDDLYWIKI \ ./editions/zh-Hant \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT/languages/zh-Hant \ --build empty index \ @@ -495,7 +460,6 @@ node $TW5_BUILD_TIDDLYWIKI \ node $TW5_BUILD_TIDDLYWIKI \ ./editions/pluginlibrary \ - --verbose \ --load $TW5_BUILD_OUTPUT/build.tid \ --output $TW5_BUILD_OUTPUT/library/$TW5_BUILD_VERSION \ --build library\ diff --git a/boot/boot.js b/boot/boot.js index b4bdc00f2..f1f6e4906 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -232,10 +232,10 @@ $tw.utils.error = function(err) { var link = dm("a"), text = JSON.stringify(tiddlers); if(Blob !== undefined) { - var blob = new Blob([text], {type: "text/html"}); + var blob = new Blob([text], {type: "application/json"}); link.setAttribute("href", URL.createObjectURL(blob)); } else { - link.setAttribute("href","data:text/html," + encodeURIComponent(text)); + link.setAttribute("href","data:application/json," + encodeURIComponent(text)); } link.setAttribute("download","emergency-tiddlers-" + (new Date()) + ".json"); document.body.appendChild(link); @@ -1470,17 +1470,15 @@ $tw.Wiki = function(options) { // Unpack the currently registered plugins, creating shadow tiddlers for their constituent tiddlers this.unpackPluginTiddlers = function() { var self = this; - // Sort the plugin titles by the `plugin-priority` field - pluginTiddlers.sort(function(a,b) { - if("plugin-priority" in a.fields && "plugin-priority" in b.fields) { - return a.fields["plugin-priority"] - b.fields["plugin-priority"]; - } else if("plugin-priority" in a.fields) { + // Sort the plugin titles by the `plugin-priority` field, if this field is missing, default to 1 + pluginTiddlers.sort(function(a, b) { + var priorityA = "plugin-priority" in a.fields ? a.fields["plugin-priority"] : 1; + var priorityB = "plugin-priority" in b.fields ? b.fields["plugin-priority"] : 1; + if (priorityA !== priorityB) { + return priorityA - priorityB; + } else if (a.fields.title < b.fields.title) { return -1; - } else if("plugin-priority" in b.fields) { - return +1; - } else if(a.fields.title < b.fields.title) { - return -1; - } else if(a.fields.title === b.fields.title) { + } else if (a.fields.title === b.fields.title) { return 0; } else { return +1; @@ -2465,13 +2463,15 @@ $tw.boot.initStartup = function(options) { $tw.utils.registerFileType("image/webp","base64",".webp",{flags:["image"]}); $tw.utils.registerFileType("image/heic","base64",".heic",{flags:["image"]}); $tw.utils.registerFileType("image/heif","base64",".heif",{flags:["image"]}); + $tw.utils.registerFileType("image/avif","base64",".avif",{flags:["image"]}); $tw.utils.registerFileType("image/svg+xml","utf8",".svg",{flags:["image"]}); $tw.utils.registerFileType("image/vnd.microsoft.icon","base64",".ico",{flags:["image"]}); $tw.utils.registerFileType("image/x-icon","base64",".ico",{flags:["image"]}); $tw.utils.registerFileType("application/wasm","base64",".wasm"); - $tw.utils.registerFileType("application/font-woff","base64",".woff"); - $tw.utils.registerFileType("application/x-font-ttf","base64",".woff"); - $tw.utils.registerFileType("application/font-woff2","base64",".woff2"); + $tw.utils.registerFileType("font/woff","base64",".woff"); + $tw.utils.registerFileType("font/woff2","base64",".woff2"); + $tw.utils.registerFileType("font/ttf","base64",".ttf"); + $tw.utils.registerFileType("font/otf","base64",".otf"); $tw.utils.registerFileType("audio/ogg","base64",".ogg"); $tw.utils.registerFileType("audio/mp4","base64",[".mp4",".m4a"]); $tw.utils.registerFileType("video/ogg","base64",[".ogm",".ogv",".ogg"]); diff --git a/core/copyright.tid b/core/copyright.tid index 3f52380cc..233295ce2 100644 --- a/core/copyright.tid +++ b/core/copyright.tid @@ -4,7 +4,7 @@ type: text/plain TiddlyWiki created by Jeremy Ruston, (jeremy [at] jermolene [dot] com) Copyright (c) 2004-2007, Jeremy Ruston -Copyright (c) 2007-2024, UnaMesa Association +Copyright (c) 2007-2025, UnaMesa Association All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/core/language/en-GB/ControlPanel.multids b/core/language/en-GB/ControlPanel.multids index 2c41f215e..129dab0b4 100644 --- a/core/language/en-GB/ControlPanel.multids +++ b/core/language/en-GB/ControlPanel.multids @@ -206,10 +206,10 @@ Settings/MissingLinks/Hint: Choose whether to link to tiddlers that do not exist Settings/MissingLinks/Description: Enable links to missing tiddlers SocialCard/Caption: Social Media Card SocialCard/Domain/Prompt: Domain name to display for the link (for example, ''tiddlywiki.com'') -SocialCard/Hint: This information is used by social and messaging services to display a preview card for links to this TiddlyWiki when hosted online -SocialCard/PreviewUrl/Prompt: Full URL to preview image for this TiddlyWiki +SocialCard/Hint: This information is used by social and messaging services to display a preview card for links to this ~TiddlyWiki when hosted online +SocialCard/PreviewUrl/Prompt: Full URL to preview image for this ~TiddlyWiki SocialCard/PreviewUrl/Preview: Preview image: -SocialCard/Url/Prompt: Full URL of this TiddlyWiki +SocialCard/Url/Prompt: Full URL of this ~TiddlyWiki StoryTiddler/Caption: Story Tiddler StoryTiddler/Hint: This rule cascade is used to dynamically choose the template for displaying a tiddler in the story river. StoryView/Caption: Story View diff --git a/core/modules/filters/function.js b/core/modules/filters/function.js index 79210fb78..bc0702cf4 100644 --- a/core/modules/filters/function.js +++ b/core/modules/filters/function.js @@ -17,19 +17,24 @@ Export our filter function */ exports.function = function(source,operator,options) { var functionName = operator.operands[0], - params = []; + params = [], + results; $tw.utils.each(operator.operands.slice(1),function(param) { params.push({value: param}); }); + // console.log(`Calling ${functionName} with params ${JSON.stringify(params)}`); var variableInfo = options.widget && options.widget.getVariableInfo && options.widget.getVariableInfo(functionName,{params: params, source: source}); if(variableInfo && variableInfo.srcVariable && variableInfo.srcVariable.isFunctionDefinition) { - return variableInfo.resultList ? variableInfo.resultList : [variableInfo.text]; + results = variableInfo.resultList ? variableInfo.resultList : [variableInfo.text]; } // Return the input list if the function wasn't found - var results = []; - source(function(tiddler,title) { - results.push(title); - }); + if(!results) { + results = []; + source(function(tiddler,title) { + results.push(title); + }); + } + // console.log(`function ${functionName} with params ${JSON.stringify(params)} results: ${JSON.stringify(results)}`); return results; }; diff --git a/core/modules/macros/unusedtitle.js b/core/modules/macros/unusedtitle.js index 8a61c425e..1078f650d 100644 --- a/core/modules/macros/unusedtitle.js +++ b/core/modules/macros/unusedtitle.js @@ -31,7 +31,7 @@ exports.run = function(baseName,separator,template,startCount) { } // $tw.wiki.generateNewTitle = function(baseTitle,options) // options.prefix must be a string! - return this.wiki.generateNewTitle(baseName, {"prefix": separator, "template": template, "startCount": startCount}); + return this.wiki.generateNewTitle(baseName, {"prefix": separator, "template": template, "startCount": startCount}).trim(); }; })(); diff --git a/core/modules/parsers/imageparser.js b/core/modules/parsers/imageparser.js index a964a4ba8..d594803b2 100644 --- a/core/modules/parsers/imageparser.js +++ b/core/modules/parsers/imageparser.js @@ -40,6 +40,7 @@ exports["image/gif"] = ImageParser; exports["image/webp"] = ImageParser; exports["image/heic"] = ImageParser; exports["image/heif"] = ImageParser; +exports["image/avif"] = ImageParser; exports["image/x-icon"] = ImageParser; exports["image/vnd.microsoft.icon"] = ImageParser; diff --git a/core/modules/saver-handler.js b/core/modules/saver-handler.js index 23056bcc2..e760fd8f1 100644 --- a/core/modules/saver-handler.js +++ b/core/modules/saver-handler.js @@ -46,8 +46,10 @@ function SaverHandler(options) { // Filter the changes so that we only count changes to tiddlers that we care about var filteredChanges = self.filterFn.call(self.wiki,function(iterator) { $tw.utils.each(changes,function(change,title) { - var tiddler = self.wiki.getTiddler(title); - iterator(tiddler,title); + if(change.normal) { + var tiddler = self.wiki.getTiddler(title); + iterator(tiddler,title); + } }); }); // Adjust the number of changes @@ -183,7 +185,7 @@ SaverHandler.prototype.saveWiki = function(options) { // Call the highest priority saver that supports this method for(var t=this.savers.length-1; t>=0; t--) { var saver = this.savers[t]; - if(saver.info.capabilities.indexOf(method) !== -1 && saver.save(text,method,callback,{variables: {filename: variables.filename}})) { + if(saver.info.capabilities.indexOf(method) !== -1 && saver.save(text,method,callback,{variables: {filename: variables.filename, type: variables.type}})) { this.logger.log("Saving wiki with method",method,"through saver",saver.info.name); return true; } diff --git a/core/modules/savers/download.js b/core/modules/savers/download.js index 0a1d565ce..003c332c3 100644 --- a/core/modules/savers/download.js +++ b/core/modules/savers/download.js @@ -22,6 +22,7 @@ DownloadSaver.prototype.save = function(text,method,callback,options) { options = options || {}; // Get the current filename var filename = options.variables.filename; + var type = options.variables.type; if(!filename) { var p = document.location.pathname.lastIndexOf("/"); if(p !== -1) { @@ -32,13 +33,16 @@ DownloadSaver.prototype.save = function(text,method,callback,options) { if(!filename) { filename = "tiddlywiki.html"; } + if(!type) { + type = "text/html"; + } // Set up the link var link = document.createElement("a"); if(Blob !== undefined) { - var blob = new Blob([text], {type: "text/html"}); + var blob = new Blob([text], {type: type}); link.setAttribute("href", URL.createObjectURL(blob)); } else { - link.setAttribute("href","data:text/html," + encodeURIComponent(text)); + link.setAttribute("href","data:" + type + "," + encodeURIComponent(text)); } link.setAttribute("download",filename); document.body.appendChild(link); diff --git a/core/modules/server/routes/get-login-basic.js b/core/modules/server/routes/get-login-basic.js index d573a0b5d..69d3bf908 100644 --- a/core/modules/server/routes/get-login-basic.js +++ b/core/modules/server/routes/get-login-basic.js @@ -25,7 +25,7 @@ exports.handler = function(request,response,state) { response.end(); } else { // Redirect to the root wiki if login worked - var location = ($tw.syncadaptor && $tw.syncadaptor.host)? $tw.syncadaptor.host: "/"; + var location = ($tw.syncadaptor && $tw.syncadaptor.host)? $tw.syncadaptor.host: `${state.pathPrefix}/`; response.writeHead(302,{ Location: location }); diff --git a/core/modules/startup/plugins.js b/core/modules/startup/plugins.js index fc8ba9589..af354c38e 100644 --- a/core/modules/startup/plugins.js +++ b/core/modules/startup/plugins.js @@ -75,7 +75,7 @@ exports.startup = function() { $tw.wiki.unpackPluginTiddlers(); // Queue change events for the changed shadow tiddlers $tw.utils.each(Object.keys(changedShadowTiddlers),function(title) { - $tw.wiki.enqueueTiddlerEvent(title,changedShadowTiddlers[title]); + $tw.wiki.enqueueTiddlerEvent(title,changedShadowTiddlers[title], true); }); } } diff --git a/core/modules/startup/rootwidget.js b/core/modules/startup/rootwidget.js index d96d569c3..95e902db6 100644 --- a/core/modules/startup/rootwidget.js +++ b/core/modules/startup/rootwidget.js @@ -77,8 +77,9 @@ exports.startup = function() { $tw.rootWidget.addEventListener("tm-copy-to-clipboard",function(event) { $tw.utils.copyToClipboard(event.param,{ successNotification: event.paramObject && event.paramObject.successNotification, - failureNotification: event.paramObject && event.paramObject.failureNotification - }); + failureNotification: event.paramObject && event.paramObject.failureNotification, + plainText: event.paramObject && event.paramObject.plainText + },event.paramObject && event.paramObject.type); }); // Install the tm-focus-selector message $tw.rootWidget.addEventListener("tm-focus-selector",function(event) { diff --git a/core/modules/startup/startup.js b/core/modules/startup/startup.js index e09f6393f..b971e473b 100755 --- a/core/modules/startup/startup.js +++ b/core/modules/startup/startup.js @@ -88,8 +88,10 @@ exports.startup = function() { if($tw.browser) { var pluginTiddler = $tw.wiki.getTiddler(plugins[0]); if(pluginTiddler) { + document.documentElement.setAttribute("lang",pluginTiddler.getFieldString("name")); document.documentElement.setAttribute("dir",pluginTiddler.getFieldString("text-direction") || "auto"); } else { + document.documentElement.setAttribute("lang","en-GB"); document.documentElement.removeAttribute("dir"); } } diff --git a/core/modules/tiddler.js b/core/modules/tiddler.js index b0b6e6942..d8d67bf77 100644 --- a/core/modules/tiddler.js +++ b/core/modules/tiddler.js @@ -40,10 +40,10 @@ exports.getFieldString = function(field,defaultValue) { }; /* -Get the value of a field as a list +Get the value of a field as an array / list */ exports.getFieldList = function(field) { - var value = this.fields[field]; + var value = this.getFieldString(field,null); // Check for a missing field if(value === undefined || value === null) { return []; diff --git a/core/modules/utils/dom/dom.js b/core/modules/utils/dom/dom.js index 0b71e128c..5f33bbeea 100644 --- a/core/modules/utils/dom/dom.js +++ b/core/modules/utils/dom/dom.js @@ -268,9 +268,10 @@ exports.copyStyles = function(srcDomNode,dstDomNode) { /* Copy plain text to the clipboard on browsers that support it */ -exports.copyToClipboard = function(text,options) { - options = options || {}; - text = text || ""; +exports.copyToClipboard = function(text,options,type) { + var text = text || ""; + var options = options || {}; + var type = type || "text/plain"; var textArea = document.createElement("textarea"); textArea.style.position = "fixed"; textArea.style.top = 0; @@ -283,10 +284,16 @@ exports.copyToClipboard = function(text,options) { textArea.style.outline = "none"; textArea.style.boxShadow = "none"; textArea.style.background = "transparent"; - textArea.value = text; document.body.appendChild(textArea); textArea.select(); textArea.setSelectionRange(0,text.length); + textArea.addEventListener("copy",function(event) { + event.preventDefault(); + if (options.plainText) { + event.clipboardData.setData("text/plain",options.plainText); + } + event.clipboardData.setData(type,text); + }); var succeeded = false; try { succeeded = document.execCommand("copy"); diff --git a/core/modules/utils/dom/http.js b/core/modules/utils/dom/http.js index f16f1c512..37a7855a5 100644 --- a/core/modules/utils/dom/http.js +++ b/core/modules/utils/dom/http.js @@ -216,11 +216,11 @@ HttpClientRequest.prototype.send = function(callback) { if(lengthComputable) { setBinding(self.bindProgress,"" + Math.floor((loaded/total) * 100)) } - self.wiki.invokeActionString(self.progressActions,undefined,{ + self.wiki.invokeActionString(self.progressActions,undefined,$tw.utils.extend({},self.variables,{ lengthComputable: lengthComputable ? "yes" : "no", loaded: loaded, total: total - },{parentWidget: $tw.rootWidget}); + }),{parentWidget: $tw.rootWidget}); } }); } diff --git a/core/modules/widgets/browse.js b/core/modules/widgets/browse.js index 8130825b0..d3fc6f002 100644 --- a/core/modules/widgets/browse.js +++ b/core/modules/widgets/browse.js @@ -42,6 +42,9 @@ BrowseWidget.prototype.render = function(parent,nextSibling) { if(this.tooltip) { domNode.setAttribute("title",this.tooltip); } + if(this.tabIndex) { + domNode.setAttribute("tabindex", this.tabIndex); + } // Nw.js supports "nwsaveas" to force a "save as" dialogue that allows a new or existing file to be selected if(this.nwsaveas) { domNode.setAttribute("nwsaveas",this.nwsaveas); @@ -56,6 +59,9 @@ BrowseWidget.prototype.render = function(parent,nextSibling) { if(this.nwdirectory) { domNode.setAttribute("nwdirectory",this.nwdirectory); } + if(this.isDisabled === "yes") { + domNode.setAttribute("disabled", true); + } // Add a click event handler domNode.addEventListener("change",function (event) { if(self.message) { @@ -94,6 +100,8 @@ BrowseWidget.prototype.execute = function() { this.accept = this.getAttribute("accept"); this.webkitdirectory = this.getAttribute("webkitdirectory"); this.nwdirectory = this.getAttribute("nwdirectory"); + this.tabIndex = this.getAttribute("tabindex"); + this.isDisabled = this.getAttribute("disabled", "no"); }; /* diff --git a/core/modules/widgets/checkbox.js b/core/modules/widgets/checkbox.js index e07513b0a..bf0a7bb79 100644 --- a/core/modules/widgets/checkbox.js +++ b/core/modules/widgets/checkbox.js @@ -47,6 +47,9 @@ CheckboxWidget.prototype.render = function(parent,nextSibling) { if(isChecked === undefined && this.checkboxIndeterminate === "yes") { this.inputDomNode.indeterminate = true; } + if(this.tabIndex) { + this.inputDomNode.setAttribute("tabindex", this.tabIndex); + } if(this.isDisabled === "yes") { this.inputDomNode.setAttribute("disabled",true); } @@ -305,6 +308,7 @@ CheckboxWidget.prototype.execute = function() { this.checkboxClass = this.getAttribute("class",""); this.checkboxInvertTag = this.getAttribute("invertTag",""); this.isDisabled = this.getAttribute("disabled","no"); + this.tabIndex = this.getAttribute(); // Make the child widgets this.makeChildWidgets(); }; @@ -314,7 +318,7 @@ Selectively refreshes the widget if needed. Returns true if the widget or any of */ CheckboxWidget.prototype.refresh = function(changedTiddlers) { var changedAttributes = this.computeAttributes(); - if(changedAttributes.tiddler || changedAttributes.tag || changedAttributes.invertTag || changedAttributes.field || changedAttributes.index || changedAttributes.listField || changedAttributes.listIndex || changedAttributes.filter || changedAttributes.checked || changedAttributes.unchecked || changedAttributes["default"] || changedAttributes.indeterminate || changedAttributes["class"] || changedAttributes.disabled) { + if(changedAttributes.tiddler || changedAttributes.tag || changedAttributes.invertTag || changedAttributes.field || changedAttributes.index || changedAttributes.listField || changedAttributes.listIndex || changedAttributes.filter || changedAttributes.checked || changedAttributes.unchecked || changedAttributes["default"] || changedAttributes.indeterminate || changedAttributes["class"] || changedAttributes.disabled || changedAttributes.tabindex) { this.refreshSelf(); return true; } else { diff --git a/core/modules/widgets/edit-shortcut.js b/core/modules/widgets/edit-shortcut.js index 31d81b6b8..1935b2337 100644 --- a/core/modules/widgets/edit-shortcut.js +++ b/core/modules/widgets/edit-shortcut.js @@ -48,6 +48,9 @@ EditShortcutWidget.prototype.render = function(parent,nextSibling) { if(this.shortcutAriaLabel) { this.inputNode.setAttribute("aria-label",this.shortcutAriaLabel); } + if(this.isDisabled === "yes") { + this.inputNode.setAttribute("disabled", true); + } // Assign the current shortcut this.updateInputNode(); // Add event handlers @@ -77,6 +80,7 @@ EditShortcutWidget.prototype.execute = function() { this.shortcutTooltip = this.getAttribute("tooltip"); this.shortcutAriaLabel = this.getAttribute("aria-label"); this.shortcutFocus = this.getAttribute("focus"); + this.isDisabled = this.getAttribute("disabled", "no"); }; /* @@ -138,7 +142,7 @@ Selectively refreshes the widget if needed. Returns true if the widget needed re */ EditShortcutWidget.prototype.refresh = function(changedTiddlers) { var changedAttributes = this.computeAttributes(); - if(changedAttributes.tiddler || changedAttributes.field || changedAttributes.index || changedAttributes.placeholder || changedAttributes["default"] || changedAttributes["class"] || changedAttributes.style || changedAttributes.tooltip || changedAttributes["aria-label"] || changedAttributes.focus) { + if(changedAttributes.tiddler || changedAttributes.field || changedAttributes.index || changedAttributes.placeholder || changedAttributes["default"] || changedAttributes["class"] || changedAttributes.style || changedAttributes.tooltip || changedAttributes["aria-label"] || changedAttributes.focus || changedAttributes.disabled) { this.refreshSelf(); return true; } else if(changedTiddlers[this.shortcutTiddler]) { diff --git a/core/modules/widgets/edit.js b/core/modules/widgets/edit.js index eb7758e90..e4433e1da 100644 --- a/core/modules/widgets/edit.js +++ b/core/modules/widgets/edit.js @@ -43,15 +43,6 @@ EditWidget.prototype.execute = function() { // Get our parameters this.editTitle = this.getAttribute("tiddler",this.getVariable("currentTiddler")); this.editField = this.getAttribute("field","text"); - this.editIndex = this.getAttribute("index"); - this.editClass = this.getAttribute("class"); - this.editPlaceholder = this.getAttribute("placeholder"); - this.editTabIndex = this.getAttribute("tabindex"); - this.editFocus = this.getAttribute("focus",""); - this.editCancelPopups = this.getAttribute("cancelPopups",""); - this.editInputActions = this.getAttribute("inputActions"); - this.editRefreshTitle = this.getAttribute("refreshTitle"); - this.editAutoComplete = this.getAttribute("autocomplete"); // Choose the appropriate edit widget this.editorType = this.getEditorType(); // Make the child widgets @@ -89,8 +80,8 @@ Selectively refreshes the widget if needed. Returns true if the widget or any of */ EditWidget.prototype.refresh = function(changedTiddlers) { var changedAttributes = this.computeAttributes(); - // Refresh if an attribute has changed, or the type associated with the target tiddler has changed - if(changedAttributes.tiddler || changedAttributes.field || changedAttributes.index || changedAttributes.tabindex || changedAttributes.cancelPopups || changedAttributes.inputActions || changedAttributes.refreshTitle || changedAttributes.autocomplete || (this.getEditorType() !== this.editorType)) { + // Refresh if the editor type has changed + if(changedAttributes.tiddler || changedAttributes.field || (this.getEditorType() !== this.editorType)) { this.refreshSelf(); return true; } else { diff --git a/core/modules/widgets/fill.js b/core/modules/widgets/fill.js index de88c95af..870bf7878 100644 --- a/core/modules/widgets/fill.js +++ b/core/modules/widgets/fill.js @@ -24,6 +24,10 @@ Inherit from the base widget class */ FillWidget.prototype = new Widget(); +FillWidget.prototype.execute = function() { + // Do nothing. Make no child widgets. $Fill widgets should be invisible when naturally encountered. Instead, their parseTreeNodes are made available to $slot widgets that want it. +}; + exports.fill = FillWidget; })(); diff --git a/core/modules/widgets/genesis.js b/core/modules/widgets/genesis.js index 299be1e48..a527553ad 100644 --- a/core/modules/widgets/genesis.js +++ b/core/modules/widgets/genesis.js @@ -23,15 +23,21 @@ Inherit from the base widget class */ GenesisWidget.prototype = new Widget(); +GenesisWidget.prototype.computeAttributes = function(options) { + options = options || Object.create(null); + options.filterFn = function(name) { + // Only compute our own attributes which start with a single dollar + return name.charAt(0) === "$" && name.charAt(1) !== "$"; + } + return Widget.prototype.computeAttributes.call(this,options); +}; + /* Render this widget into the DOM */ GenesisWidget.prototype.render = function(parent,nextSibling) { this.parentDomNode = parent; - this.computeAttributes({filterFn: function(name) { - // Only compute our own attributes which start with a single dollar - return name.charAt(0) === "$" && name.charAt(1) !== "$"; - }}); + this.computeAttributes(); this.execute(); this.renderChildren(parent,nextSibling); }; diff --git a/core/modules/widgets/navigator.js b/core/modules/widgets/navigator.js index e9bec7682..205db4c91 100755 --- a/core/modules/widgets/navigator.js +++ b/core/modules/widgets/navigator.js @@ -277,6 +277,8 @@ NavigatorWidget.prototype.makeDraftTiddler = function(targetTitle) { } // Get the current value of the tiddler we're editing var tiddler = this.wiki.getTiddler(targetTitle); + var defaultType = this.wiki.getTiddlerText("$:/config/DefaultMissingType", "").trim(); + var defaultFields = { type: defaultType }; // Save the initial value of the draft tiddler draftTitle = this.generateDraftTitle(targetTitle); var draftTiddler = new $tw.Tiddler({ @@ -288,7 +290,8 @@ NavigatorWidget.prototype.makeDraftTiddler = function(targetTitle) { "draft.title": targetTitle, "draft.of": targetTitle }, - this.wiki.getModificationFields() + this.wiki.getModificationFields(), + tiddler === null || tiddler === undefined ? defaultFields : {} ); this.wiki.addTiddler(draftTiddler); return draftTiddler; diff --git a/core/modules/widgets/radio.js b/core/modules/widgets/radio.js index aa7a32cf1..838455266 100644 --- a/core/modules/widgets/radio.js +++ b/core/modules/widgets/radio.js @@ -47,6 +47,9 @@ RadioWidget.prototype.render = function(parent,nextSibling) { if(isChecked) { this.inputDomNode.checked = true; } + if(this.tabIndex) { + this.inputDomNode.setAttribute("tabindex", this.tabIndex); + } if(this.isDisabled === "yes") { this.inputDomNode.setAttribute("disabled",true); } @@ -111,6 +114,7 @@ RadioWidget.prototype.execute = function() { this.radioClass = this.getAttribute("class",""); this.radioDefault = this.getAttribute("default"); this.isDisabled = this.getAttribute("disabled","no"); + this.tabIndex = this.getAttribute("tabindex"); this.radioActions = this.getAttribute("actions",""); // Make the child widgets this.makeChildWidgets(); diff --git a/core/modules/widgets/range.js b/core/modules/widgets/range.js index db2699cc4..efb935aac 100644 --- a/core/modules/widgets/range.js +++ b/core/modules/widgets/range.js @@ -46,6 +46,9 @@ RangeWidget.prototype.render = function(parent,nextSibling) { if(this.increment){ this.inputDomNode.setAttribute("step", this.increment); } + if(this.tabIndex) { + this.inputDomNode.setAttribute("tabindex", this.tabIndex); + } if(this.isDisabled === "yes") { this.inputDomNode.setAttribute("disabled",true); } @@ -164,6 +167,7 @@ RangeWidget.prototype.execute = function() { this.defaultValue = this.getAttribute("default",""); this.elementClass = this.getAttribute("class",""); this.isDisabled = this.getAttribute("disabled","no"); + this.tabIndex = this.getAttribute("tabindex"); // Actions since 5.1.23 // Next 2 only fire once! this.actionsMouseDown = this.getAttribute("actionsStart",""); diff --git a/core/modules/widgets/select.js b/core/modules/widgets/select.js index 2940e3be0..f58a11891 100644 --- a/core/modules/widgets/select.js +++ b/core/modules/widgets/select.js @@ -53,6 +53,9 @@ SelectWidget.prototype.render = function(parent,nextSibling) { if(this.selectMultiple) { domNode.setAttribute("multiple","multiple"); } + if(this.isDisabled === "yes") { + domNode.setAttribute("disabled", true); + } if(this.selectSize) { domNode.setAttribute("size",this.selectSize); } @@ -172,6 +175,7 @@ SelectWidget.prototype.execute = function() { this.selectTabindex = this.getAttribute("tabindex"); this.selectTooltip = this.getAttribute("tooltip"); this.selectFocus = this.getAttribute("focus"); + this.isDisabled = this.getAttribute("disabled","no"); // Make the child widgets this.makeChildWidgets(); }; @@ -182,7 +186,7 @@ Selectively refreshes the widget if needed. Returns true if the widget or any of SelectWidget.prototype.refresh = function(changedTiddlers) { var changedAttributes = this.computeAttributes(); // If we're using a different tiddler/field/index then completely refresh ourselves - if(changedAttributes.tiddler || changedAttributes.field || changedAttributes.index || changedAttributes.tooltip || changedAttributes.tabindex) { + if(changedAttributes.tiddler || changedAttributes.field || changedAttributes.index || changedAttributes.tooltip || changedAttributes.tabindex || changedAttributes.disabled) { this.refreshSelf(); return true; } else { diff --git a/core/modules/widgets/testcase.js b/core/modules/widgets/testcase.js index 0fd55531c..ad1905279 100644 --- a/core/modules/widgets/testcase.js +++ b/core/modules/widgets/testcase.js @@ -33,6 +33,7 @@ TestCaseWidget.prototype.render = function(parent,nextSibling) { this.execute(); // Create container DOM node var domNode = this.document.createElement("div"); + domNode.setAttribute("class", "tc-test-case " + this.testcaseClass); this.domNodes.push(domNode); parent.insertBefore(domNode,nextSibling); // Render the children into a hidden DOM node @@ -145,6 +146,7 @@ TestCaseWidget.prototype.execute = function() { this.testcaseTestActions = this.getAttribute("testActions"); this.testcaseTestExpectedResult = this.getAttribute("testExpectedResult"); this.testcaseHideIfPass = this.getAttribute("testHideIfPass"); + this.testcaseClass = this.getAttribute("class",""); }; /* diff --git a/core/modules/widgets/transclude.js b/core/modules/widgets/transclude.js index 35b4941bd..16561eab6 100755 --- a/core/modules/widgets/transclude.js +++ b/core/modules/widgets/transclude.js @@ -101,6 +101,7 @@ TranscludeWidget.prototype.execute = function() { } this.sourceText = target.text; this.parserType = target.type; + this._canonical_uri = target._canonical_uri; // Set the legacy transclusion context variables only if we're not transcluding a variable if(!this.transcludeVariable) { var recursionMarker = this.makeRecursionMarker(); @@ -228,7 +229,8 @@ TranscludeWidget.prototype.getTransclusionTarget = function() { }); return { text: parserInfo.text, - type: parserInfo.type + type: parserInfo.type, + _canonical_uri: parserInfo._canonical_uri }; } }; @@ -455,8 +457,11 @@ TranscludeWidget.prototype.makeRecursionMarker = function() { TranscludeWidget.prototype.parserNeedsRefresh = function() { // Doesn't need to consider transcluded variables because a parent variable can't change once a widget has been created - var parserInfo = this.wiki.getTextReferenceParserInfo(this.transcludeTitle,this.transcludeField,this.transcludeIndex,{subTiddler:this.transcludeSubTiddler}); - return (this.sourceText === undefined || parserInfo.sourceText !== this.sourceText || parserInfo.parserType !== this.parserType) + var parserInfo = this.wiki.getTextReferenceParserInfo(this.transcludeTitle,this.transcludeField,this.transcludeIndex,{ + subTiddler: this.transcludeSubTiddler, + defaultType: this.transcludeType + }); + return (this.sourceText === undefined || parserInfo.sourceText !== this.sourceText || parserInfo.parserType !== this.parserType || parserInfo._canonical_uri !== this._canonical_uri); }; TranscludeWidget.prototype.functionNeedsRefresh = function() { diff --git a/core/modules/wiki.js b/core/modules/wiki.js index 29a839c7a..928a2e847 100755 --- a/core/modules/wiki.js +++ b/core/modules/wiki.js @@ -141,12 +141,15 @@ This method should be called after the changes it describes have been made to th title: Title of tiddler isDeleted: defaults to false (meaning the tiddler has been created or modified), true if the tiddler has been deleted + isShadow: defaults to false (meaning the change applies to the normal tiddler), + true if the tiddler being changed is a shadow tiddler */ -exports.enqueueTiddlerEvent = function(title,isDeleted) { +exports.enqueueTiddlerEvent = function(title,isDeleted,isShadow) { // Record the touch in the list of changed tiddlers this.changedTiddlers = this.changedTiddlers || Object.create(null); this.changedTiddlers[title] = this.changedTiddlers[title] || Object.create(null); this.changedTiddlers[title][isDeleted ? "deleted" : "modified"] = true; + this.changedTiddlers[title][isShadow ? "shadow" : "normal"] = true; // Increment the change count this.changeCount = this.changeCount || Object.create(null); if($tw.utils.hop(this.changeCount,title)) { @@ -1132,6 +1135,7 @@ exports.getTextReferenceParserInfo = function(title,field,index,options) { if(tiddler.fields.type) { parserInfo.parserType = tiddler.fields.type; } + parserInfo._canonical_uri = tiddler.fields._canonical_uri; } } else if(field) { if(field === "title") { diff --git a/core/palettes/FlexokiDark.tid b/core/palettes/FlexokiDark.tid new file mode 100644 index 000000000..05e53edf5 --- /dev/null +++ b/core/palettes/FlexokiDark.tid @@ -0,0 +1,212 @@ +color-scheme: dark +description: An inky color scheme for prose and code +name: FlexokiDark +tags: $:/tags/Palette +title: $:/palettes/FlexokiDark +type: application/x-tiddler-dictionary + +flexoki-paper: #FFFCF0 +flexoki-999: #100F0F +flexoki-950: #1C1B1A +flexoki-900: #282726 +flexoki-850: #343331 +flexoki-800: #403E3C +flexoki-700: #575653 +flexoki-600: #6c6b66 +flexoki-500: #878580 +flexoki-300: #B7B5AC +flexoki-200: #CECDC3 +flexoki-150: #DAD8CE +flexoki-100: #E6E4D9 +flexoki-050: #F2F0E5 +flexoki-red-600: #AF3029 +flexoki-red-400: #D14D41 +flexoki-orange-600: #BC5215 +flexoki-orange-400: #DA702C +flexoki-yellow-900: #4D3A0B +flexoki-yellow-600: #AD8301 +flexoki-yellow-400: #D0A215 +flexoki-yellow-100: #FCEEB8 +flexoki-green-600: #66800B +flexoki-green-400: #879A39 +flexoki-cyan-950: #142625 +flexoki-cyan-600: #227d77 +flexoki-cyan-400: #3AA99F +flexoki-cyan-050: #EBF2E7 +flexoki-blue-600: #205EA6 +flexoki-blue-400: #4385BE +flexoki-purple-600: #5E409D +flexoki-purple-400: #8B7EC8 +flexoki-magenta-600: #A02F6F +flexoki-magenta-400: #CE5D97 + +flexoki-bg: <> +flexoki-tx-2: <> +flexoki-tx-3: <> +flexoki-ui-3: <> +flexoki-ui-2: <> +flexoki-ui: <> +flexoki-bg-2: <> +flexoki-tx: <> +flexoki-re: <> +flexoki-or: <> +flexoki-ye: <> +flexoki-gr: <> +flexoki-cy: <> +flexoki-bl: <> +flexoki-pu: <> +flexoki-ma: <> +flexoki-re-2: <> +flexoki-or-2: <> +flexoki-ye-2: <> +flexoki-gr-2: <> +flexoki-cy-2: <> +flexoki-bl-2: <> +flexoki-pu-2: <> +flexoki-ma-2: <> + +alert-background: <> +alert-border: <> +alert-highlight: <> +alert-muted-foreground: <> +background: #100F0F +blockquote-bar: <> +button-background: <> +button-foreground: <> +button-border: <> +code-background: <> +code-border: <> +code-foreground: <> +diff-delete-background: <> +diff-delete-foreground: <> +diff-equal-background: +diff-equal-foreground: inherit +diff-insert-background: <> +diff-insert-foreground: <> +diff-invisible-background: <> +diff-invisible-foreground: <> +dirty-indicator: <> +download-background: <> +download-foreground: <> +dragger-background: <> +dragger-foreground: <> +dropdown-background: <> +dropdown-border: <> +dropdown-tab-background-selected: <> +dropdown-tab-background: <> +dropzone-background: <> +external-link-background-hover: inherit +external-link-background-visited: inherit +external-link-background: inherit +external-link-foreground-hover: inherit +external-link-foreground-visited: <> +external-link-foreground: <> +footnote-target-background: <> +foreground: #CECDC3 +highlight-background: <> +highlight-foreground: inherit +menubar-background: <> +menubar-foreground: <> +message-background: <> +message-border: <> +message-foreground: <> +modal-backdrop: <> +modal-background: <> +modal-border: <> +modal-footer-background: <> +modal-footer-border: <> +modal-header-border: <> +muted-foreground: <> +network-activity-foreground: <> +notification-background: <> +notification-border: <> +page-background: <> +pre-background: <> +pre-border: <> +primary: <> +selection-background: <> +selection-foreground: <> +select-tag-background: <> +select-tag-foreground: <> +sidebar-button-foreground: <> +sidebar-controls-foreground-hover: <> +sidebar-controls-foreground: <> +sidebar-foreground-shadow: transparent +sidebar-foreground: <> +sidebar-muted-foreground-hover: <> +sidebar-muted-foreground: <> +sidebar-tab-background-selected: <> +sidebar-tab-background: <> +sidebar-tab-border-selected: <> +sidebar-tab-border: <> +sidebar-tab-divider: <> +sidebar-tab-foreground-selected: +sidebar-tab-foreground: <> +sidebar-tiddler-link-foreground-hover: <> +sidebar-tiddler-link-foreground: <> +site-title-foreground: <> +stability-stable: <> +stability-experimental: <> +stability-deprecated: <> +stability-legacy: <> +static-alert-foreground: #aaaaaa +tab-background-selected: <> +tab-background: <> +tab-border-selected: <> +tab-border: <> +tab-divider: <> +tab-foreground-selected: <> +tab-foreground: <> +table-border: <> +table-footer-background: <> +table-header-background: <> +tag-background: #D0A215 +tag-foreground: #100F0F +testcase-accent-level-1: <> +testcase-accent-level-2: <> +testcase-accent-level-3: <> +tiddler-background: <> +tiddler-border: <> +tiddler-controls-foreground-hover: <> +tiddler-controls-foreground-selected: <> +tiddler-controls-foreground: <> +tiddler-editor-background: <> +tiddler-editor-border-image: #ffffff +tiddler-editor-border: <> +tiddler-editor-fields-even: <> +tiddler-editor-fields-odd: <> +tiddler-info-background: <> +tiddler-info-border: <> +tiddler-info-tab-background: <> +tiddler-link-background: <> +tiddler-link-foreground: <> +tiddler-subtitle-foreground: <> +tiddler-title-foreground: <> +toolbar-new-button: +toolbar-options-button: +toolbar-save-button: +toolbar-info-button: +toolbar-edit-button: +toolbar-close-button: +toolbar-delete-button: <> +toolbar-cancel-button: +toolbar-done-button: +untagged-background: <> +very-muted-foreground: <> +wikilist-background: <> +wikilist-item: <> +wikilist-info: <> +wikilist-title: <> +wikilist-title-svg: <> +wikilist-url: <> +wikilist-button-open: <> +wikilist-button-open-hover: <> +wikilist-button-reveal: <> +wikilist-button-reveal-hover: <> +wikilist-button-remove: <> +wikilist-button-remove-hover: <> +wikilist-toolbar-background: <> +wikilist-toolbar-foreground: <> +wikilist-droplink-dragover: <> +wikilist-button-background: <> +wikilist-button-foreground: <> \ No newline at end of file diff --git a/core/palettes/FlexokiLight.tid b/core/palettes/FlexokiLight.tid new file mode 100644 index 000000000..c3c4d2f25 --- /dev/null +++ b/core/palettes/FlexokiLight.tid @@ -0,0 +1,214 @@ +title: $:/palettes/FlexokiLight +name: FlexokiLight +description: An inky color scheme for prose and code +tags: $:/tags/Palette +type: application/x-tiddler-dictionary +color-scheme: light + +flexoki-black: #100F0F +flexoki-paper: #FFFCF0 +flexoki-950: #1C1B1A +flexoki-900: #282726 +flexoki-850: #343331 +flexoki-800: #403E3C +flexoki-700: #575653 +flexoki-600: #6F6E69 +flexoki-500: #878580 +flexoki-300: #B7B5AC +flexoki-200: #CECDC3 +flexoki-150: #DAD8CE +flexoki-100: #E6E4D9 +flexoki-050: #F2F0E5 +flexoki-red-600: #AF3029 +flexoki-red-400: #D14D41 +flexoki-orange-600: #BC5215 +flexoki-orange-400: #DA702C +flexoki-yellow-900: #4D3A0B +flexoki-yellow-600: #AD8301 +flexoki-yellow-400: #D0A215 +flexoki-yellow-100: #FCEEB8 +flexoki-green-600: #66800B +flexoki-green-400: #879A39 +flexoki-cyan-950: #142625 +flexoki-cyan-600: #24837B +flexoki-cyan-400: #3AA99F +flexoki-cyan-050: #EBF2E7 +flexoki-blue-600: #205EA6 +flexoki-blue-400: #4385BE +flexoki-purple-600: #5E409D +flexoki-purple-400: #8B7EC8 +flexoki-magenta-600: #A02F6F +flexoki-magenta-400: #CE5D97 + +flexoki-tx: <> +flexoki-tx-2: <> +flexoki-tx-3: <> +flexoki-ui-3: <> +flexoki-ui-2: <> +flexoki-ui: <> +flexoki-bg-2: <> +flexoki-bg: <> + +flexoki-re: <> +flexoki-or: <> +flexoki-ye: <> +flexoki-gr: <> +flexoki-cy: <> +flexoki-bl: <> +flexoki-pu: <> +flexoki-ma: <> + +flexoki-re-2: <> +flexoki-or-2: <> +flexoki-ye-2: <> +flexoki-gr-2: <> +flexoki-cy-2: <> +flexoki-bl-2: <> +flexoki-pu-2: <> +flexoki-ma-2: <> + +alert-background: <> +alert-border: <> +alert-highlight: <> +alert-muted-foreground: <> +background: #FFFCF0 +blockquote-bar: <> +button-background: <> +button-foreground: <> +button-border: <> +code-background: <> +code-border: <> +code-foreground: <> +diff-delete-background: <> +diff-delete-foreground: <> +diff-equal-background: +diff-equal-foreground: <> +diff-insert-background: <> +diff-insert-foreground: <> +diff-invisible-background: <> +diff-invisible-foreground: <> +dirty-indicator: <> +download-background: <> +download-foreground: <> +dragger-background: <> +dragger-foreground: <> +dropdown-background: <> +dropdown-border: <> +dropdown-tab-background-selected: <> +dropdown-tab-background: <> +dropzone-background: <> +external-link-background-hover: inherit +external-link-background-visited: inherit +external-link-background: inherit +external-link-foreground-hover: inherit +external-link-foreground-visited: <> +external-link-foreground: <> +footnote-target-background: <> +foreground: #100F0F +highlight-background: <> +highlight-foreground: inherit +menubar-background: <> +menubar-foreground: <> +message-background: <> +message-border: <> +message-foreground: <> +modal-backdrop: <> +modal-background: <> +modal-border: <> +modal-footer-background: <> +modal-footer-border: <> +modal-header-border: <> +muted-foreground: <> +network-activity-foreground: <> +notification-background: <> +notification-border: <> +page-background: <> +pre-background: <> +pre-border: <> +primary: <> +selection-background: <> +selection-foreground: <> +select-tag-background: <> +select-tag-foreground: <> +sidebar-button-foreground: <> +sidebar-controls-foreground-hover: <> +sidebar-controls-foreground: <> +sidebar-foreground-shadow: transparent +sidebar-foreground: <> +sidebar-muted-foreground-hover: <> +sidebar-muted-foreground: <> +sidebar-tab-background-selected: <> +sidebar-tab-background: <> +sidebar-tab-border-selected: <> +sidebar-tab-border: <> +sidebar-tab-divider: <> +sidebar-tab-foreground-selected: +sidebar-tab-foreground: <> +sidebar-tiddler-link-foreground-hover: <> +sidebar-tiddler-link-foreground: <> +site-title-foreground: <> +stability-stable: <> +stability-experimental: <> +stability-deprecated: <> +stability-legacy: <> +static-alert-foreground: <> +tab-background-selected: <> +tab-background: <> +tab-border-selected: <> +tab-border: <> +tab-divider: <> +tab-foreground-selected: <> +tab-foreground: <> +table-border: <> +table-footer-background: <> +table-header-background: <> +tag-background: #AD8301 +tag-foreground: #FFFCF0 +testcase-accent-level-1: <> +testcase-accent-level-2: <> +testcase-accent-level-3: <> +tiddler-background: <> +tiddler-border: <> +tiddler-controls-foreground-hover: <> +tiddler-controls-foreground-selected: <> +tiddler-controls-foreground: <> +tiddler-editor-background: <> +tiddler-editor-border-image: #ffffff +tiddler-editor-border: <> +tiddler-editor-fields-even: <> +tiddler-editor-fields-odd: <> +tiddler-info-background: <> +tiddler-info-border: <> +tiddler-info-tab-background: <> +tiddler-link-background: <> +tiddler-link-foreground: <> +tiddler-subtitle-foreground: <> +tiddler-title-foreground: <> +toolbar-new-button: +toolbar-options-button: +toolbar-save-button: +toolbar-info-button: +toolbar-edit-button: +toolbar-close-button: +toolbar-delete-button: <> +toolbar-cancel-button: +toolbar-done-button: +untagged-background: <> +very-muted-foreground: <> +wikilist-background: <> +wikilist-item: <> +wikilist-info: <> +wikilist-title: <> +wikilist-title-svg: <> +wikilist-url: <> +wikilist-button-open: <> +wikilist-button-open-hover: <> +wikilist-button-reveal: <> +wikilist-button-reveal-hover: <> +wikilist-button-remove: <> +wikilist-button-remove-hover: <> +wikilist-toolbar-background: <> +wikilist-toolbar-foreground: <> +wikilist-droplink-dragover: <> +wikilist-button-background: <> +wikilist-button-foreground: <> diff --git a/core/palettes/GruvBoxDark.tid b/core/palettes/GruvBoxDark.tid index e839fd7b4..16ac22d65 100644 --- a/core/palettes/GruvBoxDark.tid +++ b/core/palettes/GruvBoxDark.tid @@ -21,9 +21,9 @@ diff-delete-foreground: <> diff-equal-background: diff-equal-foreground: <> diff-insert-background: #b8bb26 -diff-insert-foreground: <> -diff-invisible-background: -diff-invisible-foreground: <> +diff-insert-foreground: <> +diff-invisible-background: #ffff97 +diff-invisible-foreground: #444347 dirty-indicator: #fb4934 download-background: #b8bb26 download-foreground: <> diff --git a/core/palettes/Nord.tid b/core/palettes/Nord.tid index 5f18dce3f..87e918927 100644 --- a/core/palettes/Nord.tid +++ b/core/palettes/Nord.tid @@ -21,8 +21,8 @@ diff-delete-foreground: <> diff-equal-background: diff-equal-foreground: <> diff-insert-background: #A3BE8C -diff-insert-foreground: <> -diff-invisible-background: +diff-insert-foreground: <> +diff-invisible-background: #f9f3b5 diff-invisible-foreground: <> dirty-indicator: #BF616A download-background: #A3BE8C diff --git a/core/palettes/SolarFlare.tid b/core/palettes/SolarFlare.tid index 9f394f10c..ff6ddcf1d 100644 --- a/core/palettes/SolarFlare.tid +++ b/core/palettes/SolarFlare.tid @@ -125,6 +125,14 @@ foreground: #657b83 tiddler-link-foreground: <> alert-border: #b99e2f +diff-delete-background: <> +diff-delete-foreground: <> +diff-equal-background: inherit +diff-equal-foreground: inherit +diff-insert-background: <> +diff-insert-foreground: <> +diff-invisible-background: <> +diff-invisible-foreground: <> dirty-indicator: #ff0000 dropzone-background: rgba(0,200,0,0.7) external-link-background-hover: inherit diff --git a/core/palettes/SolarizedDark.tid b/core/palettes/SolarizedDark.tid index 326f6a4fb..9338998e9 100644 --- a/core/palettes/SolarizedDark.tid +++ b/core/palettes/SolarizedDark.tid @@ -18,6 +18,14 @@ button-foreground: #93a1a1 code-background: #073642 code-border: #586e75 code-foreground: #93a1a1 +diff-delete-background: #dc322f +diff-delete-foreground: #eee8d5 +diff-equal-background: inherit +diff-equal-foreground: inherit +diff-insert-background: #859900 +diff-insert-foreground: #073642 +diff-invisible-background: #b58900 +diff-invisible-foreground: #eee8d5 dirty-indicator: #dc322f download-background: #859900 download-foreground: #073642 diff --git a/core/palettes/SolarizedLight.tid b/core/palettes/SolarizedLight.tid index 28ce1c7c2..c01ff8821 100644 --- a/core/palettes/SolarizedLight.tid +++ b/core/palettes/SolarizedLight.tid @@ -18,6 +18,14 @@ button-foreground: #586e75 code-background: #eee8d5 code-border: #93a1a1 code-foreground: #586e75 +diff-delete-background: #dc322f +diff-delete-foreground: #eee8d5 +diff-equal-background: inherit +diff-equal-foreground: inherit +diff-insert-background: #859900 +diff-insert-foreground: #eee8d5 +diff-invisible-background: #b58900 +diff-invisible-foreground: #eee8d5 dirty-indicator: #dc322f download-background: #859900 download-foreground: #eee8d5 diff --git a/core/palettes/Twilight.tid b/core/palettes/Twilight.tid index 1cd8efab1..d6b54673a 100644 --- a/core/palettes/Twilight.tid +++ b/core/palettes/Twilight.tid @@ -19,13 +19,13 @@ code-background: rgba(0,0,0,0.03) code-border: rgba(0,0,0,0.08) code-foreground: rgb(255, 94, 94) diff-delete-background: #ffc9c9 -diff-delete-foreground: <> +diff-delete-foreground: <> diff-equal-background: diff-equal-foreground: <> diff-insert-background: #aaefad -diff-insert-foreground: <> -diff-invisible-background: -diff-invisible-foreground: <> +diff-insert-foreground: <> +diff-invisible-background: #fdfcbd +diff-invisible-foreground: <> dirty-indicator: rgb(255, 94, 94) download-background: #19a974 download-foreground: rgb(38, 38, 38) diff --git a/core/templates/exporters/CsvFile.tid b/core/templates/exporters/CsvFile.tid index 23d3bbd73..724827d89 100644 --- a/core/templates/exporters/CsvFile.tid +++ b/core/templates/exporters/CsvFile.tid @@ -2,5 +2,6 @@ title: $:/core/templates/exporters/CsvFile tags: $:/tags/Exporter description: {{$:/language/Exporters/CsvFile}} extension: .csv +file-type: text/csv <$macrocall $name="csvtiddlers" filter=<> format="quoted-comma-sep" $output="text/raw"/> diff --git a/core/templates/exporters/JsonFile.tid b/core/templates/exporters/JsonFile.tid index 9008906cc..2ae5495c1 100644 --- a/core/templates/exporters/JsonFile.tid +++ b/core/templates/exporters/JsonFile.tid @@ -2,5 +2,6 @@ title: $:/core/templates/exporters/JsonFile tags: $:/tags/Exporter description: {{$:/language/Exporters/JsonFile}} extension: .json +file-type: application/json <$macrocall $name="jsontiddlers" filter=<> $output="text/raw"/> diff --git a/core/templates/exporters/TidFile.tid b/core/templates/exporters/TidFile.tid index 7b0bb2d78..94f9744a8 100644 --- a/core/templates/exporters/TidFile.tid +++ b/core/templates/exporters/TidFile.tid @@ -2,6 +2,7 @@ title: $:/core/templates/exporters/TidFile tags: $:/tags/Exporter description: {{$:/language/Exporters/TidFile}} extension: .tid +file-type: text/vnd.tiddlywiki condition: [compare:lte[1]] \define renderContent() diff --git a/core/ui/AdvancedSearch/Shadows.tid b/core/ui/AdvancedSearch/Shadows.tid index c786ef871..1c7f15087 100644 --- a/core/ui/AdvancedSearch/Shadows.tid +++ b/core/ui/AdvancedSearch/Shadows.tid @@ -98,8 +98,8 @@ first-search-filter: [all[shadows]searchsort[title]limit[250]] -[[$:/ <> <%endif%> -<$list filter="[all[shadows]search{$:/temp/advancedsearch}sort[title]limit[250]] :else[[$:/temp/advancedsearch]] :else[[$:/temp/advancedsearch/input]]"> -addsuffix[-primaryList]] :else[[$:/temp/advancedsearch/selected-item]get[text]] :and[then[]else[tc-list-item-selected]] }}}> +<$list filter="[all[shadows]search{$:/temp/advancedsearch}sort[title]limit[250]] :except[[$:/temp/advancedsearch]] :except[[$:/temp/advancedsearch/input]]"> +addsuffix[-primaryList]] :except[[$:/temp/advancedsearch/selected-item]get[text]] :and[then[]else[tc-list-item-selected]] }}}> <$transclude tiddler="$:/core/ui/ListItemTemplate"/> diff --git a/core/ui/EditorToolbar/link-dropdown.tid b/core/ui/EditorToolbar/link-dropdown.tid index 2b75a32ce..68e41a17b 100644 --- a/core/ui/EditorToolbar/link-dropdown.tid +++ b/core/ui/EditorToolbar/link-dropdown.tid @@ -8,13 +8,8 @@ title: $:/core/ui/EditorToolbar/link-dropdown <$action-deletetiddler $filter="[] [] [] [] []"/> \end -\procedure prefix.bracket() [ -\procedure suffix.bracket() ] - -\function tf.get-focus-selector() [[data-tiddler-title=]addprefix[$(prefix.bracket)$]substitute[]addsuffixaddsuffix[$(suffix.bracket)$]substitute[]] .tc-create-wikitext-link input :and[join[ ]] - \procedure cancel-search-actions-inner() -<$set name="userInput" value={{{ [get[text]] }}}><$list filter="[get[text]!match]" emptyMessage="<$action-deletetiddler $filter='[] [] [] []'/>"><$action-setfield $tiddler=<> text=<>/><$action-setfield $tiddler=<> text="yes"/> +<$let userInput={{{ [get[text]] }}}><$list filter="[get[text]!match]" emptyMessage="<$action-deletetiddler $filter='[] [] [] []'/>"><$action-setfield $tiddler=<> text=<>/><$action-setfield $tiddler=<> text="yes"/> \end \procedure cancel-search-actions() <$list filter="[!has[text]] :and[!has[text]]" emptyMessage="<>"><$action-sendmessage $message="tm-edit-text-operation" $param="focus-editor"/> @@ -34,9 +29,9 @@ title: $:/core/ui/EditorToolbar/link-dropdown \whitespace trim ''<>'' -<$vars searchTiddler={{{ [addsuffix[/search]] }}} linkTiddler={{{ [addsuffix[/link]] }}} linktext="" searchListState=<> refreshTitle=<> storeTitle=<>> +<$let searchTiddler=`$(config-title)$/search` linkTiddler=`$(config-title)$/link` linktext="" searchListState=<> refreshTitle=<> storeTitle=<>> -<$vars linkTiddler=<>> +<$let linkTiddler=<>> <$keyboard key="((input-tab-right))" actions=<>> <$keyboard key="((input-tab-left))" actions=<> class="tc-create-wikitext-link"> <$transclude $variable="keyboard-driven-input" tiddler=<> storeTitle=<> @@ -51,28 +46,28 @@ title: $:/core/ui/EditorToolbar/link-dropdown <> <$button class="tc-btn-invisible tc-btn-mini" style="width: auto; display: inline-block; background-colour: inherit;"> -<><$set name="cssEscapedTitle" value={{{ [escapecss[]] }}}><$action-sendmessage $message="tm-focus-selector" $param=<>/> +<><$action-sendmessage $message="tm-focus-selector" $param=`[data-tiddler-title=${[escapecss[]]}$] .tc-create-wikitext-link input`/> {{$:/core/images/close-button}} - + <$reveal tag="div" state=<> type="nomatch" text=""> <$linkcatcher actions=<> to=<>> -<$vars userInput={{{ [get[text]] }}} configTiddler={{{ [[$:/state/search/currentTab]!is[missing]get[text]] :else[{$:/config/SearchResults/Default}] }}}> +<$let userInput={{{ [get[text]] }}} configTiddler={{{ [[$:/state/search/currentTab]!is[missing]get[text]] :else[{$:/config/SearchResults/Default}] }}}> {{$:/core/ui/SearchResults}} - + - + \end -<$transclude $variable="body" config-title=<>/> +<$transclude $variable="body" config-title=<>/> \ No newline at end of file diff --git a/core/ui/PageControls/advanced-search.tid b/core/ui/PageControls/advanced-search.tid index 4aa49e6e5..4d13d16e3 100644 --- a/core/ui/PageControls/advanced-search.tid +++ b/core/ui/PageControls/advanced-search.tid @@ -5,6 +5,7 @@ description: {{$:/language/Buttons/AdvancedSearch/Hint}} \whitespace trim \procedure advanced-search-button(class) +\whitespace trim <$button to="$:/AdvancedSearch" tooltip={{$:/language/Buttons/AdvancedSearch/Hint}} aria-label={{$:/language/Buttons/AdvancedSearch/Caption}} class=`$(tv-config-toolbar-class)$ $(class)$`> <%if [match[yes]] %> {{$:/core/images/advanced-search-button}} diff --git a/core/ui/PageControls/controlpanel.tid b/core/ui/PageControls/controlpanel.tid index 8b9db8d9a..6413db21d 100644 --- a/core/ui/PageControls/controlpanel.tid +++ b/core/ui/PageControls/controlpanel.tid @@ -5,6 +5,7 @@ description: {{$:/language/Buttons/ControlPanel/Hint}} \whitespace trim \procedure control-panel-button(class) +\whitespace trim <$button to="$:/ControlPanel" tooltip={{$:/language/Buttons/ControlPanel/Hint}} aria-label={{$:/language/Buttons/ControlPanel/Caption}} class=`$(tv-config-toolbar-class)$ $(class)$`> <%if [match[yes]] %> {{$:/core/images/options-button}} diff --git a/core/ui/PageControls/manager.tid b/core/ui/PageControls/manager.tid index 3cc364f80..1b966a214 100644 --- a/core/ui/PageControls/manager.tid +++ b/core/ui/PageControls/manager.tid @@ -5,6 +5,7 @@ description: {{$:/language/Buttons/Manager/Hint}} \whitespace trim \procedure manager-button(class) +\whitespace trim <$button to="$:/Manager" tooltip={{$:/language/Buttons/Manager/Hint}} aria-label={{$:/language/Buttons/Manager/Caption}} class=`$(tv-config-toolbar-class)$ $(class)$`> <%if [match[yes]] %> {{$:/core/images/list}} diff --git a/core/ui/PageControls/savewiki.tid b/core/ui/PageControls/savewiki.tid index 7e6a18ccc..1d833c35d 100644 --- a/core/ui/PageControls/savewiki.tid +++ b/core/ui/PageControls/savewiki.tid @@ -4,10 +4,17 @@ caption: {{$:/core/images/save-button-dynamic}} {{$:/language/Buttons/SaveWiki/C description: {{$:/language/Buttons/SaveWiki/Hint}} \whitespace trim -<$button tooltip={{$:/language/Buttons/SaveWiki/Hint}} aria-label={{$:/language/Buttons/SaveWiki/Caption}} class=<>> +\procedure saveActions() <$wikify name="site-title" text={{$:/config/SaveWikiButton/Filename}}> -<$action-sendmessage $message="tm-save-wiki" $param={{$:/config/SaveWikiButton/Template}} filename=<>/> + <$action-sendmessage $message="tm-save-wiki" $param={{$:/config/SaveWikiButton/Template}} filename=<>/> +\end + +<$button actions=<> + tooltip={{$:/language/Buttons/SaveWiki/Hint}} + aria-label={{$:/language/Buttons/SaveWiki/Caption}} + class=<> +> <%if [match[yes]] %> {{$:/core/images/save-button-dynamic}} diff --git a/core/ui/PageControls/tag-button.tid b/core/ui/PageControls/tag-button.tid index 6c04804ce..8b1a45226 100644 --- a/core/ui/PageControls/tag-button.tid +++ b/core/ui/PageControls/tag-button.tid @@ -5,6 +5,7 @@ description: {{$:/language/Buttons/TagManager/Hint}} \whitespace trim \procedure control-panel-button(class) +\whitespace trim <$button to="$:/TagManager" tooltip={{$:/language/Buttons/TagManager/Hint}} aria-label={{$:/language/Buttons/TagManager/Caption}} class=`$(tv-config-toolbar-class)$ $(class)$`> <%if [match[yes]] %> {{$:/core/images/tag-button}} diff --git a/core/ui/StandardLayout.tid b/core/ui/PageTemplate.tid similarity index 100% rename from core/ui/StandardLayout.tid rename to core/ui/PageTemplate.tid diff --git a/core/ui/ViewTemplate/body/rendered-plain-text.tid b/core/ui/ViewTemplate/body/rendered-plain-text/css.tid similarity index 66% rename from core/ui/ViewTemplate/body/rendered-plain-text.tid rename to core/ui/ViewTemplate/body/rendered-plain-text/css.tid index d1dcc0f80..2e78bedcc 100644 --- a/core/ui/ViewTemplate/body/rendered-plain-text.tid +++ b/core/ui/ViewTemplate/body/rendered-plain-text/css.tid @@ -2,6 +2,7 @@ title: $:/core/ui/ViewTemplate/body/rendered-plain-text code-body: yes \whitespace trim +\parameters (language:"css") <$wikify name="text" text={{!!text}} type={{!!type}}> -<$codeblock code=<> language="css"/> +<$codeblock code=<> language=<>/> diff --git a/core/ui/ViewTemplate/body/rendered-plain-text/html.tid b/core/ui/ViewTemplate/body/rendered-plain-text/html.tid new file mode 100644 index 000000000..d0742afcc --- /dev/null +++ b/core/ui/ViewTemplate/body/rendered-plain-text/html.tid @@ -0,0 +1,4 @@ +title: $:/core/ui/ViewTemplate/body/rendered-plain-text/html +code-body: yes + +{{||$:/core/ui/ViewTemplate/body/rendered-plain-text|html}} \ No newline at end of file diff --git a/core/wiki/config/OfficialPluginLibrary.tid b/core/wiki/config/OfficialPluginLibrary.tid index fc11b6140..88fd39abe 100644 --- a/core/wiki/config/OfficialPluginLibrary.tid +++ b/core/wiki/config/OfficialPluginLibrary.tid @@ -1,6 +1,6 @@ title: $:/config/OfficialPluginLibrary tags: $:/tags/PluginLibrary -url: https://tiddlywiki.com/library/v5.3.6/index.html +url: https://tiddlywiki.com/library/v5.3.7/index.html caption: {{$:/language/OfficialPluginLibrary}} {{$:/language/OfficialPluginLibrary/Hint}} diff --git a/core/wiki/config/ViewTemplateBodyFilters.multids b/core/wiki/config/ViewTemplateBodyFilters.multids index 90c127a0c..8fdddd775 100644 --- a/core/wiki/config/ViewTemplateBodyFilters.multids +++ b/core/wiki/config/ViewTemplateBodyFilters.multids @@ -3,6 +3,7 @@ tags: $:/tags/ViewTemplateBodyFilter testcase: [tag[$:/tags/wiki-test-spec]type[text/vnd.tiddlywiki-multiple]] [tag[$:/tags/wiki-test-spec-failing]type[text/vnd.tiddlywiki-multiple]] :then[[$:/core/ui/TestCaseTemplate]] stylesheet: [tag[$:/tags/Stylesheet]then[$:/core/ui/ViewTemplate/body/rendered-plain-text]] +html: [tag[$:/tags/RawMarkupWikified]] [tag[$:/tags/RawMarkupWikified/TopHead]] [tag[$:/tags/RawMarkupWikified/TopBody]] [tag[$:/tags/RawMarkupWikified/BottomBody]] :then[[$:/core/ui/ViewTemplate/body/rendered-plain-text/html]] core-ui-tags: [tag[$:/tags/PageTemplate]] [tag[$:/tags/EditTemplate]] [tag[$:/tags/ViewTemplate]] [tag[$:/tags/KeyboardShortcut]] [tag[$:/tags/ImportPreview]] [tag[$:/tags/EditPreview]] [tag[$:/tags/EditorToolbar]] [tag[$:/EditorTools]] [tag[$:/tags/Actions]] [tag[$:/tags/ToolbarButtonStyle]] :then[[$:/core/ui/ViewTemplate/body/code]] system: [prefix[$:/boot/]] [prefix[$:/core/macros]] [prefix[$:/core/save/]] [prefix[$:/core/templates/]] [prefix[$:/config/]] [prefix[$:/core/config/]] [prefix[$:/info/]] [prefix[$:/language/]] [prefix[$:/languages/]] [prefix[$:/snippets/]] [prefix[$:/info/]] [prefix[$:/state/]] [prefix[$:/status/]] [prefix[$:/temp/]] :and[!is[image]] :then[[$:/core/ui/ViewTemplate/body/code]] code-body: [field:code-body[yes]then[$:/core/ui/ViewTemplate/body/code]] diff --git a/core/wiki/macros/colour-picker.tid b/core/wiki/macros/colour-picker.tid index 7a607a551..3c37dc9b5 100644 --- a/core/wiki/macros/colour-picker.tid +++ b/core/wiki/macros/colour-picker.tid @@ -1,58 +1,55 @@ title: $:/core/macros/colour-picker tags: $:/tags/Macro -\define colour-picker-update-recent() +\procedure colour-picker-update-recent() <$action-listops $tiddler="$:/config/ColourPicker/Recent" - $subfilter="$(colour-picker-value)$ [list[$:/config/ColourPicker/Recent]remove[$(colour-picker-value)$]] +[limit[8]]" + $subfilter="[] [list[$:/config/ColourPicker/Recent]remove] +[limit[8]]" /> \end -\define colour-picker-inner(actions) -<$button tag="a" tooltip="""$(colour-picker-value)$"""> -$(colour-picker-update-recent)$ -<$transclude $variable="__actions__"/> - - - +\procedure colour-picker-inner(actions) +<$button tag="a" tooltip=<>> +<> +<$transclude $variable="actions"/> +> style.width="100%" style.height="100%" style.borderRadius="50%"/> \end -\define colour-picker-recent-inner(actions) \whitespace trim -<$set name="colour-picker-value" value="$(recentColour)$"> -<$macrocall $name="colour-picker-inner" actions=<<__actions__>>/> +\procedure colour-picker-recent-inner(actions) +<$set name="colour-picker-value" value=<>> +<$transclude $variable="colour-picker-inner" actions=<>/> \end -\define colour-picker-recent(actions) -\whitespace trim +\procedure colour-picker-recent(actions) {{$:/language/ColourPicker/Recent}}<$list filter="[list[$:/config/ColourPicker/Recent]]" variable="recentColour"> -<$macrocall $name="colour-picker-recent-inner" actions=<<__actions__>>/> +<$transclude $variable="colour-picker-recent-inner" actions=<>/> \end -\define colour-picker(actions) -\whitespace trim +\procedure colour-picker(actions)
-<$macrocall $name="colour-picker-recent" actions=<<__actions__>>/> +<$transclude $variable="colour-picker-recent" actions=<>/> --- <$list filter="LightPink Pink Crimson LavenderBlush PaleVioletRed HotPink DeepPink MediumVioletRed Orchid Thistle Plum Violet Magenta Fuchsia DarkMagenta Purple MediumOrchid DarkViolet DarkOrchid Indigo BlueViolet MediumPurple MediumSlateBlue SlateBlue DarkSlateBlue Lavender GhostWhite Blue MediumBlue MidnightBlue DarkBlue Navy RoyalBlue CornflowerBlue LightSteelBlue LightSlateGrey SlateGrey DodgerBlue AliceBlue SteelBlue LightSkyBlue SkyBlue DeepSkyBlue LightBlue PowderBlue CadetBlue Azure LightCyan PaleTurquoise Cyan Aqua DarkTurquoise DarkSlateGrey DarkCyan Teal MediumTurquoise LightSeaGreen Turquoise Aquamarine MediumAquamarine MediumSpringGreen MintCream SpringGreen MediumSeaGreen SeaGreen Honeydew LightGreen PaleGreen DarkSeaGreen LimeGreen Lime ForestGreen Green DarkGreen Chartreuse LawnGreen GreenYellow DarkOliveGreen YellowGreen OliveDrab Beige LightGoldenrodYellow Ivory LightYellow Yellow Olive DarkKhaki LemonChiffon PaleGoldenrod Khaki Gold Cornsilk Goldenrod DarkGoldenrod FloralWhite OldLace Wheat Moccasin Orange PapayaWhip BlanchedAlmond NavajoWhite AntiqueWhite Tan BurlyWood Bisque DarkOrange Linen Peru PeachPuff SandyBrown Chocolate SaddleBrown Seashell Sienna LightSalmon Coral OrangeRed DarkSalmon Tomato MistyRose Salmon Snow LightCoral RosyBrown IndianRed Red Brown FireBrick DarkRed Maroon White WhiteSmoke Gainsboro LightGrey Silver DarkGrey Grey DimGrey Black" variable="colour-picker-value"> -<$macrocall $name="colour-picker-inner" actions=<<__actions__>>/> +<$transclude $variable="colour-picker-inner" actions=<>/> --- -<$edit-text tiddler="$:/config/ColourPicker/New" tag="input" default="" placeholder=""/> - +<$edit-text tiddler="$:/config/ColourPicker/New" tag="input" default="" placeholder="" class="tc-tiny-gap-right"/> <$edit-text tiddler="$:/config/ColourPicker/New" type="color" tag="input"/> <$set name="colour-picker-value" value={{$:/config/ColourPicker/New}}> -<$macrocall $name="colour-picker-inner" actions=<<__actions__>>/> +<%if [{$:/config/ColourPicker/New}!is[blank]] %> +<$transclude $variable="colour-picker-inner" actions=<>/> +<%endif%>
diff --git a/core/wiki/macros/copy-to-clipboard.tid b/core/wiki/macros/copy-to-clipboard.tid index d05d014e2..f299cf955 100644 --- a/core/wiki/macros/copy-to-clipboard.tid +++ b/core/wiki/macros/copy-to-clipboard.tid @@ -3,9 +3,11 @@ tags: $:/tags/Macro \whitespace trim -\procedure copy-to-clipboard(src,class:"tc-btn-invisible",style) -<$button message="tm-copy-to-clipboard" - param=<> +\procedure copy-to-clipboard(src,class:"tc-btn-invisible",style,type:"text/plain",plain) +\procedure copy-to-clipboard-actions() +<$action-sendmessage $message="tm-copy-to-clipboard" $param=<> type=<> plainText=<>/> +\end copy-to-clipboard-actions +<$button actions=<> class=<> style=< \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/demonstrations/SampleNotification.tid b/editions/ja-JP/tiddlers/demonstrations/SampleNotification.tid new file mode 100644 index 000000000..8deb5291e --- /dev/null +++ b/editions/ja-JP/tiddlers/demonstrations/SampleNotification.tid @@ -0,0 +1,9 @@ +created: 20140912145543340 +modified: 20241216105528737 +original-modified: 20211119192337845 +tags: Demonstrations +title: SampleNotification +ja-title: 通知のサンプル +type: text/vnd.tiddlywiki + +{{$:/core/images/done-button}} これは通知です! \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/demonstrations/SampleWizard.tid b/editions/ja-JP/tiddlers/demonstrations/SampleWizard.tid new file mode 100644 index 000000000..b459d2726 --- /dev/null +++ b/editions/ja-JP/tiddlers/demonstrations/SampleWizard.tid @@ -0,0 +1,15 @@ +created: 20140912145537860 +footer: <$button message="tm-close-tiddler">閉じる +modified: 20241215111438511 +original-modified: 20211119205125230 +subtitle: これはモーダルウィザードです +tags: Demonstrations +title: SampleWizard +ja-title: サンプルウィザード +type: text/vnd.tiddlywiki + +これは、Tiddler [[サンプルウィザード|SampleWizard]]に保存されているモーダルウィザードダイアログです。 + +{{Motovun Jack.jpg}} + +<$button message="tm-modal" param="SampleWizard2">ウィザードをネストすることもできます。 diff --git a/editions/ja-JP/tiddlers/demonstrations/SampleWizard2.tid b/editions/ja-JP/tiddlers/demonstrations/SampleWizard2.tid new file mode 100644 index 000000000..888d36240 --- /dev/null +++ b/editions/ja-JP/tiddlers/demonstrations/SampleWizard2.tid @@ -0,0 +1,13 @@ +created: 20140912145532856 +footer: <$button message="tm-close-tiddler">閉じる +modified: 20241215111706825 +original-modified: 20211119205144340 +subtitle: これはもう一つのモーダルウィザードです +tags: Demonstrations +title: SampleWizard2 +ja-title: サンプルウィザード2 +type: text/vnd.tiddlywiki + +これは、Tiddler [[サンプルウィザード2|SampleWizard2]]に保存されているもう一つのモーダルウィザードダイアログです。 + +<$button message="tm-modal" param="SampleWizard">ウィザードをネストすることもできます。 diff --git a/editions/ja-JP/tiddlers/demonstrations/Tasks/Compose ballad.tid b/editions/ja-JP/tiddlers/demonstrations/Tasks/Compose ballad.tid new file mode 100644 index 000000000..eb00ab0fc --- /dev/null +++ b/editions/ja-JP/tiddlers/demonstrations/Tasks/Compose ballad.tid @@ -0,0 +1,8 @@ +created: 20130825143000000 +modified: 20241017114535878 +original-modified: 20211115013141494 +tags: task TaskManagementExample +title: Compose ballad +ja-title: バラードを作曲する + +//これは、[[タスク管理の例|TaskManagementExample]]のサンプルタスクです// \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/demonstrations/Tasks/Get the Ring.tid b/editions/ja-JP/tiddlers/demonstrations/Tasks/Get the Ring.tid new file mode 100644 index 000000000..03a061f10 --- /dev/null +++ b/editions/ja-JP/tiddlers/demonstrations/Tasks/Get the Ring.tid @@ -0,0 +1,8 @@ +created: 20130825143100000 +modified: 20241017115556461 +original-modified: 20211115013240401 +tags: task TaskManagementExample +title: Get the Ring +ja-title: 指輪を手に入れる + +//これは、[[タスク管理の例|TaskManagementExample]]のサンプルタスクです// \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/demonstrations/Tasks/Go to Mordor.tid b/editions/ja-JP/tiddlers/demonstrations/Tasks/Go to Mordor.tid new file mode 100644 index 000000000..fc7caae17 --- /dev/null +++ b/editions/ja-JP/tiddlers/demonstrations/Tasks/Go to Mordor.tid @@ -0,0 +1,8 @@ +created: 20130825143100000 +modified: 20241017115219870 +original-modified: 20211115181040966 +tags: task done TaskManagementExample +title: Go to Mordor +ja-title: モルドールに行く + +//これは、[[タスク管理の例|TaskManagementExample]]のサンプルタスクです// \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/demonstrations/Tasks/Kill the Dragon.tid b/editions/ja-JP/tiddlers/demonstrations/Tasks/Kill the Dragon.tid new file mode 100644 index 000000000..ad7141bd1 --- /dev/null +++ b/editions/ja-JP/tiddlers/demonstrations/Tasks/Kill the Dragon.tid @@ -0,0 +1,9 @@ +created: 20130825143100000 +list-before: Get the Ring +modified: 20241017115431750 +original-modified: 20211115013217852 +tags: task TaskManagementExample +title: Kill the Dragon +ja-title: ドラゴンを倒す + +//これは、[[タスク管理の例|TaskManagementExample]]のサンプルタスクです// \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/demonstrations/Tasks/Make the beds.tid b/editions/ja-JP/tiddlers/demonstrations/Tasks/Make the beds.tid new file mode 100644 index 000000000..ae3d366b3 --- /dev/null +++ b/editions/ja-JP/tiddlers/demonstrations/Tasks/Make the beds.tid @@ -0,0 +1,8 @@ +created: 20130825143100000 +modified: 20241017115742470 +original-modified: 20211115013200231 +tags: task TaskManagementExample +title: Make the beds +ja-title: ベッドを整える + +//これは、[[タスク管理の例|TaskManagementExample]]のサンプルタスクです// \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/demonstrations/Tasks/TaskManagementExample.tid b/editions/ja-JP/tiddlers/demonstrations/Tasks/TaskManagementExample.tid new file mode 100644 index 000000000..2ca73df1b --- /dev/null +++ b/editions/ja-JP/tiddlers/demonstrations/Tasks/TaskManagementExample.tid @@ -0,0 +1,27 @@ +created: 20130825213300000 +modified: 20241017114309207 +original-modified: 20180307153530187 +tags: Learning +title: TaskManagementExample +ja-title: タスク管理の例 +type: text/vnd.tiddlywiki + +TiddlyWiki5は、カスタマイズすることなく、シンプルなタスク管理システムとして使用できます。タスクに`task`タグを付け、完了したタスクに`done`タグも付けるというアイデアです。このようにして、タスクリストを簡単に作成できます。 + +<<.tip """タスクをドラッグアンドドロップして並べ替える機能が追加された[[このデモの拡張版|TaskManagementExample (Draggable)]]があります""">> + +! 未完了のタスク + +<$list filter="[!has[draft.of]tag[task]!tag[done]sort[created]]"> + +<$checkbox tag="done"> <$link/> + + + +! 完了したタスク + +<$list filter="[!has[draft.of]tag[task]tag[done]sort[created]]"> + +<$checkbox tag="done"> ~~<$link/>~~ + + diff --git a/editions/ja-JP/tiddlers/demonstrations/Tasks/TaskManagementExampleDraggable.tid b/editions/ja-JP/tiddlers/demonstrations/Tasks/TaskManagementExampleDraggable.tid new file mode 100644 index 000000000..afc84f9aa --- /dev/null +++ b/editions/ja-JP/tiddlers/demonstrations/Tasks/TaskManagementExampleDraggable.tid @@ -0,0 +1,25 @@ +created: 20180307153530187 +modified: 20241022104926750 +original-modified: 20180307153530187 +tags: Learning +title: TaskManagementExample (Draggable) +ja-title: タスク管理の例(ドラッグ可能) +type: text/vnd.tiddlywiki + +これは[[タスク管理の例|TaskManagementExample]]のタスクリストをドラッグアンドドロップして並べ替える機能を付与した強化バージョンです + +! 未完了のタスク + +//タスクをドラッグして順序を変更できます// + +<> + +! 完了したタスク + +//(完了した逆順にリストされています)// + +<$list filter="[!has[draft.of]tag[task]tag[done]sort[modified]]"> +
+<$checkbox tag="done"> ~~<$link/>~~ +
+ diff --git a/editions/ja-JP/tiddlers/demonstrations/Tasks/TaskManagementExampleDraggableTemplate.tid b/editions/ja-JP/tiddlers/demonstrations/Tasks/TaskManagementExampleDraggableTemplate.tid new file mode 100644 index 000000000..6543aed1c --- /dev/null +++ b/editions/ja-JP/tiddlers/demonstrations/Tasks/TaskManagementExampleDraggableTemplate.tid @@ -0,0 +1,9 @@ +created: 20180307153530187 +modified: 20241022105026989 +original-modified: 20180307153530187 +tags: Learning +title: TaskManagementExampleDraggableTemplate +ja-title: タスク管理の例(ドラッグ可能)のテンプレート +type: text/vnd.tiddlywiki + +<$checkbox tag="done"> <$link/> diff --git a/editions/ja-JP/tiddlers/demonstrations/Tasks/done.tid b/editions/ja-JP/tiddlers/demonstrations/Tasks/done.tid new file mode 100644 index 000000000..795da0a3f --- /dev/null +++ b/editions/ja-JP/tiddlers/demonstrations/Tasks/done.tid @@ -0,0 +1,8 @@ +color: #2dbe37 +created: 20211115013354157 +icon: $:/core/images/done-button +modified: 20241017115050246 +original-modified: 20211115013357660 +tags: TaskManagementExample +title: done +ja-title: 済み diff --git a/editions/ja-JP/tiddlers/demonstrations/Tasks/task.tid b/editions/ja-JP/tiddlers/demonstrations/Tasks/task.tid new file mode 100644 index 000000000..ac09057a7 --- /dev/null +++ b/editions/ja-JP/tiddlers/demonstrations/Tasks/task.tid @@ -0,0 +1,10 @@ +color: #8d9ac3 +created: 20130825213200000 +list: [[Make the beds]] +modified: 20241017115926413 +original-modified: 20211115013121643 +tags: TaskManagementExample +title: task +ja-title: タスク + +//このタグは、[[タスク管理の例|TaskManagementExample]]のタスクを識別します// \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/editions/Blog Edition.tid b/editions/ja-JP/tiddlers/editions/Blog Edition.tid new file mode 100644 index 000000000..227af6c59 --- /dev/null +++ b/editions/ja-JP/tiddlers/editions/Blog Edition.tid @@ -0,0 +1,11 @@ +created: 20150902123139133 +modified: 20241221102414663 +original-modified: 20150902123255662 +tags: Editions +title: Blog Edition +ja-title: ブログエディション +type: text/vnd.tiddlywiki + +TiddlyWikiの''ブログ''エディションには、TiddlyWikiで書かれた静的HTMLブログの公開を支援するツールが含まれています。現在、Node.jsで使用するように設計されています。 + +ドキュメントは準備中ですが、使用例については https://github.com/Jermolene-blog/blog を参照してください。 \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/editions/Editions.tid b/editions/ja-JP/tiddlers/editions/Editions.tid new file mode 100644 index 000000000..8ae0fcaf4 --- /dev/null +++ b/editions/ja-JP/tiddlers/editions/Editions.tid @@ -0,0 +1,18 @@ +created: 20140908125500000 +list: [[Empty Edition]] +modified: 20241220114652589 +original-modified: 20160107222125923 +tags: TableOfContents +title: Editions +ja-title: エディション +type: text/vnd.tiddlywiki + +TiddlyWikiは、特定の目的に合わせて調整されたいくつかの異なるエディションで配布されています + +エディションは、できるだけ早く立ち上げて実行できるように、TiddlyWikiのコアコンポーネントとプラグイン、ドキュメント、およびサンプルコンテンツで構成されています + +これらのエディションのコンポーネントを組み合わせて、特定のアプリケーションに固有のソリューションを作成できます + +<> + +<$macrocall $name=".tip" _="""エディションと、TiddlyWikiが実行される[[プラットフォーム|Platforms]]と混同しないように注意してください(例:[[単一HTMLファイル|Saving]] vs. [[Node.js|TiddlyWiki on Node.js]])"""/> \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/editions/Empty Edition.tid b/editions/ja-JP/tiddlers/editions/Empty Edition.tid new file mode 100644 index 000000000..05d5e0e0e --- /dev/null +++ b/editions/ja-JP/tiddlers/editions/Empty Edition.tid @@ -0,0 +1,16 @@ +created: 20140916213421041 +modified: 20241220115009879 +original-modified: 20160702084215576 +tags: Editions +title: Empty Edition +ja-title: 空エディション +type: text/vnd.tiddlywiki + + +TiddlyWikiの"空"エディションはバニラディストリビューションであり、コアコード以外に追加されているプラグインや構成はありません + +空のエディションは次からダウンロードできます: + +* リンク: [ext[empty.html]] +* ビルトイン: {{$:/editions/tw5.com/snippets/download-empty-button}} +ブラウザによっては、ダウンロード開始前にダウンロードを受け入れるかどうかを尋ねられる場合があります \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/editions/Full Edition.tid b/editions/ja-JP/tiddlers/editions/Full Edition.tid new file mode 100644 index 000000000..2db8f9af8 --- /dev/null +++ b/editions/ja-JP/tiddlers/editions/Full Edition.tid @@ -0,0 +1,13 @@ +created: 20150310103210459 +modified: 20241221102710941 +original-modified: 20160602051530592 +tags: Editions +title: Full Edition +ja-title: フルエディション +type: text/vnd.tiddlywiki + +TiddlyWikiの"フル"エディションは、TiddlyWikiで使用可能なすべての言語、テーマ、プラグインで構成されています。これはTiddlyWikiのテスト、特に利用可能なすべての言語プラグイン間の切り替えに使用することを目的としています。 + +フルエディションは以下からダウンロードできます: + +https://tiddlywiki.com/editions/full/ \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/editions/Résumé Builder Edition.tid b/editions/ja-JP/tiddlers/editions/Résumé Builder Edition.tid new file mode 100644 index 000000000..e82ba5ce9 --- /dev/null +++ b/editions/ja-JP/tiddlers/editions/Résumé Builder Edition.tid @@ -0,0 +1,11 @@ +created: 20150718123139133 +modified: 20241221103022837 +original-modified: 20160602051544252 +tags: Editions +title: Résumé Builder Edition +ja-title: 履歴書ビルダーエディション +type: text/vnd.tiddlywiki + +TiddlyWikiの''履歴書ビルダー''エディションを使用すると、Webに保存したり印刷したりできる職業上の履歴書を簡単な方法で作成し始めることができます + +https://tiddlywiki.com/editions/resumebuilder/ diff --git a/editions/ja-JP/tiddlers/editions/Text Slicer Edition.tid b/editions/ja-JP/tiddlers/editions/Text Slicer Edition.tid new file mode 100644 index 000000000..cf935cd8a --- /dev/null +++ b/editions/ja-JP/tiddlers/editions/Text Slicer Edition.tid @@ -0,0 +1,11 @@ +created: 20150718123139133 +modified: 20241221103255652 +original-modified: 20160602051553479 +tags: Editions +title: Text-Slicer Edition +ja-title: テキストスライサーエディション +type: text/vnd.tiddlywiki + +TiddlyWikiの''テキストスライサー''エディションには、上級ユーザーが長いテキストを個々のTiddlerにスライスするのに役立つツールが含まれています + +https://tiddlywiki.com/editions/text-slicer/ \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/editions/XLSX Utilities Edition.tid b/editions/ja-JP/tiddlers/editions/XLSX Utilities Edition.tid new file mode 100644 index 000000000..bbd70b3f9 --- /dev/null +++ b/editions/ja-JP/tiddlers/editions/XLSX Utilities Edition.tid @@ -0,0 +1,11 @@ +created: 20161023202301847 +modified: 20241221103512732 +original-modified: 20161023202301847 +tags: Editions +title: XLSX Utilities Edition +ja-title: XLSXユーティリティエディション +type: text/vnd.tiddlywiki + +TiddlyWikiの''XLSXユーティリティ''エディションには、Microsoft ExcelやGoogle Sheetsなどのアプリケーションによって生成された`.XLSX`スプレッドシートを操作するためのツールが含まれています。ブラウザーやNode.jsで使用できます + +https://tiddlywiki.com/editions/xlsx-utils/ diff --git a/editions/ja-JP/tiddlers/features/AutoSave.tid b/editions/ja-JP/tiddlers/features/AutoSave.tid new file mode 100644 index 000000000..e2d3b5865 --- /dev/null +++ b/editions/ja-JP/tiddlers/features/AutoSave.tid @@ -0,0 +1,13 @@ +created: 20140206211715540 +modified: 20241206115421575 +original-modified: 20160610081543108 +tags: Features +title: AutoSave +ja-title: 自動保存 +type: text/vnd.tiddlywiki + +自動保存をサポートする利用可能なSavingMechanismがある場合、TiddlyWikiは、Tiddlerの編集時に<<.icon $:/core/images/done-button>>''ok''または<<.icon $:/core/images/delete-button>>''削除''をクリックすると、現在のドキュメントの保存を自動的にトリガーします + +自動保存が行われたことを確認するために、ウィンドウの右上に黄色の通知が表示されます + +自動保存は、[[コントロールパネル|$:/ControlPanel]]<<.icon $:/core/images/options-button>>の''設定''タブで有効または無効にできます。バックグラウンドでは、設定用Tiddler[[$:/config/AutoSave]]を通じて制御されます。自動保存を有効にするには、この構成の値が''yes''である必要があります \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/features/Core Icons.tid b/editions/ja-JP/tiddlers/features/Core Icons.tid new file mode 100644 index 000000000..fe45514fa --- /dev/null +++ b/editions/ja-JP/tiddlers/features/Core Icons.tid @@ -0,0 +1,42 @@ +title: Core Icons +ja-title: コアアイコン +tags: Features +modified: 20241206115817981 +original-modified: 20230423103154329 +created: 20230423103154329 + +!! 紹介 + +TiddlyWikiには100以上のカスタムベクターアイコンが含まれています。これらはユーザーインターフェイスに組み込まれており、作成者が独自のアプリケーションで使用することもできます。完全なリストについては、[[アイコンギャラリー|Icon Gallery]]を参照してください。 + +!! 使用法 + +コアアイコンはトランスクルージョンして使用します。例えば: + +<> + +コアアイコンはパラメータ化されています。最初のパラメータ`size`は、アイコンをレンダリングするサイズを指定します: + +< +""">> + +アイコンのサイズを動的に変更する例を示します: + +< +<$text text={{{ [addsuffix[px]] }}} /> +<$transclude $tiddler="$:/core/icon" size=<>/> + +""">> + +一部のアイコンは、レンダリング方法をカスタマイズするためにさらにパラメーターを受け取ります。例えば、$:/core/images/new-journal-buttonアイコンは、カレンダーに表示する日付を指定する追加パラメータ`day`を取ります。指定しない場合、デフォルトで現在の日付が設定されます + +< +""">> + +コア アイコンは、本格的なSVG画像としてではなく、埋め込み[[SVG 要素|Using SVG]]として実装されています。これは、CSSを使用してスタイルを設定できることを意味します。例えば、CSSプロパティ`fill`を使用してアイコンの色を変更できます。例えば: + +<{{$:/core/images/opacity}}
+""">> \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/features/DateFormat.tid b/editions/ja-JP/tiddlers/features/DateFormat.tid new file mode 100644 index 000000000..1231c5404 --- /dev/null +++ b/editions/ja-JP/tiddlers/features/DateFormat.tid @@ -0,0 +1,89 @@ +created: 20140418142957325 +modified: 20241206120335412 +original-modified: 20230226144359284 +tags: Features +title: DateFormat +ja-title: 日付形式 +type: text/vnd.tiddlywiki + +日付のデフォルトの表現は、<<.value 20211002153802059>>のようなコンパクトな文字列です。関連するテンプレートは`[UTC]YYYY0MM0DD0hh0mm0ss0XXX`です。たとえば、<<.field created>>や<<.field modified>>のフィールドは次のように保存されます。 + +この文字列の表示形式は、テンプレートで制御できます。たとえば、<<.field modified>>フィールドをトランスクルードすると、日付を<<.value "Sat Oct 02 2021 17:40:50 GMT+0200 (Central European Summer Time)">>として表示するテンプレートが自動的に適用されます。いくつかのウィジェットとフィルター演算子では、テンプレートを手動で指定できます。たとえば、ViewWidgetです: + +`<$view field=modified format=date template="DDth mmm YYYY 0hh:0mm:0ss" />` + +日付文字列は次の置換で処理されます: + +|!トークン |!置き換えられる値 | +|`ddddd` |<<.from-version "5.2.0">> 年間日数 (1から365まで、うるう年の場合は366まで) | +|`0ddddd` |<<.from-version "5.2.0">> 年間日数(ゼロ埋め) (001から 365まで、うるう年の場合は366まで) | +|`DDD` |曜日 (例、"月曜") | +|`ddd` |曜日(短縮) (例、"月") | +|`dddd` |<<.from-version "5.2.0">> 月曜始まり日曜終わりの1から7までに曜日番号 | +|`DD` |日付 | +|`0DD` |日付(ゼロ埋め) | +|`DDth` |日付('日'付き) | +|`WW` |週番号(ISO-8601) | +|`0WW` |週番号(ISO-8601)(ゼロ埋め) | +|`MMM` |月 (例、"7月") | +|`mmm` |月(短縮) (例、"7月") | +|`MM` |月番号 | +|`0MM` |月番号(ゼロ埋め) | +|`YYYY` |年 | +|`YY` |年(下2桁) | +|`wYYYY` |週番号に関する年 | +|`aYYYY` |<<.from-version "5.1.23">> 年(負の日付を正として表示) | +|`wYY` |週番号に関する年(下2桁) | +|`{era:BCE||CE}` |<<.from-version "5.1.23">> 負、ゼロ、正の年に対して異なる文字列を表示 (下記参照) | +|`hh` |時 | +|`0hh` |時(ゼロ埋め) | +|`hh12` |時(12時間表記) | +|`0hh12` |時(12時間表記)(ゼロ埋め) | +|`mm` |分 | +|`0mm` |分(ゼロ埋め) | +|`ss` |秒 | +|`0ss` |秒(ゼロ埋め) | +|`XXX` |ミリ秒 | +|`0XXX` |ミリ秒(ゼロ埋め) | +|`am` or `pm` |AM/PMインジケータ(小文字) | +|`AM` or `PM` |AM/PMインジケータ(大文字) | +|`TZD` |タイムゾーンオフセット | +|`TIMESTAMP` |<<.from-version "5.2.4">> 1970年1月1日([[ECMAScriptエポック|https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#the_ecmascript_epoch_and_timestamps]])からのミリ秒数 | +|`\x` |特別な意味を持つ文字をエスケープするために使用 | +|`[UTC]`|表現された日付をUTCにタイムシフトします。フォーマット文字列の先頭になければなりません。| + +その他のテキストは変更されずに渡され、カンマ、コロン、またはその他の区切り文字が使用されることに注意してください。 + +この`{era:BCE||CE}`表記法では、負、ゼロ、正の年に対して異なる文字列を指定できます。たとえば、`{era:BC|Z|AD}`は、負の年の場合は<<.value BC>>、正の年の場合は<<.value AD>>、0年の場合は<<.value Z>>が表示されます。 + + +! 例 + +|!テンプレート |!Output | +|`DDth MMM YYYY` |16日 2月 2011 | +|`DDth MMM \M\M\M YYYY` |16日 2月 MMM 2011 | +|`DDth mmm YYYY 0hh:0mm:0ss` |16日 2月 2011 11:38:42 | + +!! <<.value TIMESTAMP>>を時間差を計算するために使用する + +次のようにして、2つの日付の差を計算できます: + +# 両方の日付をタイムスタンプに変換します +# 後の日付を前の日付から引きます -- どちらが早いかわからない場合は、減算後に絶対値を取得する<<.olink "abs">>演算子を使用します +# 結果の数値を選択した間隔のミリ秒数で割ります + +以下は、現在のTiddlerの作成から最終更新までの経過日数を計算する例です: + +* <<.field created>>フィールドと<<.field modified>>フィールドをタイムスタンプに変換します +* その差を1日のミリ秒数である<<.value 86400000>>で割ります +** 1000ミリ秒/秒 × 60秒/分 × 60分/時 × 24時間/日 = 86,400,000 ミリ秒/日 + +<$macrocall $name=".example" n="0" eg="""<$let + timestamp-modified={{{ [{!!modified}format:date[TIMESTAMP]] }}} + timestamp-created={{{ [{!!created}format:date[TIMESTAMP]] }}} + difference-days={{{ [subtractdivide[86400000]floor[]] }}}> + +* ''更新日:'' <$text text={{{ [{!!modified}format:date[YYYY-0MM-0DD]] }}}/> +* ''作成日:'' <$text text={{{ [{!!created}format:date[YYYY-0MM-0DD]] }}}/> +* ''日付の差:'' <>日 +"""/> \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/features/Deserializers.tid b/editions/ja-JP/tiddlers/features/Deserializers.tid new file mode 100644 index 000000000..940e18c4a --- /dev/null +++ b/editions/ja-JP/tiddlers/features/Deserializers.tid @@ -0,0 +1,22 @@ +created: 20230627093650105 +modified: 20241207112556326 +original-modified: 20230627094356394 +tags: Features +title: Deserializers +ja-title: デシリアライザー +type: text/vnd.tiddlywiki + +デシリアライザー[[モジュール|Modules]]は、さまざまな形式のテキストをTiddlerとしてJSON表現に解析します。Wikiで使用可能なデシリアライザーモジュールは、 [[デシリアライザー演算子|deserializers Operator]]を使用して表示でき 、[[デシリアライズ演算子|deserialize Operator]]とともに使用できます。 + +TiddlyWikiコアは次のデシリアライザーを提供します: + +|!デシリアライザー |!説明 | +|(DOM)|DOMノードからTiddlerを抽出します。<<.op deserialize[]>>演算子と一緒に使用しないでください| +|application/javascript|ヘッダーコメントからフィールドを抽出するTiddlerとしてJavaScriptモジュールを解析します| +|application/json|[[JSON|JSON in TiddlyWiki]]を解析してTiddlerにします| +|application/x-tiddler|[[.tidファイル形式|TiddlerFiles]]を解析してTiddlerにします| +|application/x-tiddler-html-div|[[
.tiddlerファイルフォーマット|TiddlerFiles]]を解析してTiddlerにします| +|application/x-tiddlers|[[MultiTiddlerFile形式|MultiTiddlerFiles]]を解析してTiddlerにします| +|text/css|CSSを解析しヘッダーコメントからフィールドを抽出してTiddlerにします| +|text/html|HTMLファイルを解析してTiddlerにします。~TiddlyWikiクラシックHTMLファイル、~TiddlyWiki5 HTMLファイル、通常のHTMLファイルをサポートします| +|text/plain|プレーンテキストを解析してTiddlerにします| diff --git a/editions/ja-JP/tiddlers/features/Drag and Drop.tid b/editions/ja-JP/tiddlers/features/Drag and Drop.tid new file mode 100644 index 000000000..1caf43cfe --- /dev/null +++ b/editions/ja-JP/tiddlers/features/Drag and Drop.tid @@ -0,0 +1,33 @@ +created: 20170328143119836 +modified: 20241208110958833 +original-modified: 20170328173846754 +tags: Features +title: Drag and Drop +ja-title: ドラッグアンドドロップ +type: text/vnd.tiddlywiki + +~TiddlyWikiはドラッグアンドドロップを使用して、2つの機能を実現します: + +* ~TiddlyWikiに[[Tiddlerをインポート|Importing Tiddlers]]する +* ~TiddlyWiki内でのTiddler操作 + +ドラッグアンドドロップによるTiddler操作は、次のコンテキストでコアのユーザーインターフェイスによってサポートされます: + +* サイドバーの"表示中"タブのエントリはドラッグアンドドロップで並べ替えることができます。タイトルをリストにドラッグすることで新しいTiddlerを開くことができます。 +* タグピルのドロップダウン内のエントリはドラッグアンドドロップで並べ替えることができます。タイトルをリストにドラッグすることで新しいTiddlerにタグを割り当てることができます。 +* [[コントロールパネル|$:/ControlPanel]]の"外観"/ツールバー"タブのエントリは、ドラッグアンドドロップで並べ替えることができます。(あまり便利ではありませんが、タイトルをリストにドラッグすることで、ツールバーに新しいエントリを追加できます) + +すべてのTiddlerリンクはデフォルトでドラッグ可能です。ブラウザウィンドウ内でドラッグしてTiddlerを操作することも、別のブラウザウィンドウにドラッグして[[インポート操作|Importing Tiddlers]]を開始することもできます。 + +リンクをドラッグする場合は、水平方向の移動はブラウザによってテキスト選択として認識されるため、最初に垂直方向に移動します。 + +タグピルもドラッグ可能であり、タグを持つ個々のTiddlerすべてを同時にドラッグするのと同じです。 + +ドラッグアンドドロップによるTiddler操作の一般的なシナリオは、再利用可能なマクロとして利用できます: + +* [[list-links-draggableマクロ|list-links-draggable Macro]]はTiddler ListField内のエントリを並べ替えるためのマクロ +* [[list-tagged-draggableマクロ|list-tagged-draggable Macro]]は指定されたタグを持つTiddlerを並べ替えるためのマクロ + +低レベルのドラッグアンドドロッププリミティブを使用して、より複雑なインタラクションを構築する方法の詳細については、[[ドラッグアンドドロップのメカニズム|DragAndDropMechanism]]を参照してください。 + +~TiddlyWikiで使用される標準HTML 5のドラッグアンドドロップAPI は、通常、スマートフォンやタブレットのモバイルブラウザーでは利用できません。[[モバイルドラッグアンドドロップShimプラグイン|Mobile Drag And Drop Shim Plugin]]は、iOSやAndroidを含む多くのモバイルブラウザーで部分的サポートを実装するオープンソースライブラリを追加します。 diff --git a/editions/ja-JP/tiddlers/features/Features.tid b/editions/ja-JP/tiddlers/features/Features.tid new file mode 100644 index 000000000..db2468ad5 --- /dev/null +++ b/editions/ja-JP/tiddlers/features/Features.tid @@ -0,0 +1,13 @@ +created: 20130822172800000 +modified: 20241206113502662 +original-modified: 20160107225826644 +tags: TableOfContents +title: Features +ja-title: 機能 +type: text/vnd.tiddlywiki + +TiddlyWikiの機能に関する詳細情報: + +<> + +最後になりましたが、TiddlyWikiは実用的な[[クワイン|Quine]]の稀な例です \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/features/Future Proof.tid b/editions/ja-JP/tiddlers/features/Future Proof.tid new file mode 100644 index 000000000..8cb051c15 --- /dev/null +++ b/editions/ja-JP/tiddlers/features/Future Proof.tid @@ -0,0 +1,18 @@ +created: 20131213101024997 +modified: 20241210112855653 +original-modified: 20170329104438386 +tags: Features +title: Future Proof +ja-title: 将来性 +type: text/vnd.tiddlywiki + +2016年1月の[[Network World|http://www.networkworld.com/article/3028098/open-source-tools/tiddlywiki-a-free-open-source-wiki-revisited.html]]誌より: + +<<< +はるか昔(正確には2009年1月)、私はTiddlyWikiという“個人用非線形Webノートブック”という非常に優れたツールについて[[書きました|http://www.networkworld.com/article/2272104/applications/an-amazing-free-microwiki.html]]。そして今日になって、私は幽体離脱体験をしました。偶然、その記事を書いたときに始めたTiddlyWikiを見つけたのですが、それはまだ機能しているのです。 + +わずか2、3年後に完璧に動作するコードが見つかるだけでも十分魔法のようですが、7年も経ってます! TiddlyWikiは単一ページのWebアプリケーションとして作成されており、現在のブラウザーが2009年当時と大きく異なることを考えると、TiddlyWikiの古いバージョンがまだ動作しているという事実はまさに奇跡的です。 +<<< + +TiddlyWikiは、ユーザーの長期的なニーズを念頭に置いて設計されています。[[オープンソース|OpenSource]]であり、インフラストラクチャを必要としないため、遠い未来においても、~TiddlyWikiファイルにアクセスするために必要なのは、通常のHTMLブラウザーだけであると確信できます。キャリアの初期に~TiddlyWikiを使い始めたとしても、退職するまで~TiddlyWikiが役立つと確信できます。 + diff --git a/editions/ja-JP/tiddlers/features/Importing Tiddlers.tid b/editions/ja-JP/tiddlers/features/Importing Tiddlers.tid new file mode 100644 index 000000000..151d1149e --- /dev/null +++ b/editions/ja-JP/tiddlers/features/Importing Tiddlers.tid @@ -0,0 +1,28 @@ +created: 20130825162000000 +modified: 20241211112813514 +original-modified: 20170328160211362 +tags: Features +title: Importing Tiddlers +ja-title: Tiddlerのインポート +type: text/vnd.tiddlywiki + +外部ファイルから、または別の~TiddlyWikiから直接、Tiddlerを~TiddlyWikiにインポートできます。 + +!! 外部ファイルからのコンテンツのインポート + +外部ファイルからコンテンツ(テキスト、画像、PDFドキュメントなど)をインポートする方法はいくつかあります: + +* <<.icon $:/core/images/import-button>> ''インポート''ボタン(サイドバーの''ツール''タブ配下)を使用してローカルファイルを選択します +* WindowsエクスプローラーやOS X Finderなどからファイルを~TiddlyWikiブラウザウィンドウにドラッグアンドドロップします +* メニューやキーボードショートカット(ctrl-Vまたはcmd-V)を使用して、クリップボードから直接コンテンツを貼り付けます +** 現在、Chrome、Firefox、Edgeでサポートされています(Internet Explorerはサポートされていません) + +ほとんどのファイルは個別のTiddlerとしてインポートされます。例外は次のとおりです: + +* ~TiddlyWikiファイルとして認識された''.html''ファイルは解析され、その中のTiddlerが抽出されます。 +* ''.json''ファイルは解析され、その中にあるTiddlerが抽出されます。''.json''ファイルは、別の~TiddlyWikiから[[エクスポートする|How to export tiddlers]]ことで作成できます。~TiddlyWikiは、単一のTiddlerフィールドオブジェクトまたはTiddlerフィールドオブジェクトの配列を含むJSONファイルを受け入れます + +!! 他の~TiddlyWikiブラウザウィンドウからのコンテンツのインポート + +Tiddlerは、[[ドラッグアンドドロップ|Drag and Drop]]を使用して他の~TiddlyWikiブラウザーウィンドウからインポートできます。TiddlyWikiの内部リンクやタグを、ある~TiddlyWikiブラウザーウィンドウから別のウィンドウにドラッグします。内部リンクをドラッグすると1つのTiddlerがインポートされますが、タグピルをドラッグすると、そのタグを持つすべてのTiddlerがインポートされます。 + diff --git a/editions/ja-JP/tiddlers/features/JSON in TiddlyWiki.tid b/editions/ja-JP/tiddlers/features/JSON in TiddlyWiki.tid new file mode 100644 index 000000000..ed0192db1 --- /dev/null +++ b/editions/ja-JP/tiddlers/features/JSON in TiddlyWiki.tid @@ -0,0 +1,73 @@ +title: JSON in TiddlyWiki +ja-title: TiddlyWikiでのJSON +tags: Features +type: text/vnd.tiddlywiki +created: 20220427174702859 +modified: 20241214111229300 +original-modified: 20220611104737314 + +!! 紹介 + +JSON(~JavaScript Object Notation)は、データの保存と転送に広く使用されているデータ構造の標準化されたテキスト表現です。 + +JSONはTiddlyWikiのさまざまなコンテキストで使用されます。例: + +* TiddlerはTiddlyWiki HTMLファイル内でJSONデータとして表現されます +* Tiddlerの集まりはJSONファイルとして[[エクスポート|How to export tiddlers]]および[[インポート|Importing Tiddlers]]できます +* プラグインTiddlerは、構成要素の隠しTiddlerをJSONデータとして保存します +* クライアント-サーバー構成では、クライアントとサーバー間の通信に[[JSONメッセージ|TiddlyWeb JSON tiddler format]]を使用します +* DataTiddlers内の任意のJSONデータは、一連のフィルター演算子とアクションウィジェットを使用して処理および操作できます + + +!! JSONについて + +公式ウェブサイト https://json.org/ の JSONの技術的説明は簡潔です。ここでは主な機能を要約します。 + +JSONは次の2つの基本データ構造をサポートします: + +''配列''はアイテムのリストです。アイテムは数値インデックス(0始まり)によって識別されます + +配列の例は次のとおりです: + + +```json +["one","two","three\"four"] +``` + +次の配列の機能に注意してください: + +* 配列はアイテムのリストを囲む角括弧で表されます +* 各アイテムは二重引用符で囲まれた文字列です。二重引用符は、その前にバックスラッシュ(`\`)を付けることで文字列内に含めることができます +* アイテムはカンマで区切られます + +''オブジェクト''は名前と値のペアの集合です。各アイテムは一意の名前で識別される値です + +オブジェクトの例は次のとおりです: + +```json +{ + "first": "これは一番目の値です", + "second": "これは二番目の値です", + "third": "これは三番目の値です" +} +``` + +次のオブジェクトの機能に注意してください: + +* オブジェクトは、名前と値のペアのリストを囲む中括弧で表されます +* 各名前/値のペアは、二重引用符で囲まれた名前、コロン、そして値で構成されます +* 名前と値のペアはカンマで区切られます + +上記の例はすべて文字列値を示しています。JSONはいくつかの異なるタイプの値をサポートしています。これらのタイプはいずれも値として使用できます: + +* 上に示したような文字列値 +* `1`, `3.14`のような符号付き十進数として表される数値、指数表記も使用できます。例: `-1E10` +* キーワード`true`と`false`とで表されるブール値 +* 欠損または不完全なデータを表すために使用される特別な値 `null` +* オブジェクトと配列も値であり、複雑なネスト構造を表現することができる + +!! データTiddlerの操作 + +* [[JSON Tiddlerからのデータの読み取り|Reading data from JSON tiddlers]] +* [[JSON Tiddlerの構築|Constructing JSON tiddlers]] +* [[JSON Tiddlerの修正|Modifying JSON tiddlers]] diff --git a/editions/ja-JP/tiddlers/features/LazyLoading.tid b/editions/ja-JP/tiddlers/features/LazyLoading.tid new file mode 100644 index 000000000..2c60b178c --- /dev/null +++ b/editions/ja-JP/tiddlers/features/LazyLoading.tid @@ -0,0 +1,32 @@ +created: 20140206214608586 +modified: 20241214111529899 +original-modified: 20211009145417525 +tags: Features +title: LazyLoading +ja-title: 遅延読み込み +type: text/vnd.tiddlywiki + +通常、TiddlyWikiでは、すべてのTiddlerの完全なコンテンツがメインのHTMLファイルに埋め込まれます。遅延読み込みとは、Tiddlerに関するメタデータ(言い換えると、''テキスト''フィールド以外のすべてのフィールド)のみを埋め込み、必要なときにサーバーから本文を要求する手法を指します。 + +遅延読み込みは次の2つの構成で使用できます: + +* [[Node.js上でのTiddlerWiki|TiddlyWiki on Node.js]]を実行する場合、画像Tiddlerのみ、またはシステム以外のすべてのTiddlerが遅延読み込みの対象にできます +* [[TiddlyWebのためのSkyでのTiddlyWiki|TiddlyWiki in the Sky for TiddlyWeb]]を実行する場合、すべてのTiddlerは遅延読み込みの対象になります + +遅延読み込みの実装方法の詳細については、[[遅延読み込みメカニズム|https://tiddlywiki.com/dev/#LazyLoadingMechanism]]を参照してください。 + +! Node.jsでの遅延読み込み + +画像Tiddlerの遅延読み込みでTiddlyWikiを起動するには、次のコマンドを使用します: + + +``` +tiddlywiki --listen root-tiddler=$:/core/save/lazy-images +``` + +非システムTiddlerすべてに遅延読み込みを適用するには、次のコマンドを使用します: + + +``` +tiddlywiki --listen root-tiddler=$:/core/save/lazy-all +``` diff --git a/editions/ja-JP/tiddlers/features/Modals.tid b/editions/ja-JP/tiddlers/features/Modals.tid new file mode 100644 index 000000000..694639eeb --- /dev/null +++ b/editions/ja-JP/tiddlers/features/Modals.tid @@ -0,0 +1,26 @@ +created: 20160107225427489 +modified: 20241215105515572 +original-modified: 20211221102625141 +tags: Features +title: Modals +ja-title: モーダル +type: text/vnd.tiddlywiki + +モーダル(または"ウィザード")は、メインのTiddlyWikiウィンドウをフェードアウトして、ユーザーが明示的に閉じる必要がある独立したTiddlerを表示します。 + +表示されるTiddlerには、モーダルをカスタマイズするために使用される次のオプションフィールドを含めることができます: + +|!フィールド |!説明 | +|footer|モーダルのフッターテキスト| +|subtitle|`h3`HTMLタグ内に表示されるモーダルのサブタイトルテキスト| +|class|モーダルラッパーに適用する追加クラス| +|help|フッターの左側に"Help"というテキストとともに表示されるオプションの外部リンク| +|mask-closable|''yes''または''true''に設定すると、マスク(モーダルの外側の領域)がクリックされたときにモーダルダイアログが閉じます| + +フッターとサブタイトルのフィールドはプレーンテキストに限定されず、ウィジェットやトランスクルージョンなどのWikiテキスト機能も使用できることに注意してください。 + +モーダルは[[WidgetMessage: tm-modal]]で表示されます。 + +<$button message="tm-modal" param="SampleWizard">デモモーダルを開く + +<<.tip """<$macrocall $name=".from-version" version="5.2.4"/> "mask-closable"フィールドが使用できるようになりました""">> diff --git a/editions/ja-JP/tiddlers/features/Notifications.tid b/editions/ja-JP/tiddlers/features/Notifications.tid new file mode 100644 index 000000000..70f246deb --- /dev/null +++ b/editions/ja-JP/tiddlers/features/Notifications.tid @@ -0,0 +1,11 @@ +created: 20160107225753340 +modified: 20241215112240963 +original-modified: 20160107225855353 +tags: Features +title: Notifications +ja-title: 通知 +type: text/vnd.tiddlywiki + +通知は、 TiddlyWikiウィンドウの右上に表示される小さな情報メッセージで、事前に設定された時間が経過すると自動的に消えます。 + +<$button message="tm-notify" param="SampleNotification">通知のサンプルを表示 \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/features/Performance Instrumentation.tid b/editions/ja-JP/tiddlers/features/Performance Instrumentation.tid new file mode 100644 index 000000000..f29fbc846 --- /dev/null +++ b/editions/ja-JP/tiddlers/features/Performance Instrumentation.tid @@ -0,0 +1,38 @@ +created: 20190316163428191 +modified: 20241216105842099 +original-modified: 20190510133455372 +tags: Features +title: Performance Instrumentation +ja-title: パフォーマンス統計情報 +type: text/vnd.tiddlywiki + +コアには、更新サイクル用のパフォーマンス統計情報が組み込まれています。コントロールパネルの“設定”タブの“パフォーマンス統計情報”を参照してください。有効化には、Wikiを再読み込みする必要があります。 + +パフォーマンス統計情報をオンにすると、更新サイクルがトリガーされるたびに、ブラウザのデベロッパーコンソールにタイミング情報が追記されます。例: + +``` +performance: mainRender: 327.83ms +performance: styleRefresh: 9.14ms +performance: mainRefresh: 68.10ms +``` + +上記の情報は次のように解釈できます: + +* mainRenderはページテンプレートの初期表示にかかる時間です +* styleRefreshはページのスタイルシートをリフレッシュするのにかかる時間です +* mainRefreshはメインページテンプレートをリフレッシュするのにかかる時間です + +たとえば、サイドバーのタブを切り替えて、レンダリングにかかる​​時間を比較してみましょう。 + +フィルター実行タイミングに関する詳細な情報も利用できます。パフォーマンス統計情報を有効にして、ブラウザーのデベロッパーコンソールに次のJavaScriptコマンドを入力します: + +``` +$tw.perf.log() +``` + +次の情報を含むテーブルが表示されます: + +* ''name'' - 文字列"Filter: "とフィルターのテキスト +* ''invocations'' - 起動からのフィルターの呼び出し回数 +* ''totalTime'' - 起動からのこのフィルターの評価に費やされた合計時間(ミリ秒) +* ''percentTime'' - すべてのフィルターの実行時間合計に対するこのフィルターの実行時間の割合 diff --git a/editions/ja-JP/tiddlers/features/SafeMode.tid b/editions/ja-JP/tiddlers/features/SafeMode.tid new file mode 100644 index 000000000..e787d37e8 --- /dev/null +++ b/editions/ja-JP/tiddlers/features/SafeMode.tid @@ -0,0 +1,30 @@ +created: 20140419082845576 +modified: 20241217111550799 +original-modified: 20190912093109517 +tags: Features +title: SafeMode +ja-title: セーフモード +type: text/vnd.tiddlywiki + +! 紹介 + +セーフモードでは、TiddlyWikiのほとんどのカスタマイズを無効にすることができます。TiddlyWikiが誤ってカスタマイズされると動作しなくなる可能性があるため、この機能は便利です。特に問題となるのは、TiddlyWikiの新しいコアバージョン(特にベータ版)にアップグレードすると、一部のカスタマイズが壊れてしまうことです。 + +<<.warning "セーフモードは、TiddlyWikiの単一ファイル構成でのみ使用し、自動保存を行わないセーバーでのみ使用してください。クライアントサーバー構成でセーフモードを使用すると、データが失われる可能性があります。">> + +! セーフモードの有効化 + +ブラウザでセーフモードを有効にするには、URLハッシュに文字列`#:safe`に設定してTiddlyWikiを起動します。例: + +https://tiddlywiki.com/#:safe + +! セーフモードの仕組み + +セーフモードでは、次の2つの変更が行われます: + +* すべてのプラグインは一時的に無効になっています。[[コントロールパネル|$:/ControlPanel]] <<.icon $:/core/images/options-button>>を使用して個々のプラグインを無効にすることができます。 +* 隠しTiddlerをオーバーライドするTiddlerは、プレフィックス`SAFE: `を付けた名前に変更され、元の隠しTiddlerが復元されます +* 特定の構成オプションは無視され、代わりにデフォルト設定が使用されます: +** WikiParserRuleConfiguration + +名前が変更されたTiddlerを検査できるレポートTiddlerが表示されます。 diff --git a/editions/ja-JP/tiddlers/features/Scalability.tid b/editions/ja-JP/tiddlers/features/Scalability.tid new file mode 100644 index 000000000..79cbbd552 --- /dev/null +++ b/editions/ja-JP/tiddlers/features/Scalability.tid @@ -0,0 +1,11 @@ +created: 20130822173400000 +modified: 20241218111837188 +original-modified: 20211124215615812 +tags: Features +title: Scalability +ja-title: スケーラビリティ +type: text/vnd.tiddlywiki + +TiddlyWikiの[[シングルページアプリケーション|SinglePageApplication]]としてのアーキテクチャは、大量のデータには適さないと思われるかもしれません。実際、TiddlyWikiユーザーは、数十あるいは100メガバイトを超えるファイルでも問題なく処理しています。また、ギガバイト単位のファイルでも実験に成功しています。 + +大規模なWikiの[[パフォーマンスに関するティップス|Performance]]を参照してください。 \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/features/Searching in TiddlyWiki.tid b/editions/ja-JP/tiddlers/features/Searching in TiddlyWiki.tid new file mode 100644 index 000000000..abd1e0026 --- /dev/null +++ b/editions/ja-JP/tiddlers/features/Searching in TiddlyWiki.tid @@ -0,0 +1,24 @@ +created: 20140210160125905 +modified: 20241031115307429 +original-modified: 20160607163012344 +tags: Features [[Working with TiddlyWiki]] +title: Searching in TiddlyWiki +ja-title: TiddlyWikiでの検索 +type: text/vnd.tiddlywiki + +~TiddlyWikiの検索は、高速かつ柔軟です + +! 標準の検索 + +サイドバーの検索ボックスにテキストを入力すると、そのテキストを含むすべてのTiddlerのリストが表示されます。 + +://(検索ボックスの右側にある'x'をクリックして検索結果を削除するまで、サイドバーのタブは検索結果によって非表示になることに注意してください)// + +! 高度な検索 + +検索ボックスの右側にある虫眼鏡アイコン<<.icon $:/core/images/advanced-search-button>>をクリックすると、[[$:/AdvancedSearch]]が開きます。このTiddlerには4つのタブが含まれています: + +* ''一般''タブには、サイドバーにある検索ボックスの別のインスタンスが含まれています +* ''システム''タブを使用すると、検索をシステムTiddlerに限定できます +* ''隠し'' タブを使用すると、検索を隠しTiddlerに限定できます +* ''フィルタ''タブは、それ自体は検索ボックスではありませんが、その[[フィルタ|Filters]]で記述された特定の条件(例えば、"システムタグを除くすべてのタグ")を満たすすべてのTiddlerのリストを取得する方法です \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/features/StartupActions.tid b/editions/ja-JP/tiddlers/features/StartupActions.tid new file mode 100644 index 000000000..01152887a --- /dev/null +++ b/editions/ja-JP/tiddlers/features/StartupActions.tid @@ -0,0 +1,46 @@ +created: 20180323092308399 +modified: 20241218112530254 +original-modified: 20201025161723719 +tags: Features +title: StartupActions +ja-title: スタートアップアクション +type: text/vnd.tiddlywiki + +TiddlyWikiはスタートアップ時に、次のシステムタグを持つTiddlerのActionWidgetsを実行します: + +* 初期スタートアップ時に実行されます: +** <> (すべてのプラットフォームで実行) +** <> (ブラウザで実行している場合にのみ実) +** <> (Node.jsで実行している場合にのみ実行) +* レンダリング後のスタートアップ時に実行されます: +** <<.from-version "5.1.23">> <> (ブラウザで実行している場合にのみ実行) + +!! 初期スタートアップアクション + +初期スタートアップアクションは、画面サイズなどの環境要因に応じてTiddlyWikiをカスタマイズするのに役立ちます。たとえば、次のアクションウィジェットをTiddlerタグ`$:/tags/StartupAction/Browser`を付けて配置すると、画面幅が1000ピクセル未満の場合にサイドバーがデフォルトで非表示になります: + +``` +<$reveal type="lt" state="$:/info/browser/screen/width" text="3000"> +<$action-setfield $tiddler="$:/state/sidebar" $value="no"/> + + +<$reveal type="gteq" state="$:/info/browser/screen/width" text="3000"> +<$action-setfield $tiddler="$:/state/sidebar" $value="yes"/> + +``` + +<<.from-version "5.1.20">> 次の例では、ブラウザによって報告された言語に一致する言語プラグインに切り替えます: + +``` +<$action-setfield $tiddler="$:/language" text={{{ [[$:/languages/en-GB]] [plugin-type[language]sort[description]removeprefix[$:/languages/]] +[prefix{$:/info/browser/language}] ~[[en-GB]] +[addprefix[$:/languages/]] }}}/> +``` + +デフォルトでは、グローバルマクロは初期スタートアップアクションTiddler内では利用できないことに注意してください。これらにアクセスする必要がある場合は、Tiddlerの先頭に[[Pragma: \import]]を明示的に含める必要があります: + +``` +\import [subfilter{$:/core/config/GlobalImportFilter}] +``` + +!! レンダリング後のスタートアップアクション + +<<.from-version "5.1.23">> レンダリング後のスタートアップアクションは、TiddlyWikiのユーザーインターフェイスがレンダリングされた後に実行されます。これにより、レンダリングされた表示に依存するアクション(モーダルの表示など)を実行できるようになります。 diff --git a/editions/ja-JP/tiddlers/filters/Introduction to filter notation.tid b/editions/ja-JP/tiddlers/filters/Introduction to filter notation.tid new file mode 100644 index 000000000..307d846c2 --- /dev/null +++ b/editions/ja-JP/tiddlers/filters/Introduction to filter notation.tid @@ -0,0 +1,97 @@ +created: 20140410101941871 +modified: 20241016110639693 +original-modified: 20201103111438568 +tags: Learning Filters +title: Introduction to filter notation +ja-title: フィルタ表記の紹介 +type: text/vnd.tiddlywiki + +<<.preamble """ここでは、Tiddlerのセットを選択する[[フィルタ|Filters]]の書き方の基本を説明しています。より技術的なプレゼンテーションについては、[[フィルタのシンタックス|Filter Syntax]]を参照してください""">> + +<$macrocall $name=".tip" _="""フィルタを単独でTiddlerに入力するだけでは、フィルタは何も行いません。コンテキストが必要です。フィルタを試す簡単な方法は、[[詳細検索|$:/AdvancedSearch]]の<<.advancedsearch-tab Filter>>タブにフィルタを入力することです"""/> + +最も単純なケースは、どのTiddlerが必要かすでに正確にわかっている場合です。各タイトルを二重角括弧で囲み、各タイトルと次のタイトルの間にスペースを入れて入力します: + +> `[[Recipe book]] [[ScrambledEggs]] [[Mom's apple pie]]` + +タイトルにスペースが含まれていない場合は、角括弧を省略できます: + +> `[[Recipe book]] ScrambledEggs [[Mom's apple pie]]` + +二重角括弧は実際には次の表記の短縮形です: + +> `[title[ScrambledEggs]]` + +... 任意のフィルタの<<.def "一般的なモデル">>は次のようになります: + +> `[operator[parameter]]` + +例えば、<<.tag Recipe>>でタグ付けされたすべてのTiddlerを選択する方法は次のとおりです: + +> `[tag[Recipe]]` + +演算子の直前に感嘆符`!`を追加すると、意味を逆にすることができます。例えば、<<.tag Recipe>>タグのない任意のTiddlerを選択できます: + +> `[!tag[Recipe]]` + +Tiddlerは、タイトルとタグ以外の他のフィールドでもフィルタリングできます: + +> `[field:serving[4]]` + +この例では、<<.field serving>>フィールドに、<<.value 4>>を持つすべてのTiddlerを選択します: + +"serving"という単語は標準のフィルタ演算子ではない(また、標準のフィルタ演算子になる可能性も低い)ため、`field:`接頭辞を省略しても安全です: + +> `[serving[4]]` + +!組み合わせ + +これまで見てきたフィルタには、それぞれ1つのステップしか含まれていません。でも、次のように複数のステップを一緒に<<.def ラン>>できます: + +> `[tag[Vegetarian]!tag[soup]serving[4]]` + +1組の角括弧内にラン全体がどのように含まれているかに注目してください + +Tiddlerはランの中で<<.em すべて>>のステップを一致させなければなりません。したがって、上の例では、4人分のベジタリアンレシピ(スープ以外)を取得します + +一連の個別のランにより、<<.em いずれか>>のランに一致するTiddlerが選択されます。これを使用して、3人分、または、4人分、5人分のレシピを見つけることができます: + +> `[serving[3]] [serving[4]] [serving[5]]` + +4人分のベジタリアンレシピを無視したい場合は、次のように言えます: + +> `[serving[3]] [serving[4]!tag[Vegetarian]] [serving[5]]` + +デフォルトでは、各ランではWiki内のすべてのTiddlerが考慮されます。ただし、`+`記号を使用して、前の実行で選択されたTiddlerのみを考慮するようにランを強制することができます: + +> `[serving[3]] [serving[4]] [serving[5]] +[tag[Vegetarian]] +[sort[title]]` + +これにより、3人分、または、4人分、5人分のレシピが選択され、次に<<.em それら>>がフィルタリングされてベジタリアンレシピのみが残り、最後に残ったレシピがタイトルのアルファベット順に並べ替えられます + +同様の方法で、`-`符号を使用して、これまでの結果からランのTiddlerを<<.em 除外>>できます。次の表記では、2つを除くすべてのベジタリアンレシピを選択します: + +> `[tag[Vegetarian]] -[title[ScrambledEggs]] -BeansOnToast` + +!スペシャルパラメータ + +これまで見てきた各ステップのパラメータは角括弧内にあります。これは、~TiddlyWikiが括弧内にある正確な文字列をフィルターすることを意味します。でも、他に2種類の括弧も使用できます: + +<<.def "中括弧">>`{}`はパラメータはTextReferenceであり、別のTiddlerのコンテンツに置き換えられることを意味します。例えば、タイトルが<<.tid Preference>>であり、その内容が1つの単語<<.value Vegetarian>>であるTiddlerの場合、次のように言えます: + +> `[tag{Preference}]` + +この単純な形式では、TextReferenceはTiddlerの完全な内容(技術用語では、Tiddlerのテキストフィールド)を取得し、TextReferenceの代わりにそれを置き換えます。こうすることで、`[tag[Vegetarian]]`を記述した場合と同様に、Tiddlerの内容がフィルタパラメータになります。違いは、Preference Tiddlerの内容を変更することで、パラメータを変更する柔軟性が高まります + +<<.def "山括弧">>`<>`は、パラメータが[[変数|Variables]]の名前であり、その値が代わりに使用されることを意味します。現在のタイトルをテキストに含むTiddlerを選択するフィルターとして、<<.vlink currentTiddler>>組込み変数を使用します: + +山括弧は、パラメータが[[変数|Variables]]の名前であり、その値が代わりに使用されることを意味します。ここでは、テキストに現在のタイトルが含まれるTiddlerを選択するフィルタで、組込み変数<<.vlink currentTiddler>>を使用します: + +> `[search]` + +これらの特殊な括弧はネストできないことに注意してください。例えば、`[search{}]`と書くことはできません + +!複数のパラメータ + +<<.from-version "5.1.23">>一部のステップは、` , `文字で区切られた複数のパラメータを受け入れます + +> Example: `[param1],[param2]` or `,{param2}` \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/gettingstarted/GettingStarted - Android.tid b/editions/ja-JP/tiddlers/gettingstarted/GettingStarted - Android.tid new file mode 100644 index 000000000..4d56c3f2a --- /dev/null +++ b/editions/ja-JP/tiddlers/gettingstarted/GettingStarted - Android.tid @@ -0,0 +1,22 @@ +caption: Android +created: 20140811171036268 +modified: 20241029105115486 +original-modified: 20211114031651878 +tags: GettingStarted +title: GettingStarted - Android +ja-title: はじめに - Android +type: text/vnd.tiddlywiki + +AndroidでTiddlyWikiを使用するには、次の3つのオプションがあります: + +! FirefoxとTiddlyFoxの使用 + +{{Saving with TiddlyFox on Android}} + +! AndTidWikiアプリの使用 + +{{Saving on Android}} + +! TermuxでNode.jsを使用 + +{{Serving TW5 from Android}} diff --git a/editions/ja-JP/tiddlers/gettingstarted/GettingStarted - Chrome.tid b/editions/ja-JP/tiddlers/gettingstarted/GettingStarted - Chrome.tid new file mode 100644 index 000000000..94fbd18e8 --- /dev/null +++ b/editions/ja-JP/tiddlers/gettingstarted/GettingStarted - Chrome.tid @@ -0,0 +1,12 @@ +caption: Chrome +created: 20140811165935523 +modified: 20241029105419969 +original-modified: 20211114031651878 +tags: GettingStarted +title: GettingStarted - Chrome +ja-title: はじめに - Chrome +type: text/vnd.tiddlywiki + +Google ChromeでTiddlyWikiを使用して変更を保存するには、HTML5互換のセーバーモジュールを使用します。 + +{{Saving with the HTML5 saver}} diff --git a/editions/ja-JP/tiddlers/gettingstarted/GettingStarted - Firefox.tid b/editions/ja-JP/tiddlers/gettingstarted/GettingStarted - Firefox.tid new file mode 100644 index 000000000..8c84d0705 --- /dev/null +++ b/editions/ja-JP/tiddlers/gettingstarted/GettingStarted - Firefox.tid @@ -0,0 +1,13 @@ +caption: Firefox +created: 20140811170425199 +modified: 20241029105710984 +original-modified: 20230803213024843 +tags: GettingStarted +title: GettingStarted - Firefox +ja-title: はじめに - Firefox +type: text/vnd.tiddlywiki + +Firefoxでは、次のブラウザ拡張機能を使用することで、TiddlyWikiは最高なユーザーエクスペリエンスが得られます: +<> + +{{Saving with FireFox}} diff --git a/editions/ja-JP/tiddlers/gettingstarted/GettingStarted - Internet Explorer.tid b/editions/ja-JP/tiddlers/gettingstarted/GettingStarted - Internet Explorer.tid new file mode 100644 index 000000000..a125329d4 --- /dev/null +++ b/editions/ja-JP/tiddlers/gettingstarted/GettingStarted - Internet Explorer.tid @@ -0,0 +1,13 @@ +caption: Internet Explorer +created: 20140811172058274 +modified: 20241029105938082 +original-modified: 20211114031651879 +tags: GettingStarted +title: GettingStarted - Internet Explorer +ja-title: はじめに - Internet Explorer +type: text/vnd.tiddlywiki + +{{Saving with TiddlyIE}} + +The [[Windows HTA Hack]] describes an alternative method of using TiddlyWiki with Internet Explorer. +[[Windows HTAのハック|Windows HTA Hack]]では、Internet ExplorerでTiddlyWikiを使用する別の方法について説明します。 \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/gettingstarted/GettingStarted - Node.js.tid b/editions/ja-JP/tiddlers/gettingstarted/GettingStarted - Node.js.tid new file mode 100644 index 000000000..8800ab99a --- /dev/null +++ b/editions/ja-JP/tiddlers/gettingstarted/GettingStarted - Node.js.tid @@ -0,0 +1,10 @@ +caption: Node.js +created: 20140811172010003 +modified: 20241029110216217 +original-modified: 20211114031651879 +tags: GettingStarted +title: GettingStarted - Node.js +ja-title: はじめに - Node.js +type: text/vnd.tiddlywiki + +{{Installing TiddlyWiki on Node.js}} diff --git a/editions/ja-JP/tiddlers/gettingstarted/GettingStarted - Online.tid b/editions/ja-JP/tiddlers/gettingstarted/GettingStarted - Online.tid new file mode 100644 index 000000000..fc414125d --- /dev/null +++ b/editions/ja-JP/tiddlers/gettingstarted/GettingStarted - Online.tid @@ -0,0 +1,15 @@ +caption: Online +created: 20160216191710789 +modified: 20241029110255689 +original-modified: 20211114031651879 +tags: GettingStarted +title: GettingStarted - Online +ja-title: はじめに - オンライン +type: text/vnd.tiddlywiki + +TiddlyWikiは、DropboxやCloudantなどのオンラインサービスでもホストできます。 + +;Dropbox (HTML ファイル全体を同期) +:Dropboxに保存されているファイルを編集するには、 http://tiny.cc/tw5inthesky/ にアクセスしてください。これにより、見つかったHTMLファイルを開くことができます。 +;Cloudant (または、別のCouchDBタイプのサーバー) (個々のTiddlerを同期) +:http://noteself.github.io/ \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/gettingstarted/GettingStarted - Safari.tid b/editions/ja-JP/tiddlers/gettingstarted/GettingStarted - Safari.tid new file mode 100644 index 000000000..3300d00fa --- /dev/null +++ b/editions/ja-JP/tiddlers/gettingstarted/GettingStarted - Safari.tid @@ -0,0 +1,13 @@ +caption: Safari +created: 20140811171121022 +modified: 20241029110726936 +original-modified: 20211114031651879 +tags: GettingStarted +title: GettingStarted - Safari +ja-title: はじめに - Safari +type: text/vnd.tiddlywiki + +Safari上のTiddlyWikiでは、手動のHTML5互換フォールバックセーバーモジュールを使用してのみ変更を保存できます。 + +{{Saving on Safari}} + diff --git a/editions/ja-JP/tiddlers/gettingstarted/GettingStarted - iOS.tid b/editions/ja-JP/tiddlers/gettingstarted/GettingStarted - iOS.tid new file mode 100644 index 000000000..354d0c203 --- /dev/null +++ b/editions/ja-JP/tiddlers/gettingstarted/GettingStarted - iOS.tid @@ -0,0 +1,10 @@ +caption: iPad/iPhone +created: 20140811170918707 +modified: 20241029110132521 +original-modified: 20211114031651879 +tags: GettingStarted +title: GettingStarted - iOS +ja-title: はじめに - iOS +type: text/vnd.tiddlywiki + +{{Saving on iPad/iPhone}} diff --git a/editions/ja-JP/tiddlers/hellothere/A Gentle Guide to TiddlyWiki.tid b/editions/ja-JP/tiddlers/hellothere/A Gentle Guide to TiddlyWiki.tid new file mode 100644 index 000000000..cafcabc63 --- /dev/null +++ b/editions/ja-JP/tiddlers/hellothere/A Gentle Guide to TiddlyWiki.tid @@ -0,0 +1,24 @@ +created: 20150325170720682 +modified: 20241129110246653 +original-modified: 20210519110623819 +tags: HelloThere +title: A Gentle Guide to TiddlyWiki +ja-title: TiddlyWikiの優しいガイド +type: text/vnd.tiddlywiki + +TiddlyWikiは、他のソフトウェアとは異なる方法で考案され構築された、信じられないほど柔軟で多用途なツールです。そのため、クリックし、脳のシームレスな拡張になる瞬間まで、理解するのが困難です + +基礎から始めると、TiddlyWikiは、無料でダウンロードでき、好きな場所に保存し、好きなようにカスタマイズできる、Webアプリケーションノートです。これを使用すると、ワープロや他のノートツールとは異なる方法で、メモを取り、整理し、共有できます + +~TiddlyWikiは非線形になるように設計されており、ストーリー、タグ、ハイパーリンク、その他の機能を使用してコンテンツを構造化します。組織であらかじめ設定された一つの構造に縛られることなく、個人の思考パターンに応じた方法でノートを整理したり取得したりできます + +~TiddlyWikiは、オンラインでもオフラインでも、任意のWebブラウザで表示、編集できる単一のファイルとして使用できます。または、各ノートを個別のファイルとして保存する強力な[[Node.jsアプリケーション|TiddlyWiki on Node.js]]として使用することもできます + +~TiddlyWikiをどのように機能させることができるでしょうか? 以下にリストされている入門ドキュメントから始めて、サイドバーの目次タブにある[[目次|TableOfContents]]をブラウズすることをお勧めします。または、[[簡単なインストラクションに従って|GettingStarted]]、自分で試してみてください + +<> + +以下も参照してください: + +* [[Soren Bjornstadの"Grok TiddlyWiki"|"Grok TiddlyWiki" by Soren Bjornstad]] +* [[Francis MeetzeのTiddlyWiki動画チュートリアル|TiddlyWiki Video Tutorials by Francis Meetze]] \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/hellothere/Discover TiddlyWiki.tid b/editions/ja-JP/tiddlers/hellothere/Discover TiddlyWiki.tid new file mode 100644 index 000000000..47ff4c28f --- /dev/null +++ b/editions/ja-JP/tiddlers/hellothere/Discover TiddlyWiki.tid @@ -0,0 +1,38 @@ +created: 20140904121000000 +modified: 20241129110927004 +original-modified: 20151023165341339 +tags: HelloThere +title: Discover TiddlyWiki +ja-title: TiddlyWikiを知る +type: text/vnd.tiddlywiki + +~TiddlyWikiは//他に//類を見ないものです。TiddlyWikiは: + +:: ツールです, +:: ツールボックスです, +:: コミュニティです, +:: 哲学です + +! ~TiddlyWikiはツールです + +''~TiddlyWikiは何よりもまずツールです:''Webから、ドキュメントから、または、頭脳からコンテンツをキャプチャして整理するための無料でダウンロード可能なツールです。メモ取り、ブックマーク、ピン止め、書き込み、To-Doリストとプロジェクトの管理、共同作業、ブログ作成、公開を行うためのツールです + +~TiddlyWikiでは、Tiddlerと呼ばれるノートにコンテンツを作成、または貼り付け、ハイパーリンクとタグでTiddlerを接続します。その後、タグによる表示、サイドバータブ、~TiddlyWikiの超高速検索ウィンドウなどの機能を使用して、メモをすばやく取得できます。ビルディングブロックを使用するのと同様に、あるTiddlerのコンテンツを別のTiddlerのコンテンツに動的に組み込んで、記事、リスト、プレゼンテーションなどを作成することもできます + +! ~TiddlyWikiはツールボックスです + +多用途のツールであるだけでなく、''~TiddlyWikiはツールボックスでもあります'' + +他のメモ作成製品では、基本的なプログラムを使用してみると、本当に便利な機能に対しては料金を請求するのに対し、~TiddlyWiki には、完全に無料のビジュアルテーマ、カラーパレット、プラグイン、ウィジェット、マクロの拡大し続けるコレクションがあり、これらを組み合わせて、~TiddlyWikiを調整して、希望通りにできます + +! ~TiddlyWikiはコミュニティでもあります + +私たちはユーザーと開発者の[[コ​​ミュニティ|Community]]であり、お互いに新しい考え方や組織化の方法を想像し、新しいソリューションを作成するのを助け、~TiddlyWikiがユーザーのニーズによりよく応えるために継続的に適応していきます。~TiddlyWikiユーザーと開発者は、~TiddlyWiki Googleグループで質問やアドバイスを共有します。また、~TiddlyWikiのエクスペリエンスを向上させるためのチュートリアル、適応方法、プラグインも作成します。詳細については、[[目次|TableOfContents]] の''コミュニティ''セクションを参照してください。 + +! 最後に、~TiddlyWikiは哲学です + +メモを取って整理する(または、あらゆる種類のコンテンツを記録する)目的は、後でそれを利用できるようにすることです。メモ作成システムでメモが見つからない場合、メモを取ることは膨大な時間の無駄になります + +[[TiddlyWikiの哲学|Philosophy of Tiddlers]]では、メモを取る最良の方法は、メモを可能な限り最小の意味単位Tiddlerに分割することである、というものです。Tiddlerは、画像、Webページのリンク、コンセプト、用語の定義、またはマクロなどの特殊なカスタマイズである可能性があります + +これらのTiddlerを組み合わせて、ストーリー、記事、リスト、画像ギャラリーなどのより長い単位を作成できます。タグ付け、ハイパーリンク、フィルターなどの~TiddlyWikiの機能は、さまざまな方法でTiddlerを関連付けて接続できるように特別に設計されており、将来のメモ検索を容易にし、さらにTiddler間の予期せぬ関係やそこに含まれる情報を確認するのにも役立ちます \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/hellothere/Some of the things you can do with TiddlyWiki.tid b/editions/ja-JP/tiddlers/hellothere/Some of the things you can do with TiddlyWiki.tid new file mode 100644 index 000000000..32f5573a0 --- /dev/null +++ b/editions/ja-JP/tiddlers/hellothere/Some of the things you can do with TiddlyWiki.tid @@ -0,0 +1,22 @@ +created: 20140904090300000 +modified: 20241129111454910 +original-modified: 20211018102355896 +tags: HelloThere +title: Some of the things you can do with TiddlyWiki +ja-title: TiddlyWikiでできること +type: text/vnd.tiddlywiki + +* メモを取り、タグとハイパーリンクを使用してメモ間を結びつけます +* タブ、表、タグベースのリスト、目次を使用して整理します +* お気に入りのWebサイトをブックマークします(http://giffmex.org/experiments/tidmarks.html の例を参照) +* タスクと予定を追跡し、複数のタグで整理します([[タスク管理の例|TaskManagementExample]]を参照) +* レシピ、個人ライブラリ、連絡先、音楽コレクションなど、あらゆるものを蓄積します +* ブログやウェブサイトを作成します +* 本を書きます +* 画像をギャラリーに整理します([[アイコンギャラリー|Icon Gallery]]を参照) +* ~TiddlyWiki内の情報をオンラインファイル、添付ファイル、Tiddlerファイル、または特定のオンラインTiddlerへのリンクとして他のユーザーと共有します(~TiddlyWikiファイルのTiddlerを別の~TiddlyWikiファイルにクリック&ドラッグして、何が起こるかを確認してください) +* スケッチを描きます([[Motovun Jack.jpg]] を編集し、画像の上に描画を開始して、何が起こるかを確認してください) +* Lightboxなどの使い慣れたWebユーザーインターフェイス要素を使用します - [[サンプルウィザード|SampleWizard]]を参照してください +* スライドショープレゼンテーションを作成します +* 他の~TiddlyWikiファイルにリンクする中央の~TiddlyWikiファイルを使用して、ローカルやオンラインのナレッジベースをセットアップします(http://recursos.giffmex.org はスペイン語のオンライン例です) +* Tiddlerをデータとして使用してデータビジュアリゼーションをセットアップします(https://tiddlywiki.com/plugins/tiddlywiki/d3/ でビジュアリゼーションを参照してください) \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/hellothere/Ten reasons to switch to TiddlyWiki.tid b/editions/ja-JP/tiddlers/hellothere/Ten reasons to switch to TiddlyWiki.tid new file mode 100644 index 000000000..ae0a64f36 --- /dev/null +++ b/editions/ja-JP/tiddlers/hellothere/Ten reasons to switch to TiddlyWiki.tid @@ -0,0 +1,20 @@ +created: 20140904085700000 +modified: 20241129111947741 +original-modified: 20150414071655191 +tags: HelloThere +title: Ten reasons to switch to TiddlyWiki +ja-title: TiddlyWikiに乗り替える10の理由 +type: text/vnd.tiddlywiki + +@@.tc-double-spaced-list +# ~TiddlyWikiを使えば、他の人のやり方ではなく、自分のやり方でメモを整理できます。あなたのノートは、ノートブックとタブという階層的な束縛に強制されるのではなく、あなたの考え方に準じます +# ~TiddlyWikiの非線形アプローチは、実際に、新しい有益な方法で情報について考えさせられます +# ~TiddlyWikiでメモを見つけるのは超高速です +# ~TiddlyWikiのあらゆる面をカスタマイズして適応させる方法がたくさんあります +# ~TiddlyWikiは無料で、すべてのプラットフォームと互換性があります。どのWebブラウザでも開きます。使用するために高価なプログラムを購入したり、サブスクリプション料金を支払う必要はありません +# ~TiddlyWikiファイルは、情報の自由な共有を促進します。~TiddlyWikiから情報を共有するにはさまざまな方法があります +# ~TiddlyWikiを使用すると、あなたの情報はあなたのものになり、デバイス、USBメモリ、Dropbox、サーバーなど、好きな場所に保存できます +# ~TiddlyWikiには、たくさんのプラグイン、テーマ、ウィジェット、言語が含まれ、増え続けています +# オンライン~TiddlyWikiコミュニティはフレンドリーで、必要なサポートを提供できるよう最善を尽くします +# あなたがプログラマであれば、~TiddlyWikiを使って遊ぶ方法はさらにたくさんあります。~TiddlyWikiを知れば知るほど楽しくなります +@@ \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/hellothere/What happened to the original TiddlyWiki_.tid b/editions/ja-JP/tiddlers/hellothere/What happened to the original TiddlyWiki_.tid new file mode 100644 index 000000000..a1fec7cc2 --- /dev/null +++ b/editions/ja-JP/tiddlers/hellothere/What happened to the original TiddlyWiki_.tid @@ -0,0 +1,17 @@ +title: What happened to the original TiddlyWiki? +ja-title: オリジナルのTiddlyWikiはどうなったか? +tags: HelloThere +created: 201409040851 +modified: 20241129112304613 +original-modified: 201409040851 + +[img width="200" [TiddlyWiki Classic.png]] + + +TiddlyWikiのオリジナルの[[クラシック|TiddlyWikiClassic]]バージョンは、現在も以下の場所から入手できます: + +https://classic.tiddlywiki.com. + +TiddlyWikiの[[現バージョン|TiddlyWiki5]]はTiddlyWikiClassicとの完全な下位互換性がないことに注意してください。コンテンツはインポートできますが、新しいWikiテキスト形式に適応させるためにマッサージが必要になります。TiddlyWikiClassic用に作成されたほとんどのコンテンツを忠実に表示できるようにする''tw2parser''プラグインが開発中です: + +https://tiddlywiki.com/plugins/tiddlywiki/tw2parser/ \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/hellothere/thumbnails/HelloThumbnail - Grok TiddlyWiki.tid b/editions/ja-JP/tiddlers/hellothere/thumbnails/HelloThumbnail - Grok TiddlyWiki.tid index 1e89a6dd5..cfdc00d5b 100644 --- a/editions/ja-JP/tiddlers/hellothere/thumbnails/HelloThumbnail - Grok TiddlyWiki.tid +++ b/editions/ja-JP/tiddlers/hellothere/thumbnails/HelloThumbnail - Grok TiddlyWiki.tid @@ -3,7 +3,8 @@ ja-title: HelloThumbnail - Grok TiddlyWiki tags: HelloThumbnail color: #D5B7EA image: Grok TiddlyWiki Banner -caption: Grok ~TiddlyWiki +caption: Grok ~TiddlyWiki 2.0 link: "Grok TiddlyWiki" by Soren Bjornstad +ribbon-text: NEW 2.0 -~TiddlyWikiを最大限に活用するために知っておくべきこと \ No newline at end of file +~TiddlyWikiの総合的なインタラクティブガイド。基礎から高度な概念までを網羅し、学習に役立つ演習やヒントも掲載しています \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/hellothere/thumbnails/HelloThumbnail - MultiWikiServer.tid b/editions/ja-JP/tiddlers/hellothere/thumbnails/HelloThumbnail - MultiWikiServer.tid new file mode 100644 index 000000000..fef2a89a9 --- /dev/null +++ b/editions/ja-JP/tiddlers/hellothere/thumbnails/HelloThumbnail - MultiWikiServer.tid @@ -0,0 +1,11 @@ +title: HelloThumbnail - MultiWikiServer +ja-title: HelloThumbnail - MultiWikiServer +tags: HelloThumbnail +color: purple +background-color: #fff +caption: ~MultiWikiServer +link: MultiWikiServer +image: MWS Banner.png +ribbon-text: SOON + +~TiddlyWikiを、複数のユーザアカウントとTiddlerの共有をサポートする本格的なサーバシステムにする新しい~MultiWikiServerプラグインについて詳細をご覧ください \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyWiki Privacy.tid b/editions/ja-JP/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyWiki Privacy.tid new file mode 100644 index 000000000..12f14626e --- /dev/null +++ b/editions/ja-JP/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyWiki Privacy.tid @@ -0,0 +1,9 @@ +title: HelloThumbnail - TiddlyWiki Privacy +tags: HelloThumbnail +color: #D5B7EA +image: TiddlyWiki Privacy Badge.png +caption: プライバシーとセキュリティ +link: TiddlyWiki Privacy and Security +ribbon-text: NEW + +注意すれば、~TiddlyWikiは完全にプライベートに使用でき、自分のデバイス以外のものや人を信頼する必要はありません \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/hiddensettings/Hidden Setting Content to be displayed for empty story.tid b/editions/ja-JP/tiddlers/hiddensettings/Hidden Setting Content to be displayed for empty story.tid new file mode 100644 index 000000000..255e7f814 --- /dev/null +++ b/editions/ja-JP/tiddlers/hiddensettings/Hidden Setting Content to be displayed for empty story.tid @@ -0,0 +1,14 @@ +created: 20240811052854726 +modified: 20241116102931084 +original-modified: 20240811053649554 +tags: [[Hidden Settings]] +title: Hidden Setting: Content to be displayed for empty story +ja-title: 隠し設定: 空のストーリーに表示されるコンテンツ + +ストーリーが空のときにコンテンツを表示するには、$:/config/EmptyStoryMessageを作成し、必要なコンテンツを入力します。 + +以下は、すべてのTiddlerが閉じられている場合に、GettingStarted Tiddlerを表示します。 + +``` +{{GettingStarted||$:/core/ui/ViewTemplate}} +``` \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/hiddensettings/Hidden Setting Default Story Ordering.tid b/editions/ja-JP/tiddlers/hiddensettings/Hidden Setting Default Story Ordering.tid new file mode 100644 index 000000000..bb80d767e --- /dev/null +++ b/editions/ja-JP/tiddlers/hiddensettings/Hidden Setting Default Story Ordering.tid @@ -0,0 +1,5 @@ +title: Hidden Setting: Retain Story ordering +ja-title: 隠し設定: 保存時の表示を維持 +tags: [[Hidden Settings]] + +Tiddler $:/config/ControlPanel/Basics/DefaultTiddlers/RetainStoryには、$:/ControlPanelの''情報'' -> ''基本''タブの"保存時の表示を維持"ボタンをクリックしたときに$:/DefaultTiddlersに割り当てられる値が含まれています。 \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/hiddensettings/Hidden Setting Default Tiddler Colour.tid b/editions/ja-JP/tiddlers/hiddensettings/Hidden Setting Default Tiddler Colour.tid new file mode 100644 index 000000000..ad4cc7e28 --- /dev/null +++ b/editions/ja-JP/tiddlers/hiddensettings/Hidden Setting Default Tiddler Colour.tid @@ -0,0 +1,9 @@ +created: 20240907042443909 +modified: 20241116104031988 +original-modified: 20240907042629405 +tags: [[Hidden Settings]] +title: Hidden Setting: Default Tiddler Colour +ja-title: 隠し設定: TIddlerのデフォルト色 +type: text/vnd.tiddlywiki + +デフォルトのTiddler色は、$:/config/DefaultTiddlerColourというTiddlerを作成し、CSSの色の値を含むことによって指定できます。 diff --git a/editions/ja-JP/tiddlers/hiddensettings/Hidden Setting EditTabIndex.tid b/editions/ja-JP/tiddlers/hiddensettings/Hidden Setting EditTabIndex.tid new file mode 100644 index 000000000..05e67eb46 --- /dev/null +++ b/editions/ja-JP/tiddlers/hiddensettings/Hidden Setting EditTabIndex.tid @@ -0,0 +1,10 @@ +title: Hidden Setting: Tab Index for Edit-Inputs +ja-title: 隠し設定: 編集入力のタブインデックス +tags: [[Hidden Settings]] +created: 20190702074846206 +modified: 20241126104700035 +original-modified: 20190702074846206 + +編集中のTiddlerの入力フィールドには、''タブインデックス''値(1が望ましい)を割り当てることができるので、Tabキーを使用して、フォーカスを1つの入力から次の入力へ、またはshift-Tabで後方へ直接移動することができます。 + +$:/config/EditTabIndex diff --git a/editions/ja-JP/tiddlers/hiddensettings/Hidden Setting HtmlParserDisableSandbox.tid b/editions/ja-JP/tiddlers/hiddensettings/Hidden Setting HtmlParserDisableSandbox.tid new file mode 100644 index 000000000..046cb05d3 --- /dev/null +++ b/editions/ja-JP/tiddlers/hiddensettings/Hidden Setting HtmlParserDisableSandbox.tid @@ -0,0 +1,16 @@ +created: 20210411100148461 +modified: 20241123115717620 +original-modified: 20210411100148461 +tags: [[Hidden Settings]] +title: Hidden Setting: HTML Parser Sandbox +ja-title: 隠し設定: HTMLパーサーのサンドボックス +type: text/vnd.tiddlywiki + +<<.from-version "5.2.0">> デフォルトでは、`text/html`タイプのTiddlerは、[[サンドボックス属性|https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-sandbox]]が空の文字列に設定されたiframe内に表示されます。これにより、すべてのセキュリティ制限が適用され、JavaScript、ダウンロード、外部ファイル参照などの多くの機能が無効になります。これは最も安全な設定です。 + +サンドボックスをグローバルに無効にするには、$:/config/HtmlParser/DisableSandbox Tiddlerを`yes`に設定します。これにより、iframe内のコードがTiddlyWikiの内部に完全にアクセスできるようになり、悪意のあるHTMLページがプライベートwikiからデータを盗み出す可能性があります。 + +サンドボックスを維持しながら適用される制限を制御するには、$:/config/HtmlParser/DisableSandboxが`yes`に設定されていないことを確認してから、$:/config/HtmlParser/SandboxTokensに[[MDNドキュメント|https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-sandbox]] +にあるトークンのリストを設定します。 + +これらはグローバル設定であることに注意してください。個々のTiddlerごとにサンドボックスを制御するには、カスタム` +\end +``` + +https://dev.twitter.com/docs/follow-button で公開されているバージョンからの唯一の変更点は、新しい行が削除されたことです + +src URLはプロトコル(つまり、"http"または"https")なしで指定されていることに注意してください。このようにして、サイトがHTTPドメインでホストされているかHTTPSドメインでホストされているかに関係なく機能するようにします。TiddlyWikiを"file://" URLでオフライン使用しているときにTwitterボタンを機能させたい場合は、プロトコルを手動で追加する必要があります。例えば: + +``` + +``` diff --git a/editions/ja-JP/tiddlers/howtos/Adding_a_table_of_contents_to_the_sidebar.tid b/editions/ja-JP/tiddlers/howtos/Adding_a_table_of_contents_to_the_sidebar.tid new file mode 100644 index 000000000..3533dc26e --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Adding_a_table_of_contents_to_the_sidebar.tid @@ -0,0 +1,27 @@ +created: 20160424150551727 +modified: 20241111111307811 +original-modified: 20181106224128548 +tags: [[Customise TiddlyWiki]] +title: Adding a table of contents to the sidebar +ja-title: サイドバーに目次を追加する +type: text/vnd.tiddlywiki + +目次を作成するための~TiddlyWikiの標準メカニズムは、"toc"[[マクロ|Macros]]です。(マクロの詳細については、リンクをクリックしてください。)Tiddlerを目次の見出しとして扱うようにする手段として`タグ付け`を使用します。タグ付けについては[[タグ付け|Tagging]]Tiddlerを参照してください。 + +以下のステップで、サイドバーにカスタマイズできる[[目次|Table-of-Contents Macros]]を追加できます: + +# [[TableOfContents]]という名前のTiddlerを作成します +# ''~$:/tags/SideBar''というタグを付けます +# テキストに次のように入力します
<$text text="""
+
+ +<> + +
"""/>
+# ''目次''という値を持つ''caption''フィールドを追加します +# ''~$:/core/ui/SideBar/Open''という値を持つ''list-after''フィールドを追加します + +''TableOfContents''というタグを持つTiddlerを作成することで目次にエントリを追加します。より簡単な方法としては、''TableOfContents''TiddlerのTiddlerツールバーの<<.icon $:/core/images/new-here-button>> ''タグ付きTiddlerの作成''を選択します。 +(''タグ付きTiddlerの作成''ボタンが表示されない場合は、下向き矢印<<.icon $:/core/images/down-arrow>>をクリックしてその他メニューを表示します。) + +子Tiddler(他のTiddlerの下にあるTiddler)を作成するには、親Tiddlerの名前を子Tiddlerにタグ付けします。 \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/Adopt a Titles Policy.tid b/editions/ja-JP/tiddlers/howtos/Adopt a Titles Policy.tid new file mode 100644 index 000000000..f29ab6e53 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Adopt a Titles Policy.tid @@ -0,0 +1,16 @@ +created: 20130825103300000 +modified: 20241018105028003 +original-modified: 20140912150136251 +tags: Learning +title: Adopt a Titles Policy +ja-title: タイトルポリシーを採用する +type: text/vnd.tiddlywiki + + +TiddlyWikiドキュメント内の構造が複雑になるにつれて、Tiddlerのタイトルの一貫性を保つのが難しくなることがあります。例えば、用語は複数形で定義すべきでしょうか、それとも単数形で定義すべきでしょうか?キャメルケースか、スペース区切りか? + +正式にタイトル設定ポリシーを定めると、混乱を減らすことができます。例えば、このWikiのタイトルポリシーは、[[ドキュメントスタイルガイド|Documentation Style Guide]]に記録されています + +! [[システムTiddler|SystemTiddler]] のタイトル + +役にたつ規則は、作成するシステムTiddlerにはプレフィックス`$:/_`を使用することです。そうするとサイドバーのシステムTiddlerリストの先頭付近に表示されるようにできます diff --git a/editions/ja-JP/tiddlers/howtos/Concatenating text and variables using macro substitution.tid b/editions/ja-JP/tiddlers/howtos/Concatenating text and variables using macro substitution.tid new file mode 100644 index 000000000..dfd0cd93e --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Concatenating text and variables using macro substitution.tid @@ -0,0 +1,61 @@ +created: 20160424150551727 +modified: 20241018105413659 +original-modified: 20230615114519672 +tags: Learning +title: Concatenating text and variables using macro substitution +ja-title: マクロ置換を使用してテキストと変数を連結する +type: text/vnd.tiddlywiki + +!! 重要 + +<<.from-version "5.3.0">> テキストと変数を連結するには、[[置換された属性|Substituted Attribute Values]]や[[置換フィルター演算子|substitute Operator]]を使用することをお勧めします。 + +~TiddlyWikiでは、変数の値をさまざまなテキスト文字列と組み合わせることがよくあります。一部のプログラミング言語では、このプロセスはテキストの"連結"と呼ばれることがよくあります。 + +--- + +!! 何があったのか + +例えば、顧客データベースのテンプレートを設定し、顧客に関する追加の連絡先情報をリンクによって自動的に参照するようにしたいとします。Tiddler内では、次のようなことを試すかもしれません: + +<<.bad-example "`[[Additional Info|<>-Contact]]`">> + +しかし、これは正しく機能しません。これを試すと、リンクは文字通りに解釈され、次の場所に移動しようとします: + +``` +<>-Contact +``` + +解決策は、マクロを使用して、`<>`がレンダリングされた値と、追加のテキスト`-Contact`とを組み合わせることです。 + +Tiddlerの冒頭で、次のようなマクロを作成します: + +``` +\define linkup(link) [[Additional Info|$link$-Contact]] +``` + +新しいマクロを次のように呼び出すること試すかもしれません: + +<<.bad-example "`<> >>`">> + +しかし、そうすると、`<>`はレンダリングされずに、文字通り渡されることがわかります。 + +代わりに、次のように[[MacroCallWidget]]ウィジェットを使用できます: + +``` +<$macrocall $name="linkup" link=<> /> +``` + +この場合、変数の値をマクロに直接渡しました。これは、このタスクを実行するための一般的な方法です。他の変数に基づいてさらにリンクを作成したい場合は、それぞれの状況でマクロを再利用できます。 + +この場合のように、使用している変数が`currentTiddler`だけであれば、次のように、簡単にマクロを記述できます: + +``` +\define linkup() [[Additional Info|$(currentTiddler)$-Contact]] +``` + +この場合、引数を渡さないことに注意してください。代わりに、特別な構文`$(variable)$`を使用して変数を参照します。引数を渡さないため、次のように`<$macrocall>`ウィジェットなしでより簡単に呼び出すことができます: + +``` +<> +``` \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/Configuring the default TiddlerInfo tab.tid b/editions/ja-JP/tiddlers/howtos/Configuring the default TiddlerInfo tab.tid new file mode 100644 index 000000000..2fe7efade --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Configuring the default TiddlerInfo tab.tid @@ -0,0 +1,19 @@ +created: 20140828080837703 +modified: 20241112113549386 +original-modified: 20140912145908651 +tags: [[Customise TiddlyWiki]] +title: Configuring the default TiddlerInfo tab +ja-title: Tiddler情報タブのデフォルトを構成する +type: text/vnd.tiddlywiki + +設定用Tiddler[[$:/config/TiddlerInfo/Default]]は、Tiddler情報タブのデフォルトとなるTiddlerのタイトルが含まれています。 + +デフォルト値は''項目''タブに対応する`$:/core/ui/TiddlerInfo/Fields`です。他に構成可能な値は次のとおりです。: + +
    +<$list filter="[all[shadows+tiddlers]tag[$:/tags/TiddlerInfo]!has[draft.of]]"> +
  • +<$view field="title"/> +
  • + +
diff --git a/editions/ja-JP/tiddlers/howtos/Constructing JSON tiddlers.tid b/editions/ja-JP/tiddlers/howtos/Constructing JSON tiddlers.tid new file mode 100644 index 000000000..0a8eef0ae --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Constructing JSON tiddlers.tid @@ -0,0 +1,18 @@ +created: 20220427174702859 +modified: 20241019104110533 +original-modified: 20230922122551197 +tags: [[JSON in TiddlyWiki]] Learning +title: Constructing JSON tiddlers +ja-title: JSON Tiddlerの構築 + +TiddlyWikiでのJSONの使い方の概要については、[[TiddlyWikiでのJSON|JSON in TiddlyWiki]]を参照してください + +JSONデータは単なるプレーンテキストであるため、Wikiテキストで生成するためのさまざまな手法が存在します + +高いレベルでは、TiddlyWiki独自のTiddler形式でJSONデータを生成する方法がいくつかあります: + +* [[JSONTiddlerウィジェット|JSONTiddlerWidget]] +* [[jsontiddlerマクロ|jsontiddler Macro]] +* [[jsontiddlersマクロ|jsontiddlers Macro]] + +JSONデータを手動で構築する場合、特殊文字が適切にエスケープされていることを確認するために[[jsonstringifyオペレーター|jsonstringify Operator]]が必要です \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/Creating SubStories.tid b/editions/ja-JP/tiddlers/howtos/Creating SubStories.tid new file mode 100644 index 000000000..ea9464194 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Creating SubStories.tid @@ -0,0 +1,34 @@ +created: 20140214215718317 +modified: 20241016112045089 +original-modified: 20211127032217828 +tags: Learning +title: Creating SubStories +ja-title: サブストーリーを作成する +type: text/vnd.tiddlywiki + +この例では、メイン[[ストーリー|Story River]]から独立したTiddler内にサブストーリーを作成する方法を示します。NavigatorWidgetとListWidgetを連携します: + +# リンクをクリックすると、[[ストーリー|Story River]]にTiddlerを追加します。リンクのクリックに対応するTiddlerに移動します(NavigatorWidgetの''story''属性) +# Tiddlerの閉じるボタンがクリックされたときに、[[ストーリー|Story River]]からTiddlerを削除します(NavigatorWidgetの''story''属性) +# Tiddlerの開閉をアニメーションします(ListWidgetの''storyview''属性) +# 開いているTiddlerのリストを表示します(ListWidgetの''filter''属性と''template''属性) +# Tiddlerを[[ドラフトモード|DraftMechanism]]で表示します(ListWidgetの''editTemplate''属性) +# [[ナビゲーション履歴|HistoryMechanism]]を追跡します(NavigatorWidgetとListWidgetの両方の''history''属性) +# そのほかいろいろ! + +コード例は次のとおりです(関連する議論については、StateMechanismも参照してください): + +<$macrocall $name='wikitext-example-without-html' +src='<$navigator story="$:/temp/DemoStoryList" history="$:/temp/DemoHistoryList"> + +{{$:/core/ui/SideBarSegments/search}} + +<$list + filter="[list[$:/temp/DemoStoryList]]" + history="$:/temp/DemoHistoryList" + template={{$:/config/ui/ViewTemplate}} + editTemplate={{$:/config/ui/EditTemplate}} + storyview="classic" + emptyMessage="上の検索ボックスを使用してください。クリックした検索リンクは、メインストーリーではなくここで開きます

何を検索すればよいか浮かびませんか?では、このリンクをクリックしてください:[[こんにちは|HelloThere]]

"/> + +'> \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/Creating a custom export format.tid b/editions/ja-JP/tiddlers/howtos/Creating a custom export format.tid new file mode 100644 index 000000000..7f10fc5d2 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Creating a custom export format.tid @@ -0,0 +1,23 @@ +title: Creating a custom export format +ja-title: カスタムエクスポートフォーマットを作成する +modified: 20241113113601051 +original-modified: 20141124173526227 +created: 20141124173526227 +tags: [[Customise TiddlyWiki]] + +TiddlerをRAWデータテキストとしてエクスポートするカスタムエクスポートフォーマットを作成するには: + +# 次のフィールドを持つTiddlerを作成します。 +#* ''tags'': [[$:/tags/Exporter]] +#* ''description'': このエクスポートフォーマットの説明 +#* ''extension'': このエクスポートフォーマットのデフォルトのファイル拡張子(ドットを含む、たとえば`.tid`) +# 以下の内容を設定します。: + +``` +\define renderContent() +{{{ $(exportFilter)$ ||$:/core/templates/plain-text-tiddler}}} +\end +<> +``` + +変数`exportFilter`には、どのTiddlerをエクスポートするのかを定義するフィルターが含まれています。 \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/Creating a splash screen.tid b/editions/ja-JP/tiddlers/howtos/Creating a splash screen.tid new file mode 100644 index 000000000..6bf307c8e --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Creating a splash screen.tid @@ -0,0 +1,36 @@ +created: 20180927081216605 +modified: 20241114112009202 +original-modified: 20180927084436111 +tags: [[Customise TiddlyWiki]] +title: Creating a splash screen +ja-title: スプラッシュ画面を作成する +type: text/vnd.tiddlywiki + +デフォルトでは、TiddlyWikiはロード中に空白の画面を表示します。Wikiのロード中に表示される特別な"スプラッシュ画面"を追加できます。 + +大きなTiddlyWikiファイルや、遅いネットワーク接続を介してロードされるファイルは、ロードに少し時間がかかる場合があります。完全にロードされると、ブラウザ内ですべてが実行されるため、パフォーマンスが向上します。スプラッシュ画面を使用すると、読み込みプロセスが行われていることをユーザーが認識できるため、ページから離れる可能性が低くなります。 + +TiddlyWikiが初期化や[[復号化|Encryption]]の前にスプラッシュ画面を表示するには、TiddlyWiki HTMLファイル内に静的HTML/CSSとして埋め込まれます。これは、[[SystemTag: $:/tags/RawMarkupWikified/TopBody]]、または$:/tags/RawMarkupで始まるシステムタグで行われます。 + +Wikiの読み込みが完了したときにスプラッシュ画面を削除するには、HTMLを特別なクラス`tc-remove-when-wiki-loaded`を持つコンテナ内に包み込む必要があります。このクラスを持つDOM要素は、Wikiがロードされるとコア機能によって自動的に削除されます。 + +以下は、//Loading//というテキストを表示するだけの単純なスプラッシュ画面の例です。これを使用するには、このテキストを新しいTiddlerにコピーし、タイプ"text/plain"とタグ"$:/tags/RawMarkupWikified/TopBody"を指定します。: + +``` +
+Loading... +
+``` + +TiddlerにWikiTextタイプ`text/vnd.tiddlywiki`が指定されている場合、ファイルの保存時にコンテンツがwiki化されるので、トランスクルージョンなども可能になります。たとえば、ロード時メッセージでサイトのタイトルを引用する例を次に示します。これを使用するには、このテキストを新しいTiddlerにコピーし、タイプ"text/vnd.tiddlywiki"とタグ"$:/tags/RawMarkupWikified/TopBody"を指定します。: + +``` +\rules only filteredtranscludeinline transcludeinline +
+Please wait while {{$:/SiteTitle}} is loading +
+``` + +この`\rules`命令は、認識されるWikiText構文を2つの形式のインライントランスクルージョンに制限するために使用されます。これにより、Tiddlerコンテンツの誤ったWiki化が回避できます。 + +このWikiには、CSSアニメーションと画像を使用した複雑なスプラッシュ画面の例があります: $:/SplashScreenを参照してください。 \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/Custom Styles FAQ.tid b/editions/ja-JP/tiddlers/howtos/Custom Styles FAQ.tid new file mode 100644 index 000000000..242cf87b6 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Custom Styles FAQ.tid @@ -0,0 +1,11 @@ +modified: 20241120105817756 +original-modified: 201804111739 +created: 201804111739 +title: Custom Styles FAQ +ja-title: カスタムスタイルに関するよくある質問 +tags: [[How to apply custom styles]] FAQ-group +type: text/vnd.tiddlywiki + +<<.from-version "5.1.16">> + +<> diff --git a/editions/ja-JP/tiddlers/howtos/Custom Styles by title.tid b/editions/ja-JP/tiddlers/howtos/Custom Styles by title.tid new file mode 100644 index 000000000..4b5d763cd --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Custom Styles by title.tid @@ -0,0 +1,41 @@ +created: 201804111739 +modified: 20241119112922446 +original-modified: 201804111739 +tags: [[How to apply custom styles]] +title: Custom styles by data-tiddler-title +ja-title: data-tiddler-titleによるカスタムスタイル +type: text/vnd.tiddlywiki + +! 属性: data-tiddler-title + +<<.from-version "5.1.16">> + +~TiddlyWikiのコアでは、レンダリングされたコンテンツにいくつかの`属性`を追加します。これらの属性を使用すると、カスタムスタイルをTiddlerコンテンツに適用できます + +例えば、この"{{!!title}}"という名前のTiddlerには、次のような属性になります: + +``` +data-tiddler-title="Custom styles by data-tiddler-title" +``` + +!! 例 + +次のCSSは[[Custom data-styles]]で定義されており、まさにこのTiddlerに青い境界線を作成します + +``` +[data-tiddler-title="Custom styles by data-tiddler-title"] { + border: 1px solid blue; +} +``` + +システムTiddlerと呼ばれる`$:/`で始まるすべてのTiddlerに緑色の境界線を作成するには、次のようにCSSを使用する必要があります: (ここでは適用されていませんが、試してみることはできます!) + +``` +[data-tiddler-title^="$:/"] { + border: 1px solid green; +} +``` + +!! その他の記述方法 + +{{Attribute Selectors}} diff --git a/editions/ja-JP/tiddlers/howtos/Custom Styles by userClass.tid b/editions/ja-JP/tiddlers/howtos/Custom Styles by userClass.tid new file mode 100644 index 000000000..4239f977b --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Custom Styles by userClass.tid @@ -0,0 +1,28 @@ +created: 201804111739 +modified: 20241119113521083 +original-modified: 201804111739 +title: Custom styles by user-class +ja-title: user-classによるカスタムスタイル +tags: [[How to apply custom styles]] +type: text/vnd.tiddlywiki + +''Tiddlerフィールド: `class`'' <<.from-version "5.1.16">> + +[[タグの管理|$:/TagManager]]を使用すると、"タグピル"の色を定義するために使用される`color`フィールドをTiddlerに設定できます。<<.from-version "5.1.16">>されたため、[[ViewTemplate|$:/core/ui/ViewTemplate]]に直接挿入され、スタイル設定に使用できる`class`フィールドを定義できます: + +""" +title: `anyName` +tags: `$:/tags/Stylesheet` +class: `myClass` +""" + +`class`フィールドを持つすべてのTiddlerは次のようにスタイル設定できます! + +``` +.myClass { + border: 2px solid blue; +} + +``` + +詳細については、[[カスタムスタイルを適用する方法|How to apply custom styles]]を参照してください。 \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/Custom tag pill styles.tid b/editions/ja-JP/tiddlers/howtos/Custom tag pill styles.tid new file mode 100644 index 000000000..2eb7925cd --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Custom tag pill styles.tid @@ -0,0 +1,34 @@ +created: 20230608121519758 +modified: 20241120111032165 +original-modified: 20230608123444591 +tags: [[How to apply custom styles]] +title: Custom tag pill styles +ja-title: タグピルのカスタムスタイル +type: text/vnd.tiddlywiki + +! 属性: data-tag-title + +<<.from-version "5.2.0">> この属性<<.attr data-tag-title>>は、Tiddlerの表示用テンプレートに表示されるタグピルに追加されました。 + +<<.from-version "5.3.0">> この属性は、標準の~TiddlyWiki UIに表示されるすべてのタグピルに追加されました。特に、編集用テンプレートのタグリスト、タグピッカーのドロップダウン、右側のサイドバー -> 詳しく -> タグ別タブ、そして、$:/TagManagerに追加されています + +HTML属性<<.attr data-tag-title>>には、タグピルに表示されるタグタイトルのみが含まれます。これを使用して、タグピルのスタイルを設定できます。 + +Tiddler全体にスタイルを設定したい場合は、[[data-tiddler-titleによるカスタムスタイル|Custom styles by data-tiddler-title]]を参照してください。 + +!! 例 + +新しい `$:/tags/Stylesheet`タグ付きTiddlerで次のCSSを使用すると、`#`で始まるすべてのタグに新しい境界線の丸角半径が設定されます。そのため、これらのタグはデフォルトのタグとは対照的に目立ちます。 + +既存のTW UI内のすべてのタグピルを捕捉するには、既存のUI構造のため、''両方のCSSルールを定義する必要があります''。 + +``` +[data-tag-title^="#"] .tc-tag-label, +[data-tag-title^="#"].tc-tag-label { + border-radius: 3px; +} +``` + +!! さらに可能な設定 + +{{Attribute Selectors}} diff --git a/editions/ja-JP/tiddlers/howtos/Custom_Attribute_Selectors.tid b/editions/ja-JP/tiddlers/howtos/Custom_Attribute_Selectors.tid new file mode 100644 index 000000000..fa0872fe1 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Custom_Attribute_Selectors.tid @@ -0,0 +1,33 @@ +created: 20170126152839462 +modified: 20241119110659035 +original-modified: 201804111739 +tags: [[Custom data-styles]] +title: Attribute Selectors +ja-title: 属性セレクタ +type: text/vnd.tiddlywiki + +;[attr] +:属性attrを持つ要素を表します。 + +;[attr="value"] +:属性attrの値が"value"である要素を表します。 + +;[attr~="value"] +:属性attrの値が、空白で区切られた単語のリストで、そのうちの1つが"value"である要素を表します。 + +;[attr|="value"] +:属性attrの値が、“value”か、“value”の後に“-” (U+002D)が続く値である要素を表します。言語サブコードの一致に使用できます。 + +;[attr^="value"] +:属性attrの値の先頭に"value"が付く要素を表します。 + +;[attr$="value"] +:属性attrの値の末尾に"value"が付く要素を表します。 + +;[attr*="value"] +:属性attrの値に文字列"value"が部分文字列として少なくとも1回含まれる要素を表します。 + +;[attr "operator value" i] +:閉じ括弧の前にi(またはI)を追加すると、値は大文字と小文字を区別せずに比較されます(ASCII範囲内の文字の場合)。 + +詳細は[[CSSの属性セレクタ|https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors]]や[[CSS仕様書|https://www.w3.org/TR/CSS22/selector.html#attribute-selectors]]を参照してください \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/Custom_styles_by_data-tags.tid b/editions/ja-JP/tiddlers/howtos/Custom_styles_by_data-tags.tid new file mode 100644 index 000000000..222185db5 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Custom_styles_by_data-tags.tid @@ -0,0 +1,62 @@ +created: 20170124132500000 +modified: 20241119105640364 +original-modified: 201804111739 +tags: example-test [[How to apply custom styles]] +title: Custom styles by data-tags +ja-title: data-tagsによるカスタムスタイル +type: text/vnd.tiddlywiki + +! 属性: data-tags + +<<.from-version "5.1.16">> + +~TiddlyWikiのコアでは、レンダリングされたコンテンツにいくつかの`属性`を追加します。これらの属性を使用すると、カスタムスタイルをTiddlerコンテンツに適用できます + +例えば、この<>と<>でタグ付けされたTiddlerには、次のような属性になります: + +``` +data-tags="[[How to apply custom styles]] example-test" +``` + +''重要: ''Tiddlerタグはソートされて''いない''ため、レンダリングされた出力の順序は異なる場合があります! + +!! 例 + +次のCSSは[[Custom data-styles]]で定義されており、`example-test`でタグ付けされたすべてのTiddler(これを含む)にピンクの境界線を作成します + +``` +[data-tags*="example-test"] { + border: 2px solid pink; +} +``` + +!!! スタイルシートのスタイリング + +`data-tags-styles`でタグ付けされたTiddlerを表示するには、適切な方法で、次のコードを使用できます(`$:/tags/Stylesheet`を使用することもできますが、このWiki 内のすべてのスタイルシートに影響を与えることになり、意図したものではありません。) + +''重要:'' `.tc-tiddler-body`を指定することも忘れないでください。指定しないと、タイトルを含むTiddler全体が変更されます! 参照: [[Custom data-styles]] + +``` +[data-tags*="data-tags-styles"] .tc-tiddler-body { + display: block; + padding: 14px; + margin-top: 1em; + margin-bottom: 1em; + word-break: normal; + word-wrap: break-word; + white-space: pre-wrap; + background-color: #f5f5f5; + border: 1px solid #cccccc; + padding: 0 3px 2px; + border-radius: 3px; + font-family: Monaco, Consolas, "Lucida Console", "DejaVu Sans Mono", monospace; +} +``` + +!! 強制改行 + +この仕組みは、散文的な文章を書きたいユーザーにとっては便利です。参照: [[CSSを使用した強制改行|Hard Linebreaks with CSS]] + +!! その他の記述方法 + +{{Attribute Selectors}} diff --git a/editions/ja-JP/tiddlers/howtos/Debugging Stylesheets.tid b/editions/ja-JP/tiddlers/howtos/Debugging Stylesheets.tid new file mode 100644 index 000000000..e763ef169 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Debugging Stylesheets.tid @@ -0,0 +1,13 @@ +created: 20211125175712017 +modified: 20241118113249073 +original-modified: 20211125175906085 +tags: [[Using Stylesheets]] +title: Debugging Stylesheets +ja-title: スタイルシートのデバッグ +type: text/vnd.tiddlywiki + +コアの隠しTiddler $:/snippets/DebugStylesheetsには、括弧の不一致やその他の入れ子構造に関する特定の問題を追跡するための簡単なツールが含まれています + +以下のリストでは、エラーを含むスタイルシートには赤いバツ印が付いています: + +{{$:/snippets/DebugStylesheets}} diff --git a/editions/ja-JP/tiddlers/howtos/Editing Tiddlers with Emacs.tid b/editions/ja-JP/tiddlers/howtos/Editing Tiddlers with Emacs.tid new file mode 100644 index 000000000..3d63af37c --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Editing Tiddlers with Emacs.tid @@ -0,0 +1,40 @@ +created: 20140406210404245 +modified: 20241017113402647 +original-modified: 20140919161501896 +tags: Learning +title: Editing Tiddlers with Emacs +ja-title: TiddlerをEmacsで編集する +type: text/vnd.tiddlywiki + +Michael Foglemanは、TiddlyWikiの.tidファイルを編集するための[[tid-mode|https://github.com/mwfogleman/tid-mode]]と呼ばれる[[Emacs|http://www.gnu.org/software/emacs/]]のメジャーモードを作成しました。これはtext-modeから派生し、便利なマイナーモードorg-structとsubwordを使用し、.tidファイルを保存するときに変更時刻を更新します + +彼はまた、EmacsでTiddlyWikiを使用するための2つのヘルパー関数も作成しました。1つ目は、DiredでTiddlerディレクトリを開きます。2つ目はブラウザでTiddlyWikiを開きます + +``` +(defun open-wiki () + "Opens a TiddlyWiki directory in Dired." + (interactive) + (dired "~/Dropbox/wiki/tiddlers/")) +``` + +``` +(defun browse-wiki () + "Opens TiddlyWiki in the browser." + (interactive) + (browse-url "127.0.0.1:8080/")) +``` + +後者の関数では、ブラウザの指定が必要になる場合があります: + +``` +(setq browse-url-browser-function 'browse-url-generic + browse-url-generic-program "chromium") +``` + +これらの関数をglobal-set-key関数でバインドできます: + +``` +(global-set-key (kbd "C-c w") 'open-wiki) +``` + +現時点では、これらはtid-modeに統合されていません diff --git a/editions/ja-JP/tiddlers/howtos/Editing Tiddlers with Vim.tid b/editions/ja-JP/tiddlers/howtos/Editing Tiddlers with Vim.tid new file mode 100644 index 000000000..7bcef6df2 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Editing Tiddlers with Vim.tid @@ -0,0 +1,11 @@ +modified: 20241020104154015 +original-modified: 20160111190002 +created: 20140406210404245 +tags: Learning +title: Editing Tiddlers with Vim +ja-title: TiddlerをVimで編集する +type: text/vnd.tiddlywiki + +Devin Weaverは https://github.com/sukima/vim-tiddlywiki に[[Vim|http://www.vim.org/]]プラグインを作成しました + +TiddlyWikiのシンタックスのほとんどをサポートしており、`modified`フィールドを自動更新するファイルタイププラグインが含まれています \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/Editor toolbar.tid b/editions/ja-JP/tiddlers/howtos/Editor toolbar.tid new file mode 100644 index 000000000..032cf9ab6 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Editor toolbar.tid @@ -0,0 +1,22 @@ +created: 20160817093933820 +modified: 20241104105233416 +original-modified: 20190118161349442 +tags: Features [[Formatting text in TiddlyWiki]] +title: Editor toolbar +ja-title: エディタツールバー +type: text/vnd.tiddlywiki + +!! 使い方 + +エディタツールバーは、テキストのフォーマットを簡単に設定するのに役立つツールバーです。編集モードの場合、Tiddlerのテキスト入力フィールドの上に表示されます。Microsoft WordやLibre Office Writeなどのデスクトップテキストエディターと似た外観をしています + +!! エディタツールバーの機能 +機能ボタンを押すと、テキストフィールドにWikiTextが挿入されます。例えば、太字のボタンを押すと、`'' ''`が挿入されます + +テキストの一部を''選択''していると、マークアップコードが選択されたテキストを自動的に囲みます + +[[MarkDown|Markdown Plugin]]などの別のモードを使用している場合は、ツールバーがその構文に変更され、適切なコードが挿入されます。ただし、以前に入力したテキストやマークアップは変更されません + +標準のWikiTextフォーマットに加えて、エディタツールバーには次のボタンがあります: + +<> \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/Formatting List Results as Tables with CSS - Specified Columns Methods.tid b/editions/ja-JP/tiddlers/howtos/Formatting List Results as Tables with CSS - Specified Columns Methods.tid new file mode 100644 index 000000000..f93e94213 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Formatting List Results as Tables with CSS - Specified Columns Methods.tid @@ -0,0 +1,51 @@ +created: 20161209172820513 +modified: 20241020104954951 +original-modified: 20161220161653258 +tags: Learning +title: Formatting List Results as Tables with CSS - Specified Columns Methods +ja-title: CSSを使用してリスト結果を表フォーマットで出力する - 固定列メソッド +type: text/vnd.tiddlywiki + +``<$list>``ウィジェットの結果を単純な1つのリストではなく、複数列の形式でフォーマットしたい場合があります。この方法では、~CSSを使用してリストを列として設定し、必要な列の数がわかっていることを前提としています。ここでの方法は、テーブルに含める列の数を反映するスタイルを作成し、そのスタイルを結果のリスト出力に適用することです + +他のテーブル作成テクニックについては、以下も参照してください: + +* [[CSSを使用してリスト結果を表フォーマットで出力する - 可変列メソッド|Formatting List Results as Tables with CSS - Variable Column Method]] +* [[リスト結果を表フォーマットで出力する(CSS無し)|Formatting List Results as Tables (no CSS)]] + + +!!! 1) `$:/tags/Stylesheet`でタグ付けされた列に対して、以下を含むTiddlerを作成します: + +``` +/* FOUR COLUMN MODE */ +.fourcolumns { + display:block; + column-count:4; + column-gap:1em; + -moz-column-count:4; + -moz-column-gap:1em; + -webkit-column-count: 4; + -webkit-column-gap:1em; +} +``` + +列数を示す値がさまざまな場所に必要なことに注意してください + +!!! 2) 次に、出力を次のようにフォーマットします: + +``` +@@.fourcolumns +<$list filter="[tag[Filter Operators]]" variable="foo"> +<>
+ +@@ +``` + +!! フィルター演算子の一部のリストを示す例 + +@@.fourcolumns +<$list filter="[tag[Filter Operators]limit[24]]" variable="foo"> +<>
+ +@@ + diff --git a/editions/ja-JP/tiddlers/howtos/Formatting List Results as Tables with CSS - Variable Column Method.tid b/editions/ja-JP/tiddlers/howtos/Formatting List Results as Tables with CSS - Variable Column Method.tid new file mode 100644 index 000000000..512087c03 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Formatting List Results as Tables with CSS - Variable Column Method.tid @@ -0,0 +1,85 @@ +created: 20161209172820513 +modified: 20241020105248614 +original-modified: 20161220162845058 +tags: Learning +title: Formatting List Results as Tables with CSS - Variable Column Method +ja-title: CSSを使用してリスト結果を表フォーマットで出力する - 可変列メソッド +type: text/vnd.tiddlywiki + +``<$list>``ウィジェットの結果を単純な1つのリストではなく、複数列の形式でフォーマットしたい場合があります。この方法では、CSSを使用してリストを列として設定します。応答性が高く、ウィンドウが小さすぎる場合は、表示する列の数を減らすために改行位置を変更します + +固定の列数を直接指定するのではなく、リストの最大幅(Tiddlerの幅をトランスクルージョンする可能性があります)と各項目の幅を指定します。左から右にリストされ、新しい行に折り返されます + +他のテーブル作成テクニックについては、以下も参照してください: + +* [[CSSを使用してリスト結果を表フォーマットで出力する - 固定列メソッド|Formatting List Results as Tables with CSS - Specified Columns Methods]] +* [[リスト結果を表フォーマットで出力する(CSS無し)|Formatting List Results as Tables (no CSS)]] + +!! 既存の~TiddlyWikiタグ50個を使用したリストの例 + +``` +
+ <$list filter="[has[tags]tags[]sort[title]first[50]]"> + + <$transclude tiddler="$:/core/ui/TagTemplate"/> + + +
+``` + +!! リストで使用するスタイルシートの例 + +``` + +``` + +!! 結果 + +
+ <$list filter="[has[tags]tags[]sort[title]first[50]]"> + + <$transclude tiddler="$:/core/ui/TagTemplate"/> + + +
+ + + diff --git a/editions/ja-JP/tiddlers/howtos/Formatting_List_Results_as_Tables_(no_CSS).tid b/editions/ja-JP/tiddlers/howtos/Formatting_List_Results_as_Tables_(no_CSS).tid new file mode 100644 index 000000000..7e1dd3de8 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Formatting_List_Results_as_Tables_(no_CSS).tid @@ -0,0 +1,51 @@ +created: 20161220154952676 +modified: 20241020104643991 +original-modified: 20161220161706470 +tags: Learning +title: Formatting List Results as Tables (no CSS) +ja-title: リスト結果を表フォーマットで出力する(CSS無し) +type: text/vnd.tiddlywiki + +``<$list>``ウィジェットの結果を単純な1つのリストではなく、複数列の形式でフォーマットしたい場合があります。次のメソッドでは、実際のテーブル構造を作成し、[[n番目の演算子|nth Operator]]を使用して各行の改行を実現します。この方法では応答性はありません。つまり、ウィンドウが小さすぎる場合、表示する列を減らすための位置変更を行いません + +一番外側のリスト構造では、項目番号に改行が発生することを示すカウントを指定する必要があります。したがって、次の例では、各行は4個の項目の後で区切られるため、順序は1、5、9、・・・になります。これには、存在する項目の最大数を事前に知っておく必要があることに注意してください。n-1個の項目に設定される内部制限もあります(nは必要な列の数です) + +内側の`<$list>`ウィジェット内で駆動フィルター演算子を繰り返す必要があることにも注意してください。明らかに、このテクニックはマクロの実装に役立ちます + +他のテーブル作成テクニックについては、以下も参照してください: + +* [[CSSを使用してリスト結果を表フォーマットで出力する - 可変列メソッド|Formatting List Results as Tables with CSS - Variable Column Method]] +* [[CSSを使用してリスト結果を表フォーマットで出力する - 固定列メソッド|Formatting List Results as Tables with CSS - Specified Columns Methods]] + +!! 項目数が70未満の4列テーブルのコード例 + +``` + +<$list filter="1 5 9 13 17 21 25 29 33 37 41 45 49 53 57 61 65" variable ="rows"> + <$list filter="[tag[Filter Operators]limit[50]] +[nth]" variable="cell"> + + + <$list filter="[tag[Filter Operators]limit[50]] +[allafterlimit[3]]" variable="this"> + + + + + +
<> <>
+``` + +!! 結果 + + +<$list filter="1 5 9 13 17 21 25 29 33 37 41 45 49 53 57 61 65" variable ="rows"> + <$list filter="[tag[Filter Operators]limit[50]] +[nth]" variable="cell"> + + + <$list filter="[tag[Filter Operators]limit[50]] +[allafterlimit[3]]" variable="this"> + + + + + +
<> <>
+ diff --git a/editions/ja-JP/tiddlers/howtos/Height of text editor.tid b/editions/ja-JP/tiddlers/howtos/Height of text editor.tid new file mode 100644 index 000000000..781f0fa6a --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Height of text editor.tid @@ -0,0 +1,8 @@ +created: 20160817103854725 +modified: 20241104105649800 +original-modified: 20160817105415313 +tags: [[Editor toolbar]] +title: Height of text editor +ja-title: テキストエディタの高さ + +{{ $:/core/ui/EditorToolbar/editor-height}}ボタンを使用すると、テキスト入力フィールドの高さを調整できます。 \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/How to add a banner for GitHub contributions.tid b/editions/ja-JP/tiddlers/howtos/How to add a banner for GitHub contributions.tid new file mode 100644 index 000000000..23bf60d9d --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/How to add a banner for GitHub contributions.tid @@ -0,0 +1,22 @@ +title: How to add a banner for GitHub contributions +ja-title: GitHub投稿のバナーを追加する方法 +modified: 20241023113051454 +original-modified: 20141123094403948 +created: 20141123094403948 +tags: Learning + +https://tiddlywiki.com でTiddlerを編集すると、GitHubでTiddlerのソースを編集するように促す小さなリボンが表示されます。 + +Node.jsを使用している場合は、次のようにして、この機能を独自のTiddlyWikiベースのサイトに複製できます: + +# [[Wikiフォルダー|TiddlyWikiFolders]]の<$link to="tiddlywiki.info Files">`tiddlywiki.info`ファイルに次の設定が含まれていることを確認してください: +#>
	"config": {
+		"retain-original-tiddler-path": true
+	}
+# Wikiに[[$:/ContributionBanner]]Tiddlerをコピーします +# 次のように編集します: +## https://github.com/TiddlyWiki/TiddlyWiki5/edit/master/editions/tw5.com/tiddlers/ から、自分のGitHubリポジトリを指すように、GitHubリンクURLを修正します +## "Can you help us improve this documentation?"で始まるテキストの文言が訪問者にとって適切であることを確認してください +## [[Improving TiddlyWiki Documentation]]へのリンクを調整して、投稿の手順の説明が記載された独自のTiddlerを指すようにします。 + + diff --git a/editions/ja-JP/tiddlers/howtos/How to apply custom styles by tag.tid b/editions/ja-JP/tiddlers/howtos/How to apply custom styles by tag.tid new file mode 100644 index 000000000..296d50de4 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/How to apply custom styles by tag.tid @@ -0,0 +1,62 @@ +caption: {{!!ja-title}} - ^^非推奨^^ +created: 20141001132300000 +modified: 20241121113613599 +original-modified: 20220704174221300 +tags: [[How to apply custom styles]] $:/deprecated +title: How to apply custom styles by tag +ja-title: タグでカスタムスタイルを適用する方法 +type: text/vnd.tiddlywiki + +<<.deprecated-since "5.1.16" "Custom styles by data-tags">>. [[カスタムスタイルを適用する方法|How to apply custom styles]]も参照してください + +---- + +`tc-tagged-`という名前のCSSクラスを定義することで、特定のタグを持つTiddlerにカスタムスタイルを適用できます。 + +たとえば、"NightReader"というタグが付けられたTiddlerを夜の読書に適した特別な配色で表示するには、次のようにクラス`tc-tagged-NightReader`を定義する[[スタイルシートを作成|Using Stylesheets]]します: + +``` +.tc-tagged-NightReader { + background-color:black; + color: orange; + padding: 35px 35px; +} + +.tc-tagged-NightReader .tc-tiddler-body { + font-size: 1.5em; +} +``` + +クラス`tc-tagged-NightReader`は、Tiddlerのテキスト部分だけでなく、Tiddler全体に適用されます。Tiddlerのより小さな部分をターゲットにしたい場合は、この`.tc-tagged-NightReader .tc-tiddler-body`のようにCSSセレクターを修飾します。 + +Note that tags containing spaces or non-alphanumeric characters will be converted using URI encoding, making the generated CSS classname hard to predict. For example: +スペースや英数字以外の文字を含むタグはURIエンコーディングを使用して変換されるため、生成されるCSSクラス名を予測することが困難になることに注意してください。例: + +|!Tag |!Generated Class Name | +|`$:/mytag` |`tc-tagged-%24%3A%2Fmytag` | +|`Doctor Who` |`tc-tagged-Doctor%20Who` | +|`£35.23` |`tc-tagged-%C2%A335.23` | + +~TiddlyWikiはこれらのタグを生成しますが、実際にCSSで使用するには、次のようにスタイルシートでパーセント文字をエスケープする必要があります: + +``` +.tc-tagged-Doctor\%20Who { + background-image: url(./tardis_back.svg); + background-repeat: no-repeat; + background-position: right; + color:#FBFBFB; +} +``` + +変換を実行するためのユーティリティ関数がJavaScriptで利用できます: + +``` +$tw.utils.tagToCssSelector("$:/tags/Stylesheet") +``` + +次の出力を生成します: + +``` +tc-tagged-\%24\%3A\%2Ftags\%2FStylesheet +``` + diff --git a/editions/ja-JP/tiddlers/howtos/How to apply custom styles.tid b/editions/ja-JP/tiddlers/howtos/How to apply custom styles.tid new file mode 100644 index 000000000..d60ebe4f5 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/How to apply custom styles.tid @@ -0,0 +1,12 @@ +created: 20141001132300000 +list: [[Custom styles by data-tags]] [[Custom styles by data-tiddler-title]] +modified: 20241117105127872 +original-modified: 201804111740 +tags: [[Customise TiddlyWiki]] +title: How to apply custom styles +ja-title: カスタムスタイルを適用する方法 +type: text/vnd.tiddlywiki + +カスタムスタイルを適用するにはいくつかの方法があります + +<> diff --git a/editions/ja-JP/tiddlers/howtos/How to change the sort order of sub-branches in a TOC macro.tid b/editions/ja-JP/tiddlers/howtos/How to change the sort order of sub-branches in a TOC macro.tid new file mode 100644 index 000000000..3d5f77c79 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/How to change the sort order of sub-branches in a TOC macro.tid @@ -0,0 +1,27 @@ +created: 20161209172820513 +modified: 20241020110058381 +original-modified: 20190220000000000 +tags: Learning +title: How to change the sort order of sub-branches in a TOC macro +ja-title: TOCマクロでのサブブランチのソート順を変更する方法 +type: text/vnd.tiddlywiki + +次のような[[目次|Table-of-Contents Macros]]マクロを使用していると想定します: + +``` +<> +``` + +多くの場合、並び順は問題ありませんが、`Journal`タグ付けされたアイテムを`created`フィールドの順に並べ替えたいとします。`Journal`タグ付けされたサブ項目だけに別の並べ替え順を適用するにはどうすればよいでしょうか? + +秘訣は、別の並べ替え基準を指すフィールドを、親のタグTiddler(つまり、`Journal`)に追加することです。そのフィールドを`fuzzy`と呼び、値`created`を入力します(`created `はTiddlerの作成日を持つフィールドの名前です) + +次に、[[目次|Table-of-Contents Macros]]を次のように変更します: + +``` +<> +``` + +これで、`created `の日付順に並べ替えられる`Journal`Tiddlerの子を除き、目次はどこでもタイトル順に並べ替えられるようになります + +このトリックの欠点は、1つの特別なフィールドのみに逆順ソートを適用できないことです。並べ替え順序を逆順にすると、どこも逆になります diff --git a/editions/ja-JP/tiddlers/howtos/How to create a custom story tiddler template.tid b/editions/ja-JP/tiddlers/howtos/How to create a custom story tiddler template.tid new file mode 100644 index 000000000..41c604954 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/How to create a custom story tiddler template.tid @@ -0,0 +1,42 @@ +created: 20211204120244761 +modified: 20241024105517309 +original-modified: 20211206165108185 +tags: Learning Cascades [[Story Tiddler Template]] [[Story Tiddler Template Cascade]] [[Customise TiddlyWiki]] +title: How to create a custom story tiddler template +ja-title: カスタムストーリーTiddlerテンプレートを作成する方法 +type: text/vnd.tiddlywiki + +ここでは、[[ストーリーTiddlerテンプレートカスケード|Story Tiddler Template Cascade]]にルールを追加して、<>タグを付けたTiddlerをリストフィールドに名前が付けられたTiddlerのサムネイルを組み込んだカスタム外観で表示する方法を示します。 + +デモを表示するには、[[カスタムストーリーTiddlerテンプレートを含むデモTiddlerリスト|Demo Tiddler List with Custom Story Tiddler Template]]を開きます。 + +最初に、ストーリーTiddlerテンプレートカスケードに新しいステップを追加します。新しいフィルターステップは次のとおりです: + +``` +[tag[$:/tags/TiddlerList]then[$:/_tw5.com/CustomStoryTiddlerTemplateDemo/Template]] +``` + +次のように読むことができます: + +``` +Tiddlerが$:/tags/TiddlerListタグを持つなら、$:/_tw5.com/CustomStoryTiddlerTemplateDemo/Templateを返します +``` + +> テンプレート$:/_tw5.com/CustomStoryTiddlerTemplateDemo/Templateも、 [[$:/_tw5.com/CustomStoryTiddlerTemplateDemo/Styles]]で定義したスタイルに依存します。 + +ストーリーTiddlerテンプレートカスケードはタグ<>によって定義されます。そのため、そのタグを使用してTiddlerを作成する必要があります。 + +また、カスケード内の正しいポイントに挿入されていることを確認する必要があります: + +* 新しいルールは、タグ$:/tags/TiddlerListが付いたドラフトTiddlerが編集できるようにするために、"draft"ルールの後に置く必要があります。 +* 新しいルールは"default"ルールの前になければなりません。そうでないと実行されません。 + +コントロールパネルの"カスケード"タブには、`list-before`フィールドを使用してdefaultのステップの直前に新しいステップを挿入できることが示されています。 + +構成Tiddlerの完全なフィールドのリストは次のとおりです: + +<<.tiddler-fields "$:/_tw5.com/CustomStoryTiddlerTemplateDemo/Filter">> + +最後に、デモTiddlerを作成する必要があります: + +<<.tiddler-fields "Demo Tiddler List with Custom Story Tiddler Template">> diff --git a/editions/ja-JP/tiddlers/howtos/How to create a custom tiddler colour rule.tid b/editions/ja-JP/tiddlers/howtos/How to create a custom tiddler colour rule.tid new file mode 100644 index 000000000..8afe73d97 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/How to create a custom tiddler colour rule.tid @@ -0,0 +1,38 @@ +created: 20211206114114698 +modified: 20241020110542022 +original-modified: 20211206165150302 +tags: Learning Cascades [[Customise TiddlyWiki]] +title: How to create a custom tiddler colour rule +ja-title: カスタムのTiddlerカラールールを作成する方法 +type: text/vnd.tiddlywiki + +ここでは、[[Tiddlerカラーカスケード|Tiddler Colour Cascade]]に、<>タグを持つTiddlerに明るい青色の着色を、<>タグを持つTiddlerに濃い紫色の着色を、付与するルールの追加方法を示します。 + +<<.tip "[[カスタムのTiddlerアイコンルールを作成する方法|How to create a custom tiddler icon rule]]では、同じTiddlerにカスタムアイコンを与える方法について説明します。">> + +まず、Tiddlerカラーカスケードに新しいステップを追加します。新しいフィルターステップは次のとおりです。: + +``` +[tag[TableOfContents]then[#1e90ff]] +[tag[Working with TiddlyWiki]then[darkorchid]] +``` + +これは次のように読み取れます。: + +``` +もしTiddlerが"TableOfContents"タグを持つなら、カラー#1e90ffを返します +もしTiddlerが"Working with TiddlyWiki"タグを持つなら、カラーdarkorchidを返します +``` + +Tiddlerカラーカスケードは<>タグによって定義されます。したがって、そのタグを使用して設定Tiddlerを作成する必要があります。 + +また、カスケード内の正しい位置に挿入されていることを確認する必要があります。: + +* 新しいルールは、明示的な''color''フィールドを持つTiddlerがそのフィールドの値を確実に尊重するように、"colour-field"ルールの後に置く必要があります。 +* 新しいルールは"default"カラーの前になければなりません。そうしないと、デフォルトのカラーが指定されていると、着色されることはありません。 + +コントロールパネルの"カスケード"タブには、`list-before`フィールドを使用してデフォルトステップの直前に新しいステップを挿入することでこれを実現できることが示されています。 + +設定Tiddlerの完全なフィールドリストは次のとおりです。: + +<<.tiddler-fields "$:/_tw5.com/CustomTiddlerColourCascadeDemo">> diff --git a/editions/ja-JP/tiddlers/howtos/How to create a custom tiddler icon rule.tid b/editions/ja-JP/tiddlers/howtos/How to create a custom tiddler icon rule.tid new file mode 100644 index 000000000..96dcbe505 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/How to create a custom tiddler icon rule.tid @@ -0,0 +1,38 @@ +created: 20211204161649863 +modified: 20241020111248598 +original-modified: 20211206165129215 +tags: Learning Cascades [[Tiddler Icon Cascade]] [[Customise TiddlyWiki]] +title: How to create a custom tiddler icon rule +ja-title: カスタムのTiddlerアイコンルールを作成する方法 +type: text/vnd.tiddlywiki + +ここでは、[[Tiddlerアイコンカスケード|Tiddler Icon Cascade]]に、<>タグを持つTiddlerに"地球"アイコン<<.icon $:/core/images/globe>>を、<>タグを持つTiddlerに"ヘルプ"アイコン<<.icon $:/core/images/help>>を、付与するルールの追加方法を示します。 + +<<.tip "[[カスタムのTiddlerカラールールを作成する方法|How to create a custom tiddler colour rule]]では、同じTiddlerにカスタムカラーを与える方法について説明します。">> + +まず、Tiddlerアイコンカスケードに新しいステップを追加します。新しいフィルターステップは次のとおりです。: + +``` +[tag[TableOfContents]then[$:/core/images/globe]] +[tag[Working with TiddlyWiki]then[$:/core/images/help]] +``` + +これは次のように読み取れます。: + +``` +もしTiddlerが"TableOfContents"タグを持つなら、$:/core/images/globeを返します +もしTiddlerが"Working with TiddlyWiki"タグを持つなら、$:/core/images/helpを返します +``` + +Tiddlerアイコンカスケードは<>タグによって定義されます。したがって、そのタグを使用して設定Tiddlerを作成する必要があります。 + +また、カスケード内の正しい位置に挿入されていることを確認する必要があります。: + +* 新しいルールは、明示的な''icon''フィールドを持つTiddlerがそのフィールドの値を確実に尊重するように、"icon-field"ルールの後に置く必要があります。 +* 新しいルールは"default"アイコンの前になければなりません。そうしないと、デフォルトのアイコンが指定されていると、表示されることはありません。 + +コントロールパネルの"カスケード"タブには、`list-before`フィールドを使用してデフォルトステップの直前に新しいステップを挿入することでこれを実現できることが示されています。 + +設定Tiddlerの完全なフィールドリストは次のとおりです。: + +<<.tiddler-fields "$:/_tw5.com/CustomTiddlerIconCascadeDemo">> diff --git a/editions/ja-JP/tiddlers/howtos/How to create keyboard shortcuts.tid b/editions/ja-JP/tiddlers/howtos/How to create keyboard shortcuts.tid new file mode 100644 index 000000000..417edc7f7 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/How to create keyboard shortcuts.tid @@ -0,0 +1,107 @@ +tags: [[Customise TiddlyWiki]] Learning +title: How to create keyboard shortcuts +ja-title: キーボードショートカットを作成する方法 +type: text/vnd.tiddlywiki + +
+<<.tip """[[TiddlyWiki]]は2種類のキーボードショートカットを区別します。<$macrocall $name=".tag" _="input"/>フィールド内や<$macrocall $name=".wlink" to="KeyboardWidget"/>ウィジェットによって処理される<$macrocall $name=".tag" _="textareas"/>でのみ機能するものと、またはグローバルに機能する、つまり、アクセスするのにページにフォーカスがあるだけでよいというキーボードショートカットです。後者は、Wikiが読み込まれたときに機能し始めるメカニズムによって処理されます""">> + +!! 設定メカニズムは両方のショートカットタイプで同じです + +<$vars tv-show-missing-links="no"> + +<<.def プレフィックス>> `$:/config/ShortcutInfo/`と`my-shortcut`のような''一意のサフィックス''が追加されたTiddlerは、新しいショートカットを$:/ControlPanelの[[キーボードショートカットタブ|$:/core/ui/ControlPanel/KeyboardShortcuts]]に表示します。オプションの説明をテキストフィールドに追加できます + +[[キーボードショートカットタブ|$:/core/ui/ControlPanel/KeyboardShortcuts]]では、ショートカットをトリガーする''キーの組み合わせ''を設定できます: + +> 新しいショートカットに定義された''一意のサフィックス''を探し、''キーの組み合わせ''を検出し、入力フィールドに検出された組み合わせを表示するポップアップを開くボタン<$button class="tc-btn-invisible"><<.icon $:/core/images/edit-button>><$action-sendmessage $message="tm-notify" $param="$:/core/images/edit-button"/>をクリックします + +>''ショートカットの追加''は、ショートカットにキーの組み合わせを割り当てます + +!!! 選択したプラットフォームに応じて、構成メカニズムは特定の命名法を持つTiddlerを作成します + +> $:/config/shortcuts/ + すべてのプラットフォーム(オペレーティングシステム)で機能するショートカットの''ショートカットサフィックス'' + +> $:/config/shortcuts-(mac/not-mac/windows/not-windows/linux/not-linux)/ + 選択したプラットフォームでのみ機能するショートカットや除外されたプラットフォームでは機能しないショートカットの''ショートカットサフィックス'' + +!!! 例 + +* $:/config/shortcuts/`my-shortcut` +* $:/config/shortcuts-mac/`my-shortcut` +* $:/config/shortcuts-windows/`my-shortcut` +* $:/config/shortcuts-linux/`my-shortcut` +* $:/config/shortcuts-not-mac/`my-shortcut` +* $:/config/shortcuts-not-windows/`my-shortcut` +* $:/config/shortcuts-not-linux/`my-shortcut` + +<<.tip """上記の''ShortcutInfo''Tiddlerが最初に作成され、ショートカットが~ControlPanelで構成されている場合には、これらのプラットフォーム固有のTiddlerを手動で作成する必要がないことに注意してください""">> + +
+ +!! この時点でショートカットが定義され、その''アクション''を設定できます + +!! [[キーボードウィジェット|KeyboardWidget]]の使用 + +> <<.wlink "KeyboardWidget">>ウィジェットは、そのスコープ内の<<.tag input>>や<<.tag textarea>>フィールド内で押されたキーの組み合わせを検出します。<<.wlink "KeyboardWidget">>ウィジェットは、<<.tag input>>や<<.tag textarea>>フィールドを"包含"する必要があり、その<<.attr key>>属性は、[[キー記述子|Key Descriptor]]構文を使用して構成Tiddlerを指定するか、キーを明示的に含みます + +``` +<$keyboard key="((my-shortcut))" actions='<$action-setfield $tiddler="my-tiddler" $field="my-field" $value="my-value"/>'> + +<$edit-text tag="input" tiddler="my-tiddler"/> + + +``` + +``` +<$keyboard key="alt-shift-M" actions='<$action-setfield $tiddler="my-tiddler" $field="my-field" $value="my-value"/>'> + +<$edit-text tag="input" tiddler="my-tiddler"/> + + +``` + +> アクションが定義されている場合、<<.wlink KeyboardWidget>>ウィジェットは、その<<.attr key>>属性で定義されたキーの組み合わせがそのスコープ内の +<<.tag input>>や<<.tag textarea>>フィールドで押されたことを検出すると、その<<.attr actions>>属性で定義されたアクションを呼び出します + +
+ +!! グローバルなキーボードショートカットの使用 + +> 新しいグローバルキーボードショートカットの作成の詳細については、[[キーボードショートカットTiddler]]を参照してください。 + +> ''グローバル''キーボードショートカットのアクションは、<>タグが付けられたTiddlerの''テキスト''フィールドに保存されます + +> ''キーフィールド''は、[[キーボードショートカット記述子|Keyboard Shortcut Descriptor]]と呼ばれる`((my-shortcut))`構文を通じて、アクションTiddlerと対応するショートカットを結びつけます + +:

構文: `((` + `選択したサフィックス` + `))`

+ +> Tiddlerが<>タグを持っている場合、''key''フィールドに[[キーボードショートカット記述子|Keyboard Shortcut Descriptor]]を値として設定し、テキストフィールドにアクションを設定すると、メカニズムが設定されたキーの組み合わせを検出するとアクションがトリガーされます + +
+<$macrocall $name=".tip" _="""グローバルキーボードショートカットの''外部で''定義された''マクロ''(`$:/tags/Global`タグの付いたTiddler経由)は、アクセス可能にするために''インポートする''必要があります。 +[[インポートプラグマ|Pragma]]は、そのために使用できます"""/> + +
+\import [subfilter{$:/core/config/GlobalImportFilter}]
+
+ +マクロ定義を含むTiddlerがわかっていて、例えばタイトルが`my-macro-tiddler`なら、 + +
+\import [[my-macro-tiddler]]
+
+ +
+<$macrocall $name=".tip" _="""一部のアクションは<<.wlink NavigatorWidget>>ウィジェット内にラップする必要があります。これは、グローバルなキーボードショートカット内で使用される場合に、次のウィジェットとメッセージのリストが機能するために必要です"""/> + +!!! ウィジェット + +<<.wlink ActionNavigateWidget>> (ActionNavigateWidget) + +!!! メッセージ + +<$list filter="[tag[navigator-message]]"> +<$link/>
+ + + diff --git a/editions/ja-JP/tiddlers/howtos/How to customize TiddlyDesktop.tid b/editions/ja-JP/tiddlers/howtos/How to customize TiddlyDesktop.tid new file mode 100644 index 000000000..5b38e4bbc --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/How to customize TiddlyDesktop.tid @@ -0,0 +1,34 @@ +created: 20171118194518819 +modified: 20241026104802213 +original-modified: 20171118194518819 +tags: Learning +title: How to Customize TiddlyDesktop +ja-title: TiddlyDesktopをカスタマイズする方法 +type: text/vnd.tiddlywiki + +!! 前置き/注意: + +TiddlyDesktopの内部実装を実験する前に、“ユーザー構成フォルダ”の場所を見つける必要があります。それには、メインのTiddlyDesktopウィンドウの“Settings”ボタンをクリックし、“Open user config folder”ボタンをクリックします。次に、上へ移動して“TiddlyDesktop”という名前の親フォルダを見つけます。問題が発生した場合は、このフォルダ全体を削除してTiddlyDesktopを初期状態にリセットできます。 + +TiddlyDesktopメインウィンドウのBackstageボタンをクリックすると、バックステージWikiが開きます。これは、TiddlyDesktopのUIとロジックを実行する、TiddlyWikiの Node.jsのようなインスタンスです。 + +!! "Add a ~TiddlyWiki Folder"ボタンを削除する方法。 + +バックステージWiki内で、`WikiListToolbar`Tiddlerを見つけます(HelloThereにリンクがあります)。それをクリックして編集モードにすると、すべてのツールバーボタンのWikiテキストが表示されます。変更を加えて“done”をクリックすると、変更がTiddlyDesktopのメインウィンドウにすぐに反映されます。 + +!! "advanced"ボタンを"reveal backups"ボタンに変更する方法。 + +`$:/TiddlyDesktop/Settings`Tiddlerから“reveal backups”ボタンのコードをコピーして、`WikiListToolbar`にペーストします。 + +!! 色を変える方法。 + +TiddlyWikiと同様に、パレットを使用することも、独自のカスタムCSSを定義することもできます。 + +!! ティドラーがリストされる順序(アルファベット順)を変更する方法。 + +`WikiList`Tiddlerを開いて、編集にし、最後までスクロールします。次に、''wikilist''マクロの中を`<$list>`ウィジェットを変更します: + +``` +<$list filter="[tag[wikilist]sort[title]!has[draft.of]]" emptyMessage="開始するには、~TiddlyWikiファイルやフォルダーを追加してください。上のボタンをクリックして参照するか、ファイルエクスプローラー/ファインダーからドラッグアンドドロップします" storyview="pop"> +``` + diff --git a/editions/ja-JP/tiddlers/howtos/How to embed PDF and other documents.tid b/editions/ja-JP/tiddlers/howtos/How to embed PDF and other documents.tid new file mode 100644 index 000000000..404a29eb1 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/How to embed PDF and other documents.tid @@ -0,0 +1,37 @@ +created: 20141117000000000 +modified: 20241026105359133 +original-modified: 20230803051806817 +tags: Learning +title: How to embed PDF and other documents +ja-title: PDFやその他のドキュメントを埋め込む方法 +type: text/vnd.tiddlywiki + +!!! 埋め込み vs 外部リンクに関する注意 + +''注:'' 特定の種類のファイルを埋め込む方法を説明する前に、埋め込まずに、次のように外部リソースにリンクすることを検討してください: + +``` +[ext[title|path/to/that.file]] +``` + +次に、ブラウザにリソースの処理方法を決定させます。この方法の利点は、シンプルで迅速であることです。欠点は、ファイルが実際にはTW5ファイルと一緒に移動せず、以下の方法#2でファイルパスをすばやく`node.js`を使用できないことです。 + +!! TW5ファイルにPDFを埋め込む2つの方法。 + +!!! 1. ドラッグアンドドロップによる埋め込み + +1つは、ファイルをTW5ファイルにドラッグアンドドロップすることです。上部に緑色のバーが表示されるまで待ってからドロップし、インポートTiddlerからインポートします。これにより、インポートしたPDF(またはその他のファイル)の内容がTW5ファイルに実際に埋め込まれます。 + +PDFが大きすぎない限り、この方法はOKです。TW5ファイルが大きくなりすぎると問題が生じる可能性があります。 + +!!! 2. '_canonical_uri'による埋め込み + +もう1つの方法は、外部ファイルへのTiddlerリンクを作成することです。この方法では、ファイルは実際にはTW5ファイルに組み込まれませんが、埋め込みファイルと同様に、`{{My Image File.jpg}}`トランスクルージョン構文を使用してアクセスできます。ファイルの場所アドレスは、[[Node.js]]で変更することもできます。node.jsで外部画像を使用する方法の詳細については、[[外部画像|ExternalImages]]を参照してください。 + +`_canonical_uri`フィールドを持つTiddlerを作成します。外部ファイルへのローカルアドレスを入力します。`type`フィールドに`application/pdf`を設定します。 + +どちらの方法でも、適切に設定されたブラウザを使用すれば、埋め込まれたPDFファイルが表示されます。 + +!!! 他のファイルの種類 + +TW5が認識できるファイル形式は限られています。[[コンテンツタイプ|ContentType]]にリストがあります。ブラウザやTW5が特定のファイル形式をどう処理すればよいか分からない場合は、2番目の方法を使用してファイルを埋め込んでからダウンロードするしかありません。Tiddlerを編集すると、リンクが表示されます。ファイルをダウンロードするには、リンクを右クリックできます。 diff --git a/editions/ja-JP/tiddlers/howtos/How to export tiddlers.tid b/editions/ja-JP/tiddlers/howtos/How to export tiddlers.tid new file mode 100644 index 000000000..8c2920f33 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/How to export tiddlers.tid @@ -0,0 +1,32 @@ +created: 20151006145934884 +modified: 20241020112248683 +original-modified: 20160610084018658 +tags: Learning +title: How to export tiddlers +ja-title: Tiddlerのエクスポート方法 +type: text/vnd.tiddlywiki + +! すべてのTiddlerをエクスポートする + +''すべて''のTiddlerをエクスポートするには、サイドバーの"ツール"タブをクリックします。<<.icon $:/core/images/export-button>>''すべてエクスポート''ボタンを見つけてクリックします。ポップアップメニューで、Tiddlerをエクスポートする形式の選択がいくつか提供されます + +! Tiddlerのエクスポート + +特定のTiddlerをエクスポートする場合は、まずそのTiddlerに移動します。次に、Tiddler上部に表示される<<.icon $:/core/images/down-arrow>>''その他のコマンド''ボタンをクリックします。表示されるリストから<<.icon $:/core/images/export-button>>''Tiddlerをエクスポート''を選択します。ポップアップメニューでは、Tiddlerをエクスポートする形式を選択できます + +! 条件に一致するTiddlerをエクスポートする(フィルター) + +Tiddlerを選択してエクスポートするには、サイドバーの検索領域の横にある小さな虫眼鏡<<.icon $:/core/images/advanced-search-button>>をクリックします。これにより、[[Advanced Search|$:/AdvancedSearch]]Tiddlerが開きます。Advanced Search Tiddlerの"フィルタ"タブをクリックします。[[フィルタ|Filters]]タブのみで、選択したTiddlerをエクスポートできます。[[フィルタ|Filters]]は特定の構文に従います。フィルタの作成方法については、この[[フィルタ|Filters]]リンクをクリックしてください + +フィルタを入力すると、そのフィルタに一致するTiddlerのリストが表示されます。これで、フィルタ入力フィールドの右側に、<<.icon $:/core/images/export-button>>''Tiddlerをエクスポート''ボタンをクリックできるようになります。ポップアップメニューでは、Tiddlerをエクスポートする形式を選択できます + +! エクスポート形式 + +現在、利用可能なエクスポート形式は次のとおりです: + +* CSVファイル形式 +* JSONファイル形式 +* 静的HTMLファイル +* ".tid"ファイル形式 + +この``".tid"``形式は、すべてのTiddlerまたは選択したTiddlerをエクスポートしようとしても、1つのTiddlerだけがエクスポートされるという点で他の形式とは異なります \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/How to hide the author's and other fields with CSS.tid b/editions/ja-JP/tiddlers/howtos/How to hide the author's and other fields with CSS.tid new file mode 100644 index 000000000..f13b01efc --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/How to hide the author's and other fields with CSS.tid @@ -0,0 +1,33 @@ +created: 20180309232911422 +modified: 20241020113622005 +original-modified: 20180310201216266 +tags: Learning +title: How to hide the author's and other fields with CSS +ja-title: CSSで作成者やその他フィールドを非表示にする方法 +type: text/vnd.tiddlywiki + +すべてのTiddlerで作成者の名前を非表示にして、画面スペースを節約したい場合があります。簡単な方法は次のとおりです: + +* 任意のタイトルを付けて新しいTiddlerを作成します +* Tiddlerにタグ`$:/tags/Stylesheet`を付けます +* Tiddlerのテキストフィールドに次のように入力します: + +``` +.tc-subtitle .tc-tiddlylink {display:none;} +``` + +* Tiddlerを保存します。作成者名フィールドは表示されなくなります + +同様に、作成者と日付を含むサブタイトルフィールド全体を削除するには: + +``` +.tc-subtitle {display:none;} +``` + +残念ながら、CSSを使用して作成者を非表示にせずに日付だけを非表示にすることはできません + +最後に、本当に最小限の外観にするために、タイトルを削除するには: + +``` +h2.tc-title {display:none;) +``` diff --git a/editions/ja-JP/tiddlers/howtos/How to put the last modification date in a banner.tid b/editions/ja-JP/tiddlers/howtos/How to put the last modification date in a banner.tid new file mode 100644 index 000000000..9e4d76bee --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/How to put the last modification date in a banner.tid @@ -0,0 +1,29 @@ +created: 20141020111002211 +modified: 20241021111644842 +original-modified: 20160617125921235 +tags: Learning +title: How to put the last modification date in a banner +ja-title: バナーに最終更新日を記載する方法 +type: text/vnd.tiddlywiki + +ウィンドウの角のバナーにWikiの最終更新日を表示する方法は次のとおりです + +# ~TiddlyWikiに<<.def "Corner ribbon">>[[プラグインをインストールする|Installing a plugin from the plugin library]] +# Wikiを保存(<<.icon $:/core/images/save-button-dynamic>>)し、再読み込み(<<.icon $:/core/images/refresh-button>>)します +# [[$:/_MyRibbon]]という名の新しいTiddlerを作成し、[[$:/tags/PageControls]]のタグを付け、次の内容を含めます:
+ +``` +
+
+<$list filter="[!is[system]!has[draft.of]!sort[modified]limit[1]]"> +<$link> +<$view field="modified" format="date" template="DD mmm YYYY at 0hh:0mm"/> + + +
+
+``` +
+# 必要に応じて、背景色の値を好みに合わせて変更します +# 位置決めクラスを`right`から`right-bottom`に変更することもできます +## バナーを左上に表示するには、[[$:/tags/PageControls]]の代わりに、[[$:/tags/PageTemplate]]のタグを付け、位置決めクラスを`left`に変更します \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/How to update TiddlyWiki to the latest version.tid b/editions/ja-JP/tiddlers/howtos/How to update TiddlyWiki to the latest version.tid new file mode 100644 index 000000000..b1827d0fb --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/How to update TiddlyWiki to the latest version.tid @@ -0,0 +1,9 @@ +created: 20220426221124514 +modified: 20241109111750817 +original-modified: 20220426221240671 +tags: [[Working with TiddlyWiki]] +title: How to update TiddlyWiki to the latest version +ja-title: TiddlyWikiを最新バージョンにアップデートする方法 +type: text/vnd.tiddlywiki + +{{Upgrading}} \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/How to widen tiddlers (aka storyriver).tid b/editions/ja-JP/tiddlers/howtos/How to widen tiddlers (aka storyriver).tid new file mode 100644 index 000000000..5c7ee4efc --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/How to widen tiddlers (aka storyriver).tid @@ -0,0 +1,17 @@ +created: 20161208000000000 +modified: 20241021113311176 +original-modified: 20161208000000000 +tags: Learning [[Customise TiddlyWiki]] +title: How to widen tiddlers (aka storyriver) +ja-title: Tiddler(別名ストーリーリバー)を広げる方法 +type: text/vnd.tiddlywiki + +次の方法で、Tiddler(ストーリーリバーとも呼ばれる)のメイン列の幅を変更できます: + +* 設定の歯車をクリックしてコントロールパネルを開きます +* コントロールパネルで "外観" を選択し、"Theme Tweaks"を選択します +* Theme tweaksで、下にスクロールします + +`story right`と`story width`、`tiddler width`の設定が表示されます。これらの数値を、より大きな値に設定すると、Tiddlerの幅 を広げることができます。一般的に、`story right`と`story width`は、同じサイズか、`tiddler width`を少し小さくします。Tiddlerの幅にパーセンテージを使用することもできます。 +サイドバーがページの上部に表示されても構わない場合を除き、サイドバーのブレークポイントをストーリーリバーよりも大きなものに変更することもできます + diff --git a/editions/ja-JP/tiddlers/howtos/How_to_add_a_new_tab_to_the_sidebar.tid b/editions/ja-JP/tiddlers/howtos/How_to_add_a_new_tab_to_the_sidebar.tid new file mode 100644 index 000000000..3a02bfdee --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/How_to_add_a_new_tab_to_the_sidebar.tid @@ -0,0 +1,17 @@ +created: 20141117000000000 +modified: 20241020105658198 +original-modified: 20170204191253218 +tags: Learning [[Customise TiddlyWiki]] +title: How to add a new tab to the sidebar +ja-title: サイドバーに新しいタブを追加する方法 +type: text/vnd.tiddlywiki + +サイドバーメニューに新しいタブを作成するには: + +# Tiddlerを作成し、[[システムタグ|SystemTags]]の[[$:/tags/SideBar]]タグでタグ付けします +#* 目次を作成するには、[[目次マクロ|Table-of-Contents Macros]]を使用して新しいタブTiddlerを設定します。例えば、ここで使用している[[目次|TableOfContents]]を参照してください +# デフォルトでは、Tiddlerタイトルがタブのタイトルとして使用されますが、`caption`フィールドを使用してオーバーライドできます +# タブの順序を定義するには、[[タグ付け|Tagging]]で説明したように、`list-after`フィールドや`list-before`フィールドを使用します +#* 例: `list-after`に[[$:/core/ui/SideBar/Open]]をセットすると、"表示中"タブの直後にサイドバータブが配置されます + +タグ`$:/tags/MoreSideBar`を使用すると、同様の方法で"詳しく"タブの下に新しいタブを作成できます \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/How_to_turn_off_camel_case_linking.tid b/editions/ja-JP/tiddlers/howtos/How_to_turn_off_camel_case_linking.tid new file mode 100644 index 000000000..130fe0156 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/How_to_turn_off_camel_case_linking.tid @@ -0,0 +1,27 @@ +created: 20161209172820513 +modified: 20241021112200962 +original-modified: 20240923161828376 +tags: [[Customise TiddlyWiki]] Learning +title: How to turn off camel case linking +ja-title: キャメルケースリンクをオフにする方法 +type: text/vnd.tiddlywiki + +[[キャメルケース|CamelCase]]は多くのWikiで使用されていますが、状況によってはテキスト表示に支障をきたす可能性があります。 + +!! キャメルケースを局所的にオフにする + +特定の[[キャメルケース|CamelCase]]ワードがリンクされないようにするには、次のようにワードの前にチルダ(~)を書きます: + +``` +~CamelCase +``` + +Tiddler全体に対して[[キャメルケース|CamelCase]]を無効にする必要がある場合は、[[\rulesプラグマ|Pragma: \rules]]を使用できます: + +``` +\rules except wikilink +``` + +!! キャメルケースをグローバルにオフにする + +すべてのTiddlerで[[キャメルケース|CamelCase]]をオフにするには、[[コントロールパネル|$:/ControlPanel]]に移動します。`設定`タブを選択し、``Camel Case Wiki リンク``セクションまでスクロールするか読み進み、``自動で CamelCase リンクを有効にする``の選択を解除します。 \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/Insert link.tid b/editions/ja-JP/tiddlers/howtos/Insert link.tid new file mode 100644 index 000000000..4a7cc8726 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Insert link.tid @@ -0,0 +1,12 @@ +created: 20160817095829521 +modified: 20241104110119177 +original-modified: 20160817105713406 +tags: [[Editor toolbar]] +title: Insert link +ja-title: リンクを挿入 + +Wiki内に存在するTiddlerを検索して選択するためのダイアログが表示されます。Tiddlerを選択すると、テキストフィールドのカーソルがある場所にWikiTextリンクとして挿入されます + +<<.icon $:/core/images/link>>を押すと、`[[Some link]]`が得られます + +外部のWebリンクや[[画像|Insert picture]]リンクは挿入され''ません'' \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/Insert picture.tid b/editions/ja-JP/tiddlers/howtos/Insert picture.tid new file mode 100644 index 000000000..308a299c0 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Insert picture.tid @@ -0,0 +1,10 @@ +created: 20160817100415079 +modified: 20241104110350495 +original-modified: 20160817110210268 +tags: [[Editor toolbar]] +title: Insert picture +ja-title: 画像を挿入 + +Wiki内に存在する画像Tiddlerを検索して選択するためのダイアログが表示されます。Tiddlerを選択すると、テキストフィールドのカーソルがある場所にWikiText画像リンクとして挿入されます + +<<.icon $:/core/images/picture>>を押すと、`[img[$:/favicon.ico]]`が得られます \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/KeyboardShortcuts.tid b/editions/ja-JP/tiddlers/howtos/KeyboardShortcuts.tid new file mode 100644 index 000000000..673b0e9a3 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/KeyboardShortcuts.tid @@ -0,0 +1,38 @@ +created: 20140526204527418 +modified: 20241105115108927 +original-modified: 20160610082117953 +tags: Features [[Working with TiddlyWiki]] +title: KeyboardShortcuts +ja-title: キーボードショートカット +type: text/vnd.tiddlywiki + +キーボードショートカットは、<<.wlink KeyboardWidget>>ウィジェットや[[キーボードショートカットTiddler|Keyboard Shortcut Tiddler]]で使用できます + +<<.tip """<$macrocall $name=".wlink" to="KeyboardWidget"/>ウィジェットを使用すると、`input`や`textarea`フィールド内でショートカットアクセスができるようになります +
+[[キーボードショートカットTiddler|Keyboard Shortcut Tiddler]]で定義されたショートカットにより、グローバルにショートカットアクセスできるようになります""">> + +!!! 独自のショートカットを作成するための詳しい説明については、[[キーボードショートカットの作成方法|How to create keyboard shortcuts]]を参照してください + +キーボードショートカットは、テキストエディター内の一般的な編集操作に使用できます: + +* キーボードフォーカスを含むドラフトTiddlerでの変更の確定(デフォルトはctrl-Enter) +* キーボードフォーカスを含むドラフトTiddlerでの変更のキャンセル(デフォルトはescape) +* Tiddler編集ツールバーの書式設定操作(ツールチップを参照) + +<<.from-version 5.1.18>> : 新しい''グローバル''キーボードショートカット: + +|!動作 |!デフォルトショートカット| +|新しいTiddlerの作成 |alt-N | +|新しいジャーナルの作成 |alt-J | +|新しい画像の作成 |alt-I | +|サイドバー検索をフォーカス |<<.from-version 5.1.20>>ctrl-shift-F | +|サイドバー表示のトグル |<<.from-version 5.1.20>>shift-alt-S | +|高度な検索 |<<.from-version 5.1.20>>ctrl-shift-A | + +現在のショートカットは、[[コントロールパネル|$:/ControlPanel]] <<.icon $:/core/images/options-button>>の"キーボードショートカット"タブで確認とカスタマイズができます + +!! 特殊キー + +; エディターでタグの追加 +: <<.from-version 5.1.14>> : 新しいタグ入力で、Enterを押すとタグが追加されます \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/Making a custom journal button.tid b/editions/ja-JP/tiddlers/howtos/Making a custom journal button.tid new file mode 100644 index 000000000..cbdea304f --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Making a custom journal button.tid @@ -0,0 +1,43 @@ +created: 20160424150551727 +modified: 20241117105431939 +original-modified: 20171114215846324 +tags: [[Customise TiddlyWiki]] +title: Making a custom journal button +ja-title: カスタムジャーナルボタンの作成 +type: text/vnd.tiddlywiki + +独自の''//カスタム//''ジャーナルボタンを取得するには、まず[[新しいジャーナル|$:/core/ui/Buttons/new-journal]]ボタンを複製します + +次に、独自の設定用Tiddlerを作成します。例: + +* ``$:/config/myNewTiddler/Tags``と... +* ``$:/config/myNewTiddler/Title``と... +* ``$:/config/myNewTiddler/Text`` + +カスタムボタンを編集し、設定用Tiddler名を"検索して置換"します + +Tiddlerの終わり近くにある次の行を修正します + +修正前 + +``` +<$set name="journalTitleTemplate" value={{$:/config/NewJournal/Title}}> +<$set name="journalTags" value={{$:/config/NewJournal/Tags}}> +<$set name="journalText" value={{$:/config/NewJournal/Text}}> +``` + +修正後 + +``` +<$set name="journalTitleTemplate" value={{$:/config/myNewTiddler/Title}}> +<$set name="journalTags" value={{$:/config/myNewTiddler/Tags}}> +<$set name="journalText" value={{$:/config/myNewTiddler/Text}}> +``` + +サイドバーで使用したい場合は、設定用Tiddlerを次のようにします: + +``` +<$set name="journalTitleTemplate" value={{config/myNewTiddler/Title}}> +<$set name="journalTags" value={{config/myNewTiddler/Tags}}> +<$set name="journalText" value={{config/myNewTiddler/Text}}> +``` diff --git a/editions/ja-JP/tiddlers/howtos/Making curved text with SVG.tid b/editions/ja-JP/tiddlers/howtos/Making curved text with SVG.tid new file mode 100644 index 000000000..ee17093bd --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Making curved text with SVG.tid @@ -0,0 +1,28 @@ +created: 20140324223413403 +modified: 20240422111609609 +original-modified: 20150505063713581 +tags: Learning +title: Making curved text with SVG +ja-title: SVGでカーブしたテキストを作成する +type: text/vnd.tiddlywiki + +\define textOnPath(text) +$$$.svg + + + + + + + +$text$ + + + +$$$ +\end +このデモでは、SVGを使用してパスに沿ってトランスクルードされたテキストをレンダリングする方法を示します。下のテキストボックスにテキストを入力して試してください。[[ソースを表示|Making curved text with SVG]]して、それがどのように行われているかを確認してください + +<$edit-text tiddler="$:/CurvedText" tag="input" placeholder="Type text here" default=""/> + +<$macrocall $name="textOnPath" text={{$:/CurvedText}}/> diff --git a/editions/ja-JP/tiddlers/howtos/Modifying JSON tiddlers.tid b/editions/ja-JP/tiddlers/howtos/Modifying JSON tiddlers.tid new file mode 100644 index 000000000..0fcac5bba --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Modifying JSON tiddlers.tid @@ -0,0 +1,20 @@ +created: 20220427174702859 +modified: 20241021114009394 +original-modified: 20220427171707459 +tags: [[JSON in TiddlyWiki]] Learning +title: Modifying JSON tiddlers +ja-title: JSON Tiddlerの修正 +type: text/vnd.tiddlywiki + +TiddlyWikiでのJSONの扱い方の概要については、[[TiddlyWikiでのJSON|JSON in TiddlyWiki]]を参照してください + +注意 + +!! ActionSetFieldWidgetとActionListopsWidgetの使用について + +ウィジェットActionSetFieldWidgetとActionListopsWidgetは、$index属性でプロパティの名前を指定することにより、データTiddlerの名前付きプロパティを操作できます + +* ActionSetFieldWidgetを使用して名前付きプロパティを作成、変更するには、$value属性を指定します +* ActionSetFieldWidgetを使用して名前付きプロパティを削除するには、$value属性を省略します + +ActionListopsWidgetは、$filter属性と$subfilter属性を通じて構築されたリストの名前付きプロパティを割り当てます diff --git a/editions/ja-JP/tiddlers/howtos/More actions.tid b/editions/ja-JP/tiddlers/howtos/More actions.tid new file mode 100644 index 000000000..2b7352375 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/More actions.tid @@ -0,0 +1,8 @@ +created: 20160817104039668 +modified: 20241104110622367 +original-modified: 20160817110101356 +tags: [[Editor toolbar]] +title: More actions +ja-title: その他のコマンド + +<<.icon $:/core/images/down-arrow>>を押すと、より多くの編集オプションを含むドロップダウンメニューが表示されます \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/Preserving open tiddlers at startup.tid b/editions/ja-JP/tiddlers/howtos/Preserving open tiddlers at startup.tid new file mode 100644 index 000000000..e3d57e6d0 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Preserving open tiddlers at startup.tid @@ -0,0 +1,17 @@ +created: 20140101192052333 +modified: 20241117105837064 +original-modified: 20140912142248706 +tags: [[Customise TiddlyWiki]] +title: Preserving open tiddlers at startup +ja-title: 開いているTiddlerを起動時に保持する +type: text/vnd.tiddlywiki + +通常、TiddlyWikiは起動時にTiddler[[$:/DefaultTiddlers]]でフィルターとして指定されたTiddlerを表示します + +ファイルを保存したときに開いていたTiddlerを再度開くと便利な場合があります。これを行うには、[[$:/DefaultTiddlers]]に次のフィルタを設定します: + +``` +[list[$:/StoryList]] +``` + +このフィルタは、[[$:/StoryList]]Tiddlerで指定されたTiddlerを返します。これは、TiddlyWikiが現在のストーリーのTiddlerのシーケンスを保存するために使用するシステムTiddlerです \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/Reading data from JSON tiddlers.tid b/editions/ja-JP/tiddlers/howtos/Reading data from JSON tiddlers.tid new file mode 100644 index 000000000..f2a143ccb --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Reading data from JSON tiddlers.tid @@ -0,0 +1,36 @@ +created: 20220427174702859 +modified: 20241022103806366 +original-modified: 20220611104737314 +tags: [[JSON in TiddlyWiki]] Learning +title: Reading data from JSON tiddlers +ja-title: JSON Tiddlerからのデータの読み取り +type: text/vnd.tiddlywiki + +TiddlyWikiでのJSONの扱い方の概要については、[[TiddlyWikiでのJSON|JSON in TiddlyWiki]]を参照してください + +!! JSONデータにアクセスするためのフィルター演算子 + +次のフィルター演算子を使用すると、JSONデータから値を読み取ることができます: + +* <<.olink jsonget>>は、JSONデータ内のプロパティの値を取得します +* <<.olink jsontype>>は、JSONの値の型を取得します +* <<.olink jsonindexes>>は、JSONオブジェクトのフィールドの名前やJSON配列のインデックスを取得します +* <<.olink jsonextract>>は、JSONの値をJSONの文字列として取得します + +!! JSONデータにアクセスするためのテキスト参照 + +[[テキスト参照|TextReference]]は、名前付きプロパティの値を検索するための単純なショートカット構文です。例えば、`MonthDays`という[[DictionaryTiddler|DictionaryTiddlers]]に次を含む場合: + +``` +oct:31 +nov:30 +dec:31 +``` + +... `{{MonthDays##nov}}`は、値`30`となります + +`MonthDays`が次の内容を含む[[JSONTiddler|JSONTiddlers]]の場合も同様です: + +``` +{"oct":31,"nov":30,"dec":31} +``` diff --git a/editions/ja-JP/tiddlers/howtos/Setting a favicon.tid b/editions/ja-JP/tiddlers/howtos/Setting a favicon.tid new file mode 100644 index 000000000..41210fd31 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Setting a favicon.tid @@ -0,0 +1,19 @@ +created: 20131224074240979 +modified: 20241117110141506 +original-modified: 20200510115704738 +tags: [[Customise TiddlyWiki]] +title: Setting a favicon +ja-title: faviconを設定する +type: text/vnd.tiddlywiki + +"favicon"は、Webサイトを区別できるようにするために、主なブラウザで表示される小さなアイコンです。すべてのブラウザはビットマップ画像形式をサポートしていますが、SVG画像形式のアイコンをサポートしているのは特定の最新ブラウザだけであることに注意してください。 + +! ブラウザのfavicon + +TiddlyWikiがブラウザで起動すると、[[$:/favicon.ico]]というTiddlerが検索され、ページのfaviconとして動的に使用されます。画像を変更すると、faviconが即座に変更され、反映されます。 + +<<.from-version "5.1.23">> 外部画像をfaviconとして設定するには、[[$:/favicon.ico]]Tiddlerの''_canonical_uri''フィールドにURLを割り当てます。 + +! サーバ上のfavicon + +サーバ上では、ServerCommandがパス`/favicon.ico`に[[$:/favicon.ico]]Tiddlerを提供します。 diff --git a/editions/ja-JP/tiddlers/howtos/Setting a page background image.tid b/editions/ja-JP/tiddlers/howtos/Setting a page background image.tid new file mode 100644 index 000000000..ccfff920c --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Setting a page background image.tid @@ -0,0 +1,19 @@ +created: 20150417155912612 +modified: 20241117110849866 +original-modified: 20230803044412567 +tags: [[Customise TiddlyWiki]] +title: Setting a page background image +ja-title: ページの背景画像を設定する +type: text/vnd.tiddlywiki + +# 画像をTiddlerとしてインポートします([[WikiTextでの画像|Images in WikiText]]を参照) +#* [[外部の画像|ExternalImages]]も使用できます +# [[コントロールパネル|$:/ControlPanel]]<<.icon $:/core/images/options-button>>を開き、''外観''/''Theme Tweaks''タブに切り替えます +# "Page background image"というラベルのドロップダウンリストから画像を選択します +# "Page background image attachment"を"Fixed to window"に設定すると、背景が固定され、コンテンツがその上でスクロールします。また、"Scroll with tiddlers"に設定すると背景も移動します(iPhone/iPadではパフォーマンス上の理由から[[Fixed設定はサポートされない|http://stackoverflow.com/a/20444219]]ことに注意してください) +# "Page background image size"を以下のように設定します: +#* ''Auto''は、ページの背景に背景画像が並べて表示されます +#* ''Cover''は、背景画像がページを完全に覆うようにサイズ調整されます。画像の端が切り取られる場合があります +#* ''Contain''は、背景画像がページ内に収まるようにサイズ変更されます + +[[DarkPhotos|ColourPalettes]]パレットは、暗い背景画像でサイドバーを読みやすくするために提供されていることに注意してください。 \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/Sharing a TiddlyWiki on Dropbox.tid b/editions/ja-JP/tiddlers/howtos/Sharing a TiddlyWiki on Dropbox.tid new file mode 100644 index 000000000..4e81ded8c --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Sharing a TiddlyWiki on Dropbox.tid @@ -0,0 +1,27 @@ +created: 20140122085818089 +modified: 20241016110752969 +original-modified: 20150608032039504 +tags: Learning +title: Sharing a TiddlyWiki on Dropbox +ja-title: TiddlyWikiをDropboxで共有する +type: text/vnd.tiddlywiki + +DropboxでTiddlyWikiファイルを操作し、誰でもファイルの読み取り専用ビューを表示できるURLを公開できます + +# TiddlyWikiファイルをDropboxのフォルダ内に保存します +# Dropboxの"リンクを共有"オプションを選択して、ファイルのパブリックURLを取得します +#* Dropbox Webインターフェイスでは、ファイルの上にマウスを置くと表示されるリンクアイコンをクリックします。Dropboxは、OS XのFinderとWindowsのExplorerのファイルコンテキストメニューに"リンクを共有"項目も追加します +# Dropboxによって生成されるURLは次の形式になります: +#> `https://www.dropbox.com/s//mywiki.html` +# gobbledegookを変更しないように注意しながら、URLを次のように変更します +#> `https://dl.dropboxusercontent.com/s//mywiki.html` + +その結果、他の人にWikiを表示できるようにするための"秘密"のURLが作成できます + +---- + +生成されたURLをここに入力すると、秘密のURLをコピーして貼り付けることができます: + +<$edit-text tiddler="$:/temp/dropboxurl" default="https://www.dropbox.com/s//mywiki.html" tag="input" type="text" size="60"/> + +<$macrocall $name="dropbox-url" url={{$:/temp/dropboxurl}}/> diff --git a/editions/ja-JP/tiddlers/howtos/Simple ways to write protect tiddlers.tid b/editions/ja-JP/tiddlers/howtos/Simple ways to write protect tiddlers.tid new file mode 100644 index 000000000..7cadd12ed --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Simple ways to write protect tiddlers.tid @@ -0,0 +1,32 @@ +created: 20180310002601813 +modified: 20241022104217783 +original-modified: 20211106021629911 +tags: Learning [[How to apply custom styles]] +title: Simple ways to write protect tiddlers +ja-title: TIddlerの書き込み保護するための簡単な方法 +type: text/vnd.tiddlywiki + +自分自身やゲストによるTiddlyWikiファイルへの意図しない変更からTiddlerを保護したい場合があります。ここでは簡単なアプローチをいくつか紹介します。これらは意図的な攻撃に対する強化された保護を提供するものではないことに注意してください + +!! スタイルシートを使用してタグ名指定でTiddlerをロックする + +次の内容でTiddlerを作成し、次のように`$:/tags/Stylesheet`のタグ付けをします: + +```css +[data-tags*="Locked"] button[title="このTIddlerを編集します"] {display: none;} +``` + +TWの言語が英語ではない場合は、'title="...."'内のテキストを編集ボタンの上にカーソルを置いたときに表示されるテキストに変更する必要があります + +これで、"Locked"とタグ付けしたすべてのTiddlerの編集ボタンが非表示になります。これを元に戻すには、スタイルシートTiddlerを開いて、"none"を"inline"に変更します + +!! トランスクルージョンを使用してシステムTiddler内にTiddlerを非表示にする + +* 編集のためにTiddlerを開きます +* タイトルを選択してコピーします +* すべてのTiddlerテキストを選択します +* 切り出しツールをクリックします +* タイトル ボックスに、`$:/`を入力し、元のタイトルをペーストします +* デフォルトを使用してテキストを新しいTiddlerに切り出し、トランスクルージョンに置き換えます + +これで、元のTiddlerの内容を表示できますが、それらを編集するには、プレフィックス`$:/`が付いたTiddlerを見つける必要があります \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/Structuring TiddlyWiki.tid b/editions/ja-JP/tiddlers/howtos/Structuring TiddlyWiki.tid new file mode 100644 index 000000000..afbea9f5f --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Structuring TiddlyWiki.tid @@ -0,0 +1,14 @@ +created: 20131128090536894 +modified: 20241105114805743 +original-modified: 20150124211518000 +tags: [[Working with TiddlyWiki]] +title: Structuring TiddlyWiki +ja-title: TiddlyWikiの構造化 +type: text/vnd.tiddlywiki + +TiddlyWiki5は、[[Tiddler|Tiddlers]]として情報を構造化し、それらの間の関係をモデル化するのに役立ついくつかの機能を提供します: + +* [[Tiddlerリンク|TiddlerLinks]] +* [[タグ付け|Tagging]] +* [[タイトルリスト|Title List]] +* [[データTiddler|DataTiddlers]] diff --git a/editions/ja-JP/tiddlers/howtos/Tagging.tid b/editions/ja-JP/tiddlers/howtos/Tagging.tid new file mode 100644 index 000000000..9313597b2 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Tagging.tid @@ -0,0 +1,42 @@ +created: 20140904075400000 +modified: 20241108110017096 +original-modified: 20230803050201458 +tags: [[Working with TiddlyWiki]] Concepts +title: Tagging +ja-title: タグ付け +type: text/vnd.tiddlywiki + +タグ付けは、Tiddlerをカテゴリに分類する方法です。たとえば、さまざまな個人を表すTiddlerがある場合、''友人''、''家族''、''同僚''などのタグを付けて、これらの人々と自分との関係を示すことができます。 + +タグは実際には単なるTiddler(または潜在的なTiddler)であり、独自のタグを持つことができます。同じTiddlerに好きなだけタグを追加できます。 + +タグ付けの方法については、[[Tiddlerの作成と編集|Creating and editing tiddlers]]を参照してください。 + +Tiddlerにタグを付けると、さまざまな方法で情報を表示、ナビゲート、整理できます: + +* Tiddlerに色付きタグピルを使用すると、同じタグを持つ他のすべてのTiddlerだけでなく、タグ自体を表すTiddlerにもすばやくアクセスできます。 + +* Tiddlerがタグとして機能している場合、その[[情報パネル|InfoPanel]]の''この名でタグ付け''タブに、現在どのTiddlerにタグが付けられているかが表示されます。 + +* サイドバーの''詳しく''タブには''タグ別''タブがあり、すべてのタグが一覧表示され、タグ付けされたすべてのTiddlerにアクセスできます。 + +* [[フィルタ|Filters]]を使用して、タグを基準にTiddlerのリストを作成できます。そして、それらのTiddlerの[[フィールド|TiddlerFields]]を任意に組み合わせて表示できます。たとえば、''用語集''タグが付けられたすべてのTiddlerのタイトルとテキストを一覧表示して用語集を作成できます。このようなリストは、たとえば箇条書き、番号付きリスト、カンマ区切りなど、任意の形式でフォーマットできます。 + +* Tiddlerと~TiddlyWikiページ全体のレイアウトを制御する特別な''システムタグ''があります。説明については、[[ページとTiddlerのレイアウトのカスタマイズ|Customising TiddlyWiki's user interface]]を参照してください。 + +タグを使用してできることがさらに2つあります: + +! タグの色とアイコンを設定する + +サイドバーの''詳しく''の''タグ別''タブにある<<.icon $:/core/images/tag-button>> [[タグの管理|$:/TagManager]]を使用して、タグのピルの色を変更したり、ピルにアイコンを追加したりできます。 + +* 色を変更するには、''色''列のボタンをクリックしてカラーピッカーから選択します。または、''情報''列のアイコンをクリックし、''色''フィールドに[[CSS|Cascading Style Sheets]]のカラー値を入力します +* アイコンを変更するには、''アイコン''列の<<.icon $:/core/images/down-arrow>>ボタンをクリックし、利用可能なアイコンのリストから選択します + +! タグの表示順序を変更する + +デフォルトでは、タグ付けされたTiddlerはアルファベット順にリストされます。 + +順序を変更したい場合は、タグTiddlerに<<.flink ListField>>フィールドを追加し、その値として、並べたい順の[[Tiddlerのリスト|Title List]]を設定します。 + +''list''フィールドには、すべてのTiddlerを記載する必要はありません。~TiddlyWikiがタグ付けされたTiddlerを順序付けるために使用する[[正確なルール|Order of Tagged Tiddlers]]を参照してください。 \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/Text preview.tid b/editions/ja-JP/tiddlers/howtos/Text preview.tid new file mode 100644 index 000000000..1918e0a77 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Text preview.tid @@ -0,0 +1,20 @@ +created: 20160817104110857 +modified: 20241104110951286 +original-modified: 20211029090145708 +tags: [[Editor toolbar]] +title: Text preview +ja-title: テキストプレビュー + +目のアイコン{{$:/core/ui/EditorToolbar/preview}}を押すと、WikiTextのレンダリング結果を表示するプレビューウィンドウが開いたり閉じたりします(目のアイコンも開いたり閉じたりします)。 + +目の右側には別のアイコン{{$:/core/images/chevron-down}}があり、クリックするとドロップダウンが表示され、6種類のプレビューにアクセスできます: + +* //出力//は、Tiddlerを編集していないときに表示されるテキストが表示されます。 +* //raw HTML//は、 その出力の[[ソースコード|https://www.w3schools.com/html/html_intro.asp]]を表示します。Web ブラウザーはこのソースコードを使用してWebページを表示します。 +* //parse tree//と//widget tree//は、~TiddlyWikiが~WikiTextから内部的に生成する2つのオブジェクトツリーを示します。//parse tree//は~WikiTextに関する基本情報を収集します。次に、parse treeの情報から//widget tree//が拡張情報を生成し、最終的に上記のHTMLを生成します(widget treeは他の処理も行います)。 +* //現在との差異//は、Tiddlerが最後に保存されてからの相違点を示します。削除された部分は、追加された部分はです。 +* //shadowとの相違点 (あれば)//は、同じことを行いますが、これは基礎となる[[隠しtiddler|ShadowTiddlers]]との違いを表示します。 + +<<.tip "デフォルトでは、プレビューペインボタンは、編集用に開いているすべてのTiddlerに対してプレビューペインを表示するかどうかを制御します。ボタンをTiddlerごとに機能させる[[隠し設定|Hidden Setting: Show Edit Preview per Tiddler]]があります。">> + +<<.tip "変数[[tv-tiddler-preview|tv-tiddler-preview Variable]]を使用すると、プレビューペインにコンテンツが表示されているかどうかを検出できます。">> \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/The First Rule of Using TiddlyWiki.tid b/editions/ja-JP/tiddlers/howtos/The First Rule of Using TiddlyWiki.tid new file mode 100644 index 000000000..2b2e2fc78 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/The First Rule of Using TiddlyWiki.tid @@ -0,0 +1,37 @@ +created: 20140419132828051 +modified: +original-modified: 20140919154434409 +tags: [[Working with TiddlyWiki]] +title: The First Rule of Using TiddlyWiki +ja-title: TiddlyWikiを使用する上での第一ルール +type: text/vnd.tiddlywiki + +! 悲惨な話 + +時折、TiddlyWikiユーザーが、ディスカッショングループで個人データの損失に関する悲痛な話の報告があります: + +> Tiddlyを保存中にFirefoxがクラッシュし、TiddlyWiki全体が消えてしまいました。 + +https://groups.google.com/d/topic/tiddlywiki/oG2L7OXhUoI/discussion + +> 最後に使用したのは昨夜、自宅のWindows 7デスクトップで、最後のエントリの編集を終えるためにチェックマークを押し、TiddlyFox経由で保存し、USBドライブを取り出しました。今朝仕事に来て、USBを差し込み、TW5パスワードを入力しましたが、何度か試しても開きません。TW5 htmlファイルを参照すると、ファイルサイズが3MBではなく、80KBになっていることに気付きました。これで、すべてを失ったと確信しました。 + +https://groups.google.com/d/topic/tiddlywiki/SXStDJ0ntGI/discussion + +あなたはそんなことが起きないようにしてください! + +!! The first rule of using TiddlyWiki is: +TiddlyWikiを使用する上での第一ルールは: + +

+データをバックアップしてください! +

+ +TiddlyWikiは、ユーザーが自分のデータをしっかりと管理できる、非常に柔軟でカスタマイズ可能なシステムです。TiddlyWikiの開発では、ユーザーの最も貴重なデータを安全に保管できる場所となるよう細心の注意が払われていますが、データ損失のリスクを軽減する最終的な責任はユーザーにあります。 + +データの安全性を確保する最善の方法は、厳格なバックアップシステムを実践することです: + +* Dropboxなどのサービスを使用して、個人データをクラウドに継続的にバックアップすることを検討してください。(Dropbox には、ファイルの以前のバージョンを追跡する[[素敵な機能|https://www.dropbox.com/help/11]]があります) +* TiddlyWikiを新バージョンにアップグレードする前にバックアップしてください +* 最悪のシナリオを想定して、自分自身を守りましょう: USBスティックやハードドライブが故障したら?コンピューターがランサムウェアウイルスに感染したら? +* 防御のため冗長性を持たせる: たとえば、複数のバックアップを取り、物理的に別の場所に保管してください diff --git a/editions/ja-JP/tiddlers/howtos/Upgrading.tid b/editions/ja-JP/tiddlers/howtos/Upgrading.tid new file mode 100644 index 000000000..8063b329d --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Upgrading.tid @@ -0,0 +1,64 @@ +created: 20131202102427114 +modified: 20241029111216866 +original-modified: 20160617105124677 +tags: Features [[Working with TiddlyWiki]] +title: Upgrading +ja-title: アップグレード +type: text/vnd.tiddlywiki + +TiddlyWikiは定期的にリリースされ、バグ修正や改良が行われています。定期的に最新バージョンにアップグレードして、最新の状態を保つことが最善です。 + +! イントロダクション + +ここで説明するプロセスは、スタンドアロンのTiddlyWikiファイルをアップグレードするためのものです。[[Node.js上のTiddlyWiki|TiddlyWiki on Node.js]]をアップグレードするには、[[別の手続き|Upgrading TiddlyWiki on Node.js]]が必要です。 + +<<< +アップグレードするときは、[[TiddlyWikiを使用する上での第一ルール|The First Rule of Using TiddlyWiki]]を思い出してください: + +//あなた自身のデータを管理する責任はあなたにあります。特に~TiddlyWikiコアをアップグレードするときは、バックアップするようにしてください// +<<< + +! オンラインアップグレード + +このプロセスは、ほとんどのデスクトップブラウザで機能します。このプロセスでは、個人データがブラウザから外部に送信されることはありません。 + +# ファイルシステムでTiddlyWikiファイルの場所を確認します(Windowsエクスプローラー、Mac OS Xの Finder、Linuxのファイル ネージャーなどを使用) +# ブラウザで https://tiddlywiki.com/upgrade.html にアクセスします + +# 古いTiddlyWiki HTMLファイルをブラウザのウィンドウにドラッグします +#* ファイルが暗号化されている場合はパスワードの入力を求められます +# アップグレードされるTiddlerのリストを確認します +# ''Upgrade''をクリックします +# 変更を保存して新しいバージョンを保存します(<<.icon $:/core/images/save-button-dynamic>>) + +これにより、''upgrade.html''というファイルがコンピューターにダウンロードされます。このファイルは、古いファイルのアップグレードです。''upgrade.html''がダウンロードされた場所を開き、''upgrade.html''の名前をアップグレードする古いファイルの名前に変更し、新しいファイルをその場所に移動して古いファイルを置き換える必要がある場合があります。 + +! オフラインアップグレード + +https://tiddlywiki.com/upgrade.html をローカルにダウンロードし、同じドラッグアンドドロップ手順を実行してファイルをアップグレードすることもできます。 + +! アップグレードに関する問題 + +!! Firefoxのセキュリティ制限 + +Firefoxを使用してオンラインアップグレード手順を実行すると、次のエラーが発生します: + +<<< +Error while saving: + +Error:NS_ERROR_DOM_BAD_URI: Access to restricted URI denied +<<< + +アップグレード操作は、Firefoxのセキュリティ制限に違反します。これが解決されるまで、オフラインアップグレーダーを使用するか、Chromeを使用してアップグレードを実行することをお勧めします: + +# Chromeを使用して https://tiddlywiki.com/upgrade.html を開き、アップグレードするTiddlyWiki HTMLファイルを、上記の''オンラインアップグレード''の説明に従ってアップグレードウィンドウにドラッグします +# アップグレードしたファイルを保存後、そのファイルをFirefoxで開いて、再び[[TiddlyFoxでの保存|Saving with TiddlyFox]]により保存できます。 + +!! 互換性のないカスタマイズ + +以前のバージョンで適用されたカスタマイズは、最新バージョンにアップグレードすると壊れる可能性があります。問題を追跡するために使用できる2つのテクニックがあります: + +* TiddlyWikiにカスタマイズを適用している可能性のあるTiddlerを選択しチェックを外して、アップグレードを繰り返してみてください +* [[セーフモード|SafeMode]]を使用して、隠しTiddlerのすべてのカスタマイズを無効にします + +[[Advanced search|$:/AdvancedSearch]]の''フィルタ''タブで、オーバーライドされた隠しTIddlerを確認できます。ドロップダウンから"上書きされている隠しTiddler"を選択します。 \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/Using Excise.tid b/editions/ja-JP/tiddlers/howtos/Using Excise.tid new file mode 100644 index 000000000..6a3e6776e --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Using Excise.tid @@ -0,0 +1,20 @@ +created: 20160810122928198 +modified: 20241104112946776 +original-modified: 20230803044526608 +tags: [[Editor toolbar]] +title: Using Excise +ja-title: 切り出しの使用 +type: text/vnd.tiddlywiki + +! テキストの切り出し +[[エディタツールバー|Editor toolbar]]から、選択したテキストを新しいTiddlerにエクスポートし、その場所に[[リンク|Linking in WikiText]]、[[トランスクルージョン|Transclusion]]、または[[マクロ|Macros]]を挿入できます。''選択したテキストを新しいティドラーに切り出します'' (<<.icon $:/core/images/excise>>)をクリックし、新しいTiddlerの名前を入力して、切り出し方法を選択します。 + +!! テキストの切り取り方法 +# 関連するテキストをハイライトします +# ''選択したテキストを新しいティドラーに切り出します''(<<.icon $:/core/images/excise>>)をクリックします +# 新しいTiddlerにタイトルを付けます。 +# 新しいTiddlerに現在のTiddlerのタイトルをタグ付けするかどうかを選択します(下記の注意を参照)。 +# 置き換え方法を選択します: [[リンク|Linking in WikiText]]、[[転出|Transclusion]]、または、[[マクロ|Macros]]。 +# ''{{$:/language/Buttons/Excise/Caption/Excise}}''ボタンをクリックします + +<<.strong 注意!>> `新しいTiddlerにこのTiddlerのタイトルをタグ付けします`オプションを選択した場合、新しいTiddlerは、編集される前の現在のTiddlerの名前でタグ付けされます。現在のTiddlerのタイトルを変更する場合は、最初に保存し、再度編集してから、このオプションで切り出しを実行します。 \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/Using SVG.tid b/editions/ja-JP/tiddlers/howtos/Using SVG.tid new file mode 100644 index 000000000..415cc8dc9 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Using SVG.tid @@ -0,0 +1,57 @@ +created: 20131028132700000 +modified: 20241219105600277 +original-modified: 20160618085859219 +tags: Features +title: Using SVG +ja-title: SVGの使用 +type: text/vnd.tiddlywiki + +TiddlyWiki5では、SVGを使用して2つの方法でベクターグラフィックスを表示できます: + +* `image/svg+xml`タイプのTiddlerはSVG画像として解釈され、`src`属性にデータURIとして埋め込まれたSVGを持つ自己包含型の``要素として表示、トランスクルードされます。 +** SVG画像の例としては、[[Motovun Jack.svg]]や[[Tiddler Fishes.svg]]を参照してください +* WikiTextには、インラインSVG要素を直接含めることもできます。例については以下を参照してください。 + +! SVG Tiddlerの埋め込み + +通常のトランスクルージョン構文を使用してSVG画像Tiddlerを埋め込むことができます: + +``` +{{Motovun Jack.jpg}} +``` + +[[WikiText の型付きブロック|Typed Blocks in WikiText]]を使用して、インラインでSVG Tiddlerを埋め込むこともできます。 + +``要素内でレンダリングされる画像の意味は、画像がサンドボックス化されることです。たとえば、親ドキュメントのCSSスタイルは使用されません。また、画像はトランスクルージョンなどのWikiText機能も使用できません。 + +! SVG要素の埋め込み + +SVGを使用するもう1つの方法は、``要素を直接埋め込むことです。例: + + + + + +インラインSVG要素には``宣言は必要ないことに留意してください。 + +! SVG画像にHTMLまたはWikiTextコンテンツを含める + +``要素を使用して、SVG画像に単純なテキスト文字列を含めることができます: + +みなさん、こんにちは + +``要素を使用して、HTMLやWikiTextコンテンツをインラインSVG画像内に含めることができます。例: + +これはワードラップが必要なテキストで、[[Tiddlerへのリンク|HelloThere]]が含まれています。 + +! SVG要素のトランスクルード + +SVG要素を埋め込むときは、トランスクルージョンなどのWikiText機能も使用できます。たとえば、半径がTiddler[[$:/SVGExampleRadius]]の値に設定されたSVG円を示します: + + + +半径の値を編集できます: <$edit-text tiddler="$:/SVGExampleRadius" tag="input"/> + +! SVGでカーブしたテキストを作成する + +{{Making curved text with SVG}} \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/Using Stamp.tid b/editions/ja-JP/tiddlers/howtos/Using Stamp.tid new file mode 100644 index 000000000..480680767 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Using Stamp.tid @@ -0,0 +1,59 @@ +created: 20160618090057124 +modified: 20241108105651649 +original-modified: 20230101114932775 +tags: [[Editor toolbar]] +title: Using Stamp +ja-title: スタンプの使用 +type: text/vnd.tiddlywiki + +スニペットは、[[ツールバー|Editor toolbar]]の''スタンプ'' (<<.icon $:/core/images/stamp>>)ボタンをクリックし、必要な項目をクリックすることでエディタに挿入できる、事前に構成されたテキストスニペットです。 + +スニペットは、エディタで選択したテキストを''置き換え''たり、''その前や後に追加''したりできます。 + +! スニペットを作成する +!! Tiddlerの編集で + +# ツールバーの''スタンプ''(<<.icon $:/core/images/stamp>>)をクリックします +# メニューの一番下にある"//自己紹介を追加します//"をクリックします +# エディタにスニペットのテキストを入力します +# `caption`フィールドにスニペットのメニュー項目のキャプションを入力します +# <<.icon $:/core/images/done-button>> //編集内容を確定します// ボタンをクリックします + +!! 手動で + +# サイドバーの//新しいTiddlerを作成します// <<.icon $:/core/images/new-button>> ボタンをクリックして、新しいTiddlerを作成します + +# Tiddlerのタイトルを変更します (例: `New Tiddler 1`)。`caption`フィールドを設定しない場合は、Tiddlerのタイトルがスタンプのメニュー項目になります(下記参照)。
<$macrocall $name=".tip" _="""''プロ技'' 新しいTiddlerを `$:/yourusername/snippets/My new stamp`のようなタイトルにし、通常の検索結果には表示されない[[システムTiddler|SystemTiddlers]]として'ファイル'します """ />
+ +# `タグ名`タグボックスに`$:/tags/TextEditor/Snippet`と入力し、//追加//をクリック(または//Enter//キーを押下)して、<>タグを追加します + +# エディタにスニペットコンテンツ(スタンプメニュー<<.icon $:/core/images/stamp>>をクリックしたときにエディタに入力するコンテンツ)を入力します。 + +# フィールド名が`caption`、フィールドの値にスニペットのスタンプメニュー項目のテキストが設定されたフィールドを作成します: +## //新しいフィールドを追加//の`フィールド名`ボックスに`caption`と入力します +## `フィールドの値`ボックスにスタンプメニュー項目のキャプションを入力します + +! スニペットの並べ替え +新しいスニペットは、デフォルトではスタンプメニューの下部に追加されます。スニペットの順序を調整するには: + +# スニペットTiddlerに移動します +# <>タグピルをクリックします +# スニペットのメニューで項目を上下にドラッグします + + +! 選択範囲に接頭辞や接尾辞を追加する方法 <<.from-version "5.1.20">> + +デフォルトでは、スタンプボタンは、エディターで選択したテキスト(`選択テキスト`とします)をスニペット(`$:/my/snippet`とします)に''置き換え''ます。 + +選択したテキストを//置き換える//代わりに、スタンプボタンで選択範囲の前または後に[[Wikiテキスト|WikiText]]を//追加//するためには: + +# 上記の2つの方法のいずれかを使用して、(<>タグが付いた、`caption`フィールドにスタンプメニュー項目のテキストを設定した)スニペットTiddlerを作成します +# スタンプでスニペットのコンテンツをエディタで選択したテキストの//前に//(`/prefix`)に挿入するか、//後に//(`/suffix`)( )に挿入するかに応じて、スニペットTiddlerのタイトルの末尾に`/prefix`、または`/suffix`を追加して新しいTiddlerを作成します +#* そのTiddlerには<>タグを付けないでください; captionフィールドは無視されます +#* Tiddlerテキストに、選択範囲の前または後に挿入したいテキストを設定します + +|`snippet2`に接頭辞と接尾辞を構成する例|c +|!Tiddler|!Tiddlerコンテンツ|!タグ|!`caption`フィールド| +|`$:/snip/snippet2`||<>|`My second stamp menu item`| +|`$:/snip/snippet2/prefix`|`TextIWantPrependedToSelection`||| +|`$:/snip/snippet2/suffix`|`TextIWantAppendedToSelection`||| diff --git a/editions/ja-JP/tiddlers/howtos/Using Stylesheets.tid b/editions/ja-JP/tiddlers/howtos/Using Stylesheets.tid new file mode 100644 index 000000000..09f863591 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Using Stylesheets.tid @@ -0,0 +1,82 @@ +created: 20140305091244145 +modified: 20241118112833362 +original-modified: 20211125175708977 +tags: [[Customise TiddlyWiki]] +title: Using Stylesheets +ja-title: スタイルシートの使用 +type: text/vnd.tiddlywiki + +\define tv-config-toolbar-text() yes + +\define openCpTheme() +<$action-setfield $tiddler="$:/state/tab-1749438307" $value="$:/core/ui/ControlPanel/Appearance"/> +<$action-setfield $tiddler="$:/state/tab--1963855381" $value="$:/core/ui/ControlPanel/Theme"/> +<$action-navigate $to="$:/ControlPanel"/> +\end + +! テーマとカラーパレット + +~TiddlyWikiの外観を変更するための最初の手順は、以下を選択して適用することです: + +* 利用可能なテーマの1つ: {{$:/core/ui/Buttons/theme}} +* カラーパレットの変更: {{$:/core/ui/Buttons/palette}} +* <$button actions=<> class="tc-btn-invisible"><<.icon $:/core/images/options-button>>コントロールパネルで試す + +! スタイルシートの動き + +コントロールパネルに加えて、Tiddlerに`$:/tags/Stylesheet`タグを付けることでカスタムスタイルを定義できます。ページの背景色を赤に変更するには、次の内容でカスタムスタイルシートを作成します: + +``` +body.tc-body { + background: red; +} +``` + +その後、[[WikiTextで独自のスタイルとクラス|Styles and Classes in WikiText]]を使用します。 + +!! 追加リソース + +* [[カスケーディングスタイルシート(CSS) (mozillaサイト)|https://developer.mozilla.org/en-US/docs/Web/CSS]] +* [[カスケーディングスタイルシート(CSS) (w3scoolsサイト)|http://www.w3schools.com/css]] + +! テーマ設定の上書き + +カスタムスタイルシートは、テーマスタイルシートとは独立して適用されます。そのため、カスタムスタイルシートのCSSルールは、上書きするテーマのCSSルールよりも具体的にする必要があります。たとえば、`html body.tc-body`は`body.tc-body`よりも具体的です。 + +<<.tip """常に、最も具体的でない値から始めます!""">> + +! スタイルシートの種類 + +通常、スタイルシートの種類には`text/css`を使用するのが最適です。これにより、プレーンなスタイルシートとして扱われ、~TiddlyWikiがWi​​ki処理を適用しないことが保証されます。 + +If you wish to use macros and transclusions in your stylesheets you should instead use the default WikiText type `text/vnd.tiddlywiki`. This allows full ~WikiText processing to be performed. Here is an example: +スタイルシートでマクロやトランスクルージョンを使用したい場合は、代わりにデフォルトの種類であるWikiText `text/vnd.tiddlywiki`を使用します。これにより、完全な~WikiText処理を実行できます。次に例を示します。 + +``` +\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline html + +body.tc-body pre { + <> +} +``` + +ティドラーの先頭にある`\rules`プラグマは、~WikiTextがマクロとトランスクルージョンのみを許可するように制限します。これにより、誤って不要な~WikiText処理がトリガーされることを回避できます。 + +スタイルシートTiddlerは、まずWiki化され、次に出力のテキスト部分が抽出されてCSSとして適用されるように処理されます。したがって、スタイルシートで使用しているHTMLタグはすべて無視されます。たとえば、RevealWidgetによって生成されたHTML要素は出力に影響しません。次の例のように、CSSルールを`
`タグで囲んで、内部マクロの処理などの処理に影響を与えることなく、コードブロックとして表示できます。
+
+```
+\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline html
+
+
body.tc-body pre {
+	<>
+}
+
+``` + +!! スタイルシートマクロ + +~TiddlyWikiコアは、[[スタイルシートの構築に役立つグローバルマクロ|Stylesheet Macros]]を提供します。 + +!! 参照 + +<> diff --git a/editions/ja-JP/tiddlers/howtos/Visible Transclusions.tid b/editions/ja-JP/tiddlers/howtos/Visible Transclusions.tid new file mode 100644 index 000000000..98119dfb8 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/Visible Transclusions.tid @@ -0,0 +1,16 @@ +created: 20220909111836951 +modified: 20241022105614479 +original-modified: 20230419103154329 +tags: Learning +title: Visible Transclusions +ja-title: トランスクルージョンの可視化 +type: text/vnd.tiddlywiki + +!! トランスクルージョンの可視化 + +ブロックのトランスクルージョンは赤で表示され、インラインのトランスクルージョンは緑で表示されます + +<$button> +<$action-setfield $tiddler="$:/temp/VisibleTransclusions" tags="$:/tags/Macro/View/Body" text={{$:/core/ui/VisibleTransclude}}/> +ここをクリックすると、ストーリーリバー内のTiddlerでトランクスージョンが表示されるようになります + diff --git a/editions/ja-JP/tiddlers/howtos/faq/csFAQ_dynamic_stylesheet.tid b/editions/ja-JP/tiddlers/howtos/faq/csFAQ_dynamic_stylesheet.tid new file mode 100644 index 000000000..f7fe1ea86 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/faq/csFAQ_dynamic_stylesheet.tid @@ -0,0 +1,10 @@ +created: 201804111739 +modified: 20241120110107221 +original-modified: 201804111739 +title: Q: Is there a way to create dynamic stylesheets? +ja-title: Q: 動的スタイルシートを作成する方法はありますか? +tags: [[Custom Styles FAQ]] + +''回答:'' <<.from-version "5.1.16">> + +はい、[[Q: カスタムフィールドを使用してTiddlerのスタイルを設定するにはどうすればよいですか?|Q: How can I use a custom field to style a tiddler?]]を参照してください diff --git a/editions/ja-JP/tiddlers/howtos/faq/csFAQ_how_can_i_use_custom_field.tid b/editions/ja-JP/tiddlers/howtos/faq/csFAQ_how_can_i_use_custom_field.tid new file mode 100644 index 000000000..3a0d69a9b --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/faq/csFAQ_how_can_i_use_custom_field.tid @@ -0,0 +1,31 @@ +created: 201804111739 +modified: 20241120110107221 +original-modified: 201804111739 +title: Q: How can I use a custom field to style a tiddler? +ja-title: Q: カスタムフィールドを使用してTiddlerのスタイルを設定するにはどうすればよいですか? +tags: [[Custom Styles FAQ]] + +''次のユースケースを考えてみましょう:'' <<.from-version "5.1.16">> + +`rank`という名前のフィールドがあります。このフィールドには、例えば`species`のようなさまざまな値を保持できます + +''回答:'' + +ここでのアイデアは、スタイルシートを動的に作成するということです。スタイルシートは次のようになります: + +""" +title: `myStyles` +tags: `$:/tags/Stylesheet` +""" + +``` +<$list filter="[rank[species]]"> +[data-tiddler-title^="<$view field=title/>"] .tc-tiddler-body { + column-count: 2; +} + +``` + +これにより、フィールド`rank`と値`species`を持つすべてのTiddlerタイトルのCSSルールが作成されます + +[[利用できる属性についての詳細はこちらをご覧ください!|Attribute Selectors]] \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/faq/csFAQ_what_if_tiddler_has_no_tags.tid b/editions/ja-JP/tiddlers/howtos/faq/csFAQ_what_if_tiddler_has_no_tags.tid new file mode 100644 index 000000000..9db20c356 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/faq/csFAQ_what_if_tiddler_has_no_tags.tid @@ -0,0 +1,21 @@ +created: 201804111739 +modified: 20241120110107221 +original-modified: 201804111739 +title: Q: What if a tiddler has no tags? +ja-title: Q: Tiddlerにタグがない場合はどうしますか? +tags: [[Custom Styles FAQ]] + +''回答:'' <<.from-version "5.1.16">> + +* Tiddlerにタグがないが、スタイル設定が必要な場合は、CSSセレクターとして`data-tiddler-title`を使用します +** Tiddlerは一つのみです + +* ユーザーがシステムTiddlerのスタイルをカスタム設定したい場合: セレクターとして`[data-tiddler-title^="$:"/]`を使用します +** TW名前空間機能を使用する + +* ユーザーがタグ付けされたTiddlerに対して特別な動作を設定したい場合。例: Learning +** CSSセレクターとして`[data-tags*="Learning"]`を使用します + +私が使用している名前は、既存のWikiを変更することなく、ドキュメント目的でのみ使用されます。ドキュメントに副作用があることは望ましくありません + +[[利用できる属性についての詳細はこちらをご覧ください!|Attribute Selectors]] \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/faq/csFAQ_what_this_and_that_tag.tid b/editions/ja-JP/tiddlers/howtos/faq/csFAQ_what_this_and_that_tag.tid new file mode 100644 index 000000000..b1f1ca76b --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/faq/csFAQ_what_this_and_that_tag.tid @@ -0,0 +1,34 @@ +created: 201804111739 +modified: 20241120110107221 +original-modified: 201804111739 +title: Q: How can I style a tiddler if it has "this" AND "that" tag? +ja-title: Q: "this"タグと"that"タグの両方を持つTiddlerのスタイルを設定するにはどうすればよいですか? +tags: [[Custom Styles FAQ]] + +''回答: '' <<.from-version "5.1.16">> + +Tiddlerに`this`と`that`の両方のタグがある場合、オレンジ色の境界線が作成されます + +``` +[data-tags*="bar"][data-tags*="froz"] { + border: 2px solid orange; +} +``` + +''CSSが次のような場合: '' + +``` +[data-tags~="this"] { + border: 2px solid blue; +} + +[data-tags~="that"] { + border: 2px solid red; +} +``` + +`this`は青い境界線を作成します +`that`は赤青い境界線を作成します +位置を入れ替えると、逆になります + +[[利用できる属性についての詳細はこちらをご覧ください!|Attribute Selectors]] \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/howtos/faq/csFAQ_what_this_or_that_tag.tid b/editions/ja-JP/tiddlers/howtos/faq/csFAQ_what_this_or_that_tag.tid new file mode 100644 index 000000000..3f5d37a94 --- /dev/null +++ b/editions/ja-JP/tiddlers/howtos/faq/csFAQ_what_this_or_that_tag.tid @@ -0,0 +1,19 @@ +created: 201804111739 +modified: 20241120110107221 +original-modified: 201804111739 +title: Q: How can I style a tiddler if it has "this" OR "that" tag? +ja-title: Q: "this"タグと"that"タグのどちらかを持つTiddlerのスタイルを設定するにはどうすればよいですか? +tags: [[Custom Styles FAQ]] + +''回答: '' <<.from-version "5.1.16">> + +`this`または`that`のいずれかのタグがある場合、赤い境界線を作成します + +``` +[data-tags~="this"], +[data-tags~="that"] { + border: 2px solid red; +} +``` + +[[利用できる属性についての詳細はこちらをご覧ください!|Attribute Selectors]] \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/images/Icon Gallery.tid b/editions/ja-JP/tiddlers/images/Icon Gallery.tid new file mode 100644 index 000000000..2a910b182 --- /dev/null +++ b/editions/ja-JP/tiddlers/images/Icon Gallery.tid @@ -0,0 +1,16 @@ +created: 20211013132515594 +modified: 20241021113650824 +original-modified: 20211018102307833 +tags: Learning [[Core Icons]] +title: Icon Gallery +ja-title: アイコンギャラリー +type: text/vnd.tiddlywiki + +\define copyActions() <$action-sendmessage $message="tm-copy-to-clipboard" $param=<>/> + +<<.tip "アイコンをクリックすると、タイトルをクリップボードにコピーします">> + +
+<$macrocall $name="image-picker-list" filter="[all[shadows+tiddlers]tag[$:/tags/Image]]" actions=<> /> +
+ diff --git a/editions/ja-JP/tiddlers/languages/Castellano (Espana) Edition.tid b/editions/ja-JP/tiddlers/languages/Castellano (Espana) Edition.tid new file mode 100644 index 000000000..33f54a4a9 --- /dev/null +++ b/editions/ja-JP/tiddlers/languages/Castellano (Espana) Edition.tid @@ -0,0 +1,14 @@ +caption: Castellano (España) +created: 20160511155557372 +list-before: Deutsch (Deutschland) Edition +modified: 20241221105234901 +original-modified: 20160511160224223 +tags: Languages +title: Edición en Castellano +ja-title: スペイン語版 +type: text/vnd.tiddlywiki + +La edición española de ~TiddlyWiki se encuentra aquí: + +* ''Documentación'' : https://tiddlywiki.com/languages/es-ES/index.html +* ''~TiddlyWiki en blanco'' : https://tiddlywiki.com/languages/es-ES/empty.html diff --git a/editions/ja-JP/tiddlers/languages/Chinese (Simplified) Edition.tid b/editions/ja-JP/tiddlers/languages/Chinese (Simplified) Edition.tid new file mode 100644 index 000000000..fd43aeee2 --- /dev/null +++ b/editions/ja-JP/tiddlers/languages/Chinese (Simplified) Edition.tid @@ -0,0 +1,15 @@ +caption: 中文 (简体) +created: 20140919215640174 +modified: 20241221104728318 +original-modified: 20140920030246450 +tags: Languages +title: Chinese (Simplified) Edition +ja-title: 中国語(簡体字)版 +type: text/vnd.tiddlywiki + +TiddlyWiki 的简体中文翻译版本: + + +* ''空白版本'': https://tiddlywiki.com/languages/zh-Hans/empty.html + +另请参阅 [[中文 (正體) 版|Chinese (Traditional) Edition]]。 diff --git a/editions/ja-JP/tiddlers/languages/Chinese (Traditional) Edition.tid b/editions/ja-JP/tiddlers/languages/Chinese (Traditional) Edition.tid new file mode 100644 index 000000000..7699fcd0e --- /dev/null +++ b/editions/ja-JP/tiddlers/languages/Chinese (Traditional) Edition.tid @@ -0,0 +1,15 @@ +caption: 中文 (正體) +created: 20140919215743298 +modified: 20241221104801318 +original-modified: 20140920030246450 +tags: Languages +title: Chinese (Traditional) Edition +ja-title: 中国語(繁体字)版 +type: text/vnd.tiddlywiki + +TiddlyWiki 的正體中文翻譯版本: + + +* ''空白版本'': https://tiddlywiki.com/languages/zh-Hant/empty.html + +另請參閱 [[中文 (简体) 版|Chinese (Simplified) Edition]]。 diff --git a/editions/ja-JP/tiddlers/languages/French (France) Edition.tid b/editions/ja-JP/tiddlers/languages/French (France) Edition.tid new file mode 100644 index 000000000..5cd2c5f20 --- /dev/null +++ b/editions/ja-JP/tiddlers/languages/French (France) Edition.tid @@ -0,0 +1,13 @@ +created: 20140919215540827 +modified: 20241221105647964 +original-modified: 20141123162938012 +tags: Languages +caption: Français (France) +title: Édition en Français (France) +ja-title: フランス語版 +type: text/vnd.tiddlywiki + +La traduction en Français (France) de TiddlyWiki démarre ici : + +* ''documentation'' : https://tiddlywiki.com/languages/fr-FR/index.html +* ''empty'' : https://tiddlywiki.com/languages/fr-FR/empty.html diff --git a/editions/ja-JP/tiddlers/languages/German (Austria) Edition.tid b/editions/ja-JP/tiddlers/languages/German (Austria) Edition.tid new file mode 100644 index 000000000..c1aa5b5c1 --- /dev/null +++ b/editions/ja-JP/tiddlers/languages/German (Austria) Edition.tid @@ -0,0 +1,15 @@ +created: 20140919214900580 +modified: 20241221105339061 +original-modified: 20140919215900428 +tags: Languages +caption: Deutsch (Österreich) +title: Deutsch (Österreich) Edition +ja-title: オーストリア語版 +type: text/vnd.tiddlywiki + +Die österreichische Übersetzung von TiddlyWiki ist verfügbar unter: + +* ''Dokumentation'': https://tiddlywiki.com/languages/de-AT/index.html +* ''Leer'': https://tiddlywiki.com/languages/de-AT/empty.html + +Siehe auch: [[Deutsch (Deutschland) Edition|ドイツ語版]]. diff --git a/editions/ja-JP/tiddlers/languages/German (Germany) Edition.tid b/editions/ja-JP/tiddlers/languages/German (Germany) Edition.tid new file mode 100644 index 000000000..3659c2423 --- /dev/null +++ b/editions/ja-JP/tiddlers/languages/German (Germany) Edition.tid @@ -0,0 +1,15 @@ +created: 20140919215410238 +modified: 20241221105310877 +original-modified: 20140919215851101 +tags: Languages +caption: Deutsch (Deutschland) +title: Deutsch (Deutschland) Edition +ja-title: ドイツ語版 +type: text/vnd.tiddlywiki + +Die deutsche Übersetzung von TiddlyWiki ist verfügbar unter: + +* ''Dokumentation'': https://tiddlywiki.com/languages/de-DE/index.html +* ''Leer'': https://tiddlywiki.com/languages/de-DE/empty.html + +Siehe auch: [[Deutsch (Österreich) Edition|オーストリア語版]]. diff --git a/editions/ja-JP/tiddlers/languages/Japanese (Japan) Edition.tid b/editions/ja-JP/tiddlers/languages/Japanese (Japan) Edition.tid new file mode 100644 index 000000000..dce980977 --- /dev/null +++ b/editions/ja-JP/tiddlers/languages/Japanese (Japan) Edition.tid @@ -0,0 +1,13 @@ +caption: 日本語 (日本国) +created: 20201227004927059 +modified: 20241224112824830 +original-modified: 20241224112736358 +tags: Languages +title: Japanese (Japan) Edition +ja-title: 日本語版 +type: text/vnd.tiddlywiki + +TiddlyWikiの日本語バージョンはこちら: + +* ''ドキュメント'' : https://tiddlywiki.com/languages/ja-JP/index.html +* ''空白のコピー'' : https://tiddlywiki.com/languages/ja-JP/empty.html diff --git a/editions/ja-JP/tiddlers/languages/Korean (Korea Republic) Edition.tid b/editions/ja-JP/tiddlers/languages/Korean (Korea Republic) Edition.tid new file mode 100644 index 000000000..9768a9508 --- /dev/null +++ b/editions/ja-JP/tiddlers/languages/Korean (Korea Republic) Edition.tid @@ -0,0 +1,13 @@ +caption: 한국어 (대한민국) +created: 20160424113322330 +modified: 20241221105737475 +original-modified: 20160424113322330 +tags: Languages +title: Korean (Korea Republic) Edition +ja-title: 韓国語版 +type: text/vnd.tiddlywiki + +티들리위키 한국어 번역은 다음에서 사용할 수 있습니다: + + +* ''빈 위키'' : https://tiddlywiki.com/languages/ko-KR/empty.html diff --git a/editions/ja-JP/tiddlers/languages/LanguageGallery.tid b/editions/ja-JP/tiddlers/languages/LanguageGallery.tid new file mode 100644 index 000000000..801cdc72c --- /dev/null +++ b/editions/ja-JP/tiddlers/languages/LanguageGallery.tid @@ -0,0 +1,27 @@ +created: 20151231083708980 +modified: 20241221105811581 +original-modified: 20211117212723856 +tags: Languages +title: LanguageGallery Example +ja-title: 言語ギャラリー +type: text/vnd.tiddlywiki + +これは、ListWidgetとTranscludeWidgetを使用して、<>と<>の[[タグ付け|Tagging]]された言語アイコンすべてをグリッド表示する例です。 + + + diff --git a/editions/ja-JP/tiddlers/languages/Languages.tid b/editions/ja-JP/tiddlers/languages/Languages.tid new file mode 100644 index 000000000..7c1eec773 --- /dev/null +++ b/editions/ja-JP/tiddlers/languages/Languages.tid @@ -0,0 +1,19 @@ +created: 20141202125500000 +modified: 20241221104605323 +original-modified: 20160617101222113 +tags: TableOfContents +title: Languages +ja-title: 言語 +type: text/vnd.tiddlywiki + +!! 言語プラグイン + +TiddlyWikiのコアユーザーインターフェイスは20以上の言語で利用できます。[[プラグインライブラリからプラグインをインストールする|Installing a plugin from the plugin library]]の手順に従って、言語プラグインをインストールできます。サイドバーの"ツール"タブにある"言語"ボタンを使用して、表示する言語を変更できます。 + +[[TiddlyWiki を母国語に翻訳する|Translate TiddlyWiki into your language]]方法を学ぶことで、ライブラリに新しい言語を提供できます。 + +!! 言語エディション + +一部の言語については、追加の翻訳ドキュメントを備えた、ビルド済みエディションがあります。 + +<> diff --git a/editions/ja-JP/tiddlers/learning/Copying tiddlers between TiddlyWiki files.tid b/editions/ja-JP/tiddlers/learning/Copying tiddlers between TiddlyWiki files.tid new file mode 100644 index 000000000..130919dcf --- /dev/null +++ b/editions/ja-JP/tiddlers/learning/Copying tiddlers between TiddlyWiki files.tid @@ -0,0 +1,11 @@ +created: 20140908131700000 +modified: 20241016111747713 +original-modified: 20140919161524603 +tags: Learning +title: Copying tiddlers between TiddlyWiki files +ja-title: TiddlyWikiファイル間でTiddlerをコピーする +type: text/vnd.tiddlywiki + +ブラウザウィンドウから別のブラウザウィンドウへTiddlerへのリンクをドラッグすることで、個々のTiddlerを1つのTiddlyWikiファイルから別のTiddlyWikiファイルにコピーできます + +リンクをドラッグする場合は、まず垂直方向に移動します。水平方向の移動はブラウザがテキストの選択として認識するためです \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/learning/Introduction to Lists.tid b/editions/ja-JP/tiddlers/learning/Introduction to Lists.tid new file mode 100644 index 000000000..c7fd9acd7 --- /dev/null +++ b/editions/ja-JP/tiddlers/learning/Introduction to Lists.tid @@ -0,0 +1,59 @@ +created: 20171212175130471 +modified: 20241026112227533 +original-modified: 20171212175139631 +tags: Learning +title: Introduction to Lists +ja-title: リストの紹介 +type: text/vnd.tiddlywiki + +アイテムのリストを作成することは、TiddlyWikiでの作業において中心的な役割を果たします。以下は、一般的なテクニックのいくつかを簡単に説明したものです。 + +~TiddlyWikiは[[内部的に|ListField]]さまざまな目的でリストを[[使用する|Extended Listops Filters]]ため、この単語には複数の意味があります。ここでは、一連の項目を表示することに重点が置かれていますが、必ずしも従来の箇条書きリストとして表示されるわけではありません。 + +! 手動で入力したリスト + +!! ~WikiText + +WikiTextリストは、特殊文字を使用してリストの種類と表示方法を指定する、手動で入力されたリストです。 + +例としては、アスタリスク(*)で作成された箇条書きリストや番号付きリスト(#)などがあります。内部的には、~WikiTextリストは標準のHTML要素`
    `と`
  • `に基づいています。詳細については、[[WikiTextのリスト|Lists in WikiText]]を参照してください。 + +WikiTextで入力されたリストの例: + +<> + +! 生成されたリスト + +リストは、[[フィルター演算子|Filter Operators]]が出力したいTiddlerを選択するための基準を指定する[[フィルター|Filters]]を使用して、ListWidgetで自動的に生成できます。いくつかの一般的なリストタイプには、ショートカットマクロが用意されています。 + +!! ~ListWidget + +ListWidgetは、リストを作成するための最も強力なツールです。これを使用すると、フィルタリングされた出力を操作して、例えば表や複雑なテキストなど、リストにはまったく似ていないフォームにスタイルを設定できます。詳細については、[[ListWidget]]を参照してください。 + +"HelloThere"タグが付いたすべてのTiddlerを表示する例は次のようになります: + +<<$view field="title"/>
    """>> + +<<.tip """Tiddler自体も~ListWidgetを使用して作成されます。[[ViewTemplate|$:/core/ui/ViewTemplate]]はListWidgetを使用して、Tiddlerのタイトル、タグ、テキストなどを表示するために使用される指定されたすべてのテンプレートを取得します。""">> + + +!! フィルタリングされたトランスクルージョン + +フィルターされたトランスクルージョンの`{{{...}}}`構文は、入力としてフィルターを受け取り、一致するタイトルのリンクリストを出力します。[[テンプレート|Transclusion with Templates]]を適用することもできます。例: + +<> + +!! list-linksマクロ + +[[list-links|list-links Macro]]マクロは、 ListWidgetを使用するよりも簡単な方法で、事前にフォーマットされたリスト(通常は箇条書きリスト)を提供します。内部的には、各リスト項目にデフォルトのテンプレートを適用しているのはListWidgetです。 + +<$macrocall $name="wikitext-example-without-html" src="""<>"""/> + +!“リスト関連”のその他の機能 + +[[list|ListField]]、[[list-before|Order of Tagged Tiddlers]]、[[list-after|Order of Tagged Tiddlers]]はすべて、リスト内のTiddlerの位置を制御するフィールド名です。[[フィールド|TiddlerFields]]は、日付、数量、カテゴリなどの構造化された情報の追加ビットをTiddlerに追加する方法です。 + +[[list|list Operator]] and [[listed|listed Operator]] are //filter operators// to, respectively, select and find titles in lists. +[[list|list Operator]]と[[listed|listed Operator]]は、それぞれリスト内のタイトルを選択および検索するための//フィルター演算子//です。 diff --git a/editions/ja-JP/tiddlers/learning/Learning.tid b/editions/ja-JP/tiddlers/learning/Learning.tid new file mode 100644 index 000000000..5f4b55aee --- /dev/null +++ b/editions/ja-JP/tiddlers/learning/Learning.tid @@ -0,0 +1,14 @@ +created: 20140912140047779 +list: Videos [[Introduction to filter notation]] [[Sharing a TiddlyWiki on Dropbox]] [[Sharing your tiddlers with others]] [[Copying tiddlers between TiddlyWiki files]] [[Creating SubStories]] [[Editing Tiddlers with Emacs]] [[ImageGallery Example]] [[Making curved text with SVG]] TaskManagementExample [[Adding a Twitter Follow button]] [[Philosophy of Tiddlers]] [[Adopt a Titles Policy]] +modified: 20241016110508522 +original-modified: 20140919161721584 +tags: TableOfContents +title: Learning +ja-title: 学習 +type: text/vnd.tiddlywiki + +TiddlyWikiの使い方について詳しくは、こちらをご覧ください: + +<> + +高度なWikiText、マクロ、ウィジェット、フィルターなどの完全な[[リファレンス|Reference]]も参照してください \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/mechanisms/AlertMechanism.tid b/editions/ja-JP/tiddlers/mechanisms/AlertMechanism.tid new file mode 100644 index 000000000..c0cac96ee --- /dev/null +++ b/editions/ja-JP/tiddlers/mechanisms/AlertMechanism.tid @@ -0,0 +1,22 @@ +created: 20140213224306412 +modified: 20241206114008718 +original-modified: 20160606125956564 +tags: Mechanisms Features +title: AlertMechanism +ja-title: アラートメカニズム +type: text/vnd.tiddlywiki + +アラートは、TiddlyWikiのメインウィンドウに重なる黄色のボックスとして表示されます +それぞれのアラートは、$:/tags/Alertタグを持つTiddlerに対応します。アラートの削除アイコン<<.icon $:/core/images/delete-button>> をクリックすると、対応するTiddlerが削除されます + +こちらがデモです +<$fieldmangler tiddler="アラートのサンプル"><$set name="currentTiddler" value="アラートのサンプル"><$button message="tm-add-tag" param="$:/tags/Alert">アラート。 + +アラートTiddlerには次のフィールドが必要です: + +|!フィールド |!説明 | +|title |デフォルトでは、アラートのタイトルには接頭辞`$:/temp/alerts/`が付きます | +|text |アラートメッセージのテキスト | +|modified |アラートの日付(画面上でアラートを並べ替えるのに使用されます) | +|component |アラートに関連付けられたコンポーネント | +|tags |[[$:/tags/Alert]] を含める必要があります | \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/mechanisms/DragAndDropMechanism.tid b/editions/ja-JP/tiddlers/mechanisms/DragAndDropMechanism.tid new file mode 100644 index 000000000..892bac747 --- /dev/null +++ b/editions/ja-JP/tiddlers/mechanisms/DragAndDropMechanism.tid @@ -0,0 +1,27 @@ +created: 20170328161210552 +modified: 20241209110151828 +original-modified: 20170406085836682 +tags: [[Importing Tiddlers]] [[Drag and Drop]] Mechanisms +title: DragAndDropMechanism +ja-title: ドラッグアンドドロップのメカニズム +type: text/vnd.tiddlywiki + +このTiddlerでは、~TiddlyWikiでドラッグアンドドロップ機能を実装するために使用される内部メカニズムについて説明します。機能の一般的な説明については、[[ドラッグアンドドロップ|Drag and Drop]]を参照してください。 + +<<.warning """ +~TiddlyWikiは[[標準のHTML 5 ドラッグアンドドロップAPI|https://www.w3.org/TR/2010/WD-html5-20101019/dnd.html]]を使用します。ただし、この領域はブラウザ間の互換性の問題で悪名高いです。そのため、機能の一部は必ずしもすべてのブラウザで動作するとは限りません。特に、 +""">> + +次のウィジェットはドラッグアンドドロップ機能に関係します: + +* DraggableWidgetは、ドラッグのための1つ以上のTiddlerを表すドラッグ可能な要素を作成します。 +** ButtonWidgetとLinkWidgetはDraggableWidgetの機能を組み込んでいます +* DroppableWidgetは、カスタマイズ可能なアクションをトリガーするためにドラッグできるTiddlerに領域を作成します。 +* DropzoneWidgetは、ファイルから、または別のブラウザウィンドウからドラッグアンドドロップして外部Tiddlerをインポートします。 + +ドラッグアンドドロップ操作の一般的な順序は次のとおりです: + +# ユーザーは、DraggableWidget、ButtonWidget、LinkWidgetなどのドラッグ可能な要素上でポインターをクリックダウンしてドラッグします。 +# ドラッグ可能な要素は、クリックが離されるまでマウスポインタとともに移動します。 +# DroppableWidgetなどのドロップ可能な要素の上にポインターを移動すると、アイテムがドロップ可能であることを示すハイライトが表示されます。 +# ドロップ可能な要素でドラッグが終了すると、設定されたアクションが実行されます。 diff --git a/editions/ja-JP/tiddlers/plugins/Amazon Web Services Plugin.tid b/editions/ja-JP/tiddlers/plugins/Amazon Web Services Plugin.tid new file mode 100644 index 000000000..08ba80b2d --- /dev/null +++ b/editions/ja-JP/tiddlers/plugins/Amazon Web Services Plugin.tid @@ -0,0 +1,12 @@ +created: 20170703193252423 +modified: 20241222101154614 +original-modified: 20170703193353918 +tags: OfficialPlugins +title: Amazon Web Services Plugin +ja-title: アマゾンウェブサービスプラグイン +type: text/vnd.tiddlywiki + +アマゾンウェブサービスプラグインは、アマゾンウェブサービスで動かすためのいくつかのツールを提供します: + +* TiddlyWikiをAWS Lambda関数として実行できるZIPファイル内の単一のJavaScriptファイルとして保存するためのテンプレート。この形式では、TiddlyWikiは、スタンドアロンのHTMLファイル構成と同様に、コードとデータの両方を含む自己完結型の単一ファイルです +* TiddlyWikiのNode.js構成とLambda構成の両方で、AWSサービスで操作するために使用できるコマンド \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/plugins/BrowserStorage Plugin.tid b/editions/ja-JP/tiddlers/plugins/BrowserStorage Plugin.tid new file mode 100644 index 000000000..a5f97f316 --- /dev/null +++ b/editions/ja-JP/tiddlers/plugins/BrowserStorage Plugin.tid @@ -0,0 +1,20 @@ +created: 20190206181204119 +modified: 20241222101408936 +original-modified: 20190206181204119 +tags: OfficialPlugins +title: BrowserStorage Plugin +ja-title: ブラウザストレージプラグイン +type: text/vnd.tiddlywiki + +ブラウザストレージプラグインを使用すると、TiddlyWikiが[[ブラウザのローカルストレージ|https://en.wikipedia.org/wiki/Web_storage#localStorage]]にTiddlerを保存できるようになります。これは、変更がブラウザ内に保存され、ベースWikiがリロードされるたびに自動的に再適用されることを意味します + +ブラウザのローカルストレージはTiddlyWikiにとって万能薬ではありません: + +* ブラウザは、各ページで使用できるローカルストレージの量を制限しており、通常は5または10MBに制限されています +* 個人データをブラウザのローカル ストレージに保存すると、予期しないプライバシー侵害につながる可能性があります +* ブラウザは、ローカルストレージに保存されているデータを警告なしにいつでも削除する権利を留保します +* ブラウザはローカルストレージをURLと結び付けるため、以前に別のWikiが使用していたURLにWikiを移動すると問題が発生する可能性があります + +このプラグインは注意して使用してください。未解決の問題や未解決の疑問が数多くあります + +ブラウザストレージプラグインは、プラグインライブラリからインストールできます \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/plugins/CodeMirror Plugin.tid b/editions/ja-JP/tiddlers/plugins/CodeMirror Plugin.tid new file mode 100644 index 000000000..46c0c5406 --- /dev/null +++ b/editions/ja-JP/tiddlers/plugins/CodeMirror Plugin.tid @@ -0,0 +1,12 @@ +created: 20160107223435497 +list: +modified: 20241222101622863 +original-modified: 20170228102537972 +tags: OfficialPlugins [[Plugin Editions]] +title: CodeMirror Plugin +ja-title: CodeMirrorプラグイン +type: text/vnd.tiddlywiki + +CodeMirrorプラグインは、洗練されたWebベースのエディタをTiddlyWikiに追加します + +[ext[https://tiddlywiki.com/plugins/tiddlywiki/codemirror|plugins/tiddlywiki/codemirror]]でデモを参照してください \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/plugins/Consent Banner Plugin.tid b/editions/ja-JP/tiddlers/plugins/Consent Banner Plugin.tid new file mode 100644 index 000000000..5d1bbc91b --- /dev/null +++ b/editions/ja-JP/tiddlers/plugins/Consent Banner Plugin.tid @@ -0,0 +1,16 @@ +created: 20201019084534263 +modified: 20241222111136646 +original-modified: 20201019084658478 +tags: OfficialPlugins +title: Consent Banner Plugin +ja-title: 同意バナープラグイン +type: text/vnd.tiddlywiki + +同意バナープラグインは、[[EU一般データ保護規則|https://gdpr.eu/cookies/]]などの"Cookie法"に準拠したWebサイトの作成に役立ちます。 +このプラグインは、ユーザーにCookieを受け入れるか拒否するかを促すバナーを表示し、ユーザーの同意をローカルストレージに記録して、次回のアクセス時にバナーを非表示にできるようにします。 + +デフォルトでは、ユーザーがCookieを受け入れることに同意しない限り、<iframe>、<embed>、<object>で埋め込まれたコンテンツはブロックされます。 + +同意ステータスは構成Tiddlerを介して利用できるため、同意が得られたかどうかに応じて異なる動作をするコンテンツを構築できます。たとえば、ユーザーがCookieを受け入れない限り、自動的に youtube-nocookie.com バリアントのビデオURLを使用する~YouTubeビデオを埋め込むためのマクロが提供されています。 + +このプラグインを使用することで、特定の法律への準拠が保証されるわけではないことにご注意ください。あなたの状況に固有の技術的な問題を理解し、必要に応じて法的アドバイスを求める必要があります。 \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/plugins/D3 Plugin.tid b/editions/ja-JP/tiddlers/plugins/D3 Plugin.tid new file mode 100644 index 000000000..ec3d11966 --- /dev/null +++ b/editions/ja-JP/tiddlers/plugins/D3 Plugin.tid @@ -0,0 +1,14 @@ +created: 20160107223425581 +caption: {{!!ja-title}} - ^^deprecated^^ +modified: 20241222102055511 +original-modified: 20240913122437925 +tags: OfficialPlugins [[Plugin Editions]] $:/deprecated +title: D3 Plugin +ja-title: D3プラグイン +type: text/vnd.tiddlywiki + +<<.deprecated-since "5.3.4">> D3プラグインは、D3ビジュアライゼーションライブラリをTiddlyWikiと統合します + +https://tiddlywiki.com/plugins/tiddlywiki/d3/ を参照してください + +[ext[https://tiddlywiki.com/plugins/tiddlywiki/d3|plugins/tiddlywiki/d3]]でデモをご覧ください。 diff --git a/editions/ja-JP/tiddlers/plugins/Dynaview Plugin.tid b/editions/ja-JP/tiddlers/plugins/Dynaview Plugin.tid new file mode 100644 index 000000000..a14cb3aba --- /dev/null +++ b/editions/ja-JP/tiddlers/plugins/Dynaview Plugin.tid @@ -0,0 +1,14 @@ +created: 20180111122953142 +modified: 20241223104409794 +original-modified: 20181113084151268 +tags: OfficialPlugins +title: Dynaview Plugin +ja-title: 動的表示プラグイン +type: text/vnd.tiddlywiki + +動的表示プラグインを使用すると、スクロールやズームによるブラウザビューポートの変更に動的に応答するユーザーインターフェイスを構築できます: + +* スクロールされて表示されるまで出力のレンダリングを延期できるCSSクラス +* 現在のズームレベルに応じてDOM要素の不透明度を変更できるようにするCSSクラス + +[ext[https://tiddlywiki.com/plugins/tiddlywiki/dynaview|plugins/tiddlywiki/dynaview]]でデモをご覧ください diff --git a/editions/ja-JP/tiddlers/plugins/External Attachments Plugin.tid b/editions/ja-JP/tiddlers/plugins/External Attachments Plugin.tid new file mode 100644 index 000000000..8b5a5bf22 --- /dev/null +++ b/editions/ja-JP/tiddlers/plugins/External Attachments Plugin.tid @@ -0,0 +1,12 @@ +created: 20171031172325817 +list: +modified: 20241222102153176 +original-modified: 20171031172440017 +tags: OfficialPlugins [[Plugin Editions]] +title: External Attachments Plugin +ja-title: 外部添付プラグイン +type: text/vnd.tiddlywiki + +外部添付ファイルプラグインは、Tiddlerを外部添付ファイルとしてインポートするためのサポートを提供します。つまり、バイナリファイルを自己完結型Tiddlerとしてインポートするのではなく、''_canonical_uri''フィールドを介して元のファイルを参照する "スキニー" Tiddler としてインポートされます。これによりWikiのサイズが削減され、パフォーマンスが向上します。ただし、これはWikiが完全な自己完結型ではなくなったことを意味します + +このプラグインは、インポート/ドラッグされたファイルの''path''属性をサポートするTiddlyDesktopなどのプラットフォームでTiddlyWikiを使用する場合にのみ機能します \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/plugins/Highlight Plugin.tid b/editions/ja-JP/tiddlers/plugins/Highlight Plugin.tid new file mode 100644 index 000000000..78d7733c6 --- /dev/null +++ b/editions/ja-JP/tiddlers/plugins/Highlight Plugin.tid @@ -0,0 +1,14 @@ +created: 20160107223417655 +list: +modified: 20241222102315584 +original-modified: 20220222094354907 +tags: OfficialPlugins [[Plugin Editions]] +title: Highlight Plugin +ja-title: ハイライトプラグイン +type: text/vnd.tiddlywiki + +ハイライトプラグインは、テキストに色付けする機能を提供します + +[ext[https://tiddlywiki.com/plugins/tiddlywiki/highlight|plugins/tiddlywiki/highlight]]を参照してください + +<<.warning """最新バージョンの[[ハイライトプラグイン|Highlight Plugin]]には、JavaScript ES6(2015年リリース)を完全にサポートする最新ブラウザが必要です。古いバージョンは、古いブラウザを使用する必要があるユーザー向けの''ハイライトレガシー''プラグインとして引き続き利用できます""">> diff --git a/editions/ja-JP/tiddlers/plugins/Innerwiki Plugin.tid b/editions/ja-JP/tiddlers/plugins/Innerwiki Plugin.tid new file mode 100644 index 000000000..685f7a61b --- /dev/null +++ b/editions/ja-JP/tiddlers/plugins/Innerwiki Plugin.tid @@ -0,0 +1,13 @@ +created: 20190127104143725 +modified: 20241223111102675 +original-modified: 20190127104143725 +tags: OfficialPlugins +title: Innerwiki Plugin +ja-title: インナーウィキプラグイン +type: text/vnd.tiddlywiki + +インナーウィキプラグインにより、TiddlyWikiは自身の変更されたコピー("innerwiki")を埋め込むことができます。主な目的は、時間の経過とともに変化するTiddlyWikiの外観に合わせて自動的に最新のスクリーンショットイラストを作成したり、異なる言語でスクリーンショットを作成したりできるようにすることです。 + +ブラウザでは、インナーウィキは埋め込みiframeとして表示されます。Node.jsでは、[[GoogleのPuppeteer|https://pptr.dev/]]を使用してインナーウィキをオフスクリーンのWebページとして読み込み、PNG画像としてスナップショットを作成します。 + +[ext[https://tiddlywiki.com/plugins/tiddlywiki/innerwiki|plugins/tiddlywiki/innerwiki]]でデモをご覧ください diff --git a/editions/ja-JP/tiddlers/plugins/Installing a plugin from the plugin library.tid b/editions/ja-JP/tiddlers/plugins/Installing a plugin from the plugin library.tid new file mode 100644 index 000000000..16b4403e5 --- /dev/null +++ b/editions/ja-JP/tiddlers/plugins/Installing a plugin from the plugin library.tid @@ -0,0 +1,40 @@ +created: 20160107222352710 +modified: 20241221111035323 +original-modified: 20220617122143911 +tags: Plugins +title: Installing a plugin from the plugin library +ja-title: プラグインライブラリからプラグインをインストールする +type: text/vnd.tiddlywiki + +\rules except wikilink + +手順を//隣に並べて//実行したい場合は、<>でできます。 + +TiddlyWikiをスタンドアロンの単一ファイルWikiとして使用する場合は、次の手順に従ってください。 + +# ブラウザでTiddlyWikiを開きます + +# 現在のWikiファイルのバックアップを作成します([[念のため|The First Rule of Using TiddlyWiki]]) + +# <>を開きます + +#* ''プラグイン''タブをクリックし +#*<<.icon $:/core/images/download-button>> ''他のプラグインを取得''ボタンをクリックします + +# <<.icon $:/core/images/chevron-right>> ''プラグインライブラリを開く''をクリックして公式プラグインライブラリを開きます + +# ライブラリのリストがロードされると: +## ''プラグイン''、''テーマ''、''言語''のタブが使用でき、 +## プラグインの詳細を検索する''検索''ボックスが使用できます + +# ''インストール''ボタンをクリックしてプラグインをインストールします + +# <<.icon $:/core/images/save-button-dynamic>>をクリックしてTiddlyWikiを保存します + +# ウィンドウの上部に黄色い警告バーが表示された場合は、TiddlyWikiがプラグイン<<.icon $:/core/images/refresh-button>>のインストールを完了するためにウィンドウを更新します。 + +#* <<.from-version "5.1.22">> 動的読み込みをサポートするプラグインを削除するときにTiddlyWikiを更新する必要がなくなりました。詳細については、[[プラグインのメカニズム|PluginMechanism]]を参照してください。 + +# これでプラグインが使用できるようになりました + +<$macrocall $name=".note" _="""''Node.js''でTiddlyWikiを使用する場合の詳細は、[[Node.jsで公式プラグインをインストールする|Installing official plugins on Node.js]]を確認してください。
    概要は[[プラグイン|Plugins]]でご覧いただけます。"""/> \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/plugins/JSZip Plugin.tid b/editions/ja-JP/tiddlers/plugins/JSZip Plugin.tid new file mode 100644 index 000000000..c2519c5e5 --- /dev/null +++ b/editions/ja-JP/tiddlers/plugins/JSZip Plugin.tid @@ -0,0 +1,9 @@ +created: 20201019084712096 +modified: 20241222103057478 +original-modified: 20201019084824422 +tags: OfficialPlugins +title: JSZip Plugin +ja-title: JSZipプラグイン +type: text/vnd.tiddlywiki + +このプラグインは、ブラウザでZipファイルを作成するためのプリミティブを提供します。また、[[JSZip|https://stuk.github.io/jszip/]]ライブラリを他のプラグインで使用できるようになります \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/plugins/KaTeX Plugin.tid b/editions/ja-JP/tiddlers/plugins/KaTeX Plugin.tid new file mode 100644 index 000000000..a123646bf --- /dev/null +++ b/editions/ja-JP/tiddlers/plugins/KaTeX Plugin.tid @@ -0,0 +1,12 @@ +created: 20160107223410181 +list: +modified: 20241222103257736 +original-modified: 20170228102517666 +tags: OfficialPlugins [[Plugin Editions]] +title: KaTeX Plugin +ja-title: KaTeXプラグイン +type: text/vnd.tiddlywiki + +このプラグインは、~LaTeXで書かれた数学表記を表示する機能を追加します + +[ext[https://tiddlywiki.com/plugins/tiddlywiki/katex|plugins/tiddlywiki/katex]]を参照してください \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/plugins/Manually installing a plugin.tid b/editions/ja-JP/tiddlers/plugins/Manually installing a plugin.tid new file mode 100644 index 000000000..883d434b8 --- /dev/null +++ b/editions/ja-JP/tiddlers/plugins/Manually installing a plugin.tid @@ -0,0 +1,31 @@ +created: 20160107222430613 +modified: 20241221112212036 +original-modified: 20220617115930635 +tags: Plugins +title: Manually installing a plugin +ja-title: プラグインを手動でインストールする +type: text/vnd.tiddlywiki + +\rules except wikilink + +手順を//隣に並べて//実行したい場合は、<>でできます。 + +# 現在のTiddlyWiki HTMLファイルのバックアップを作成します([[念のため|The First Rule of Using TiddlyWiki]]) + +# ブラウザでTiddlyWikiを開きます + +# 別のブラウザウィンドウで、プラグインへのリンク(例: https://tiddlywiki.com/plugins/tiddlywiki/katex )を見つけます。通常、これらのリンクはプラグインのホームページにあります + +# TiddlyWikiブラウザウィンドウに、`$:/plugins/tiddlywiki/example`へのリンクをドラッグします + +# $:/Import Tiddlerに表示された新しいプラグインをインポートします + +# TiddlyWikiを保存します(<<.icon $:/core/images/save-button-dynamic>>) + +# ウィンドウの上部に黄色い警告バーが表示された場合は、TiddlyWikiがプラグイン<<.icon $:/core/images/refresh-button>>のインストールを完了するためにウィンドウを更新します。 + +#* <<.from-version "5.1.22">> 動的読み込みをサポートするプラグインを削除するときにTiddlyWikiを更新する必要がなくなりました。詳細については、[[プラグインのメカニズム|PluginMechanism]]を参照してください。 + +# これでプラグインが使用できるようになりました + +<$macrocall $name=".note" _="公式プラグインライブラリからプラグインをインストールする方法の詳細については、[[プラグインライブラリからプラグインをインストールする|Installing a plugin from the plugin library]]を確認してください。
    概要は[[プラグイン|Plugins]]でご覧いただけます。"/> \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/plugins/Markdown Plugin.tid b/editions/ja-JP/tiddlers/plugins/Markdown Plugin.tid new file mode 100644 index 000000000..c84510abc --- /dev/null +++ b/editions/ja-JP/tiddlers/plugins/Markdown Plugin.tid @@ -0,0 +1,12 @@ +created: 20160107223401584 +list: +modified: 20241222103338193 +original-modified: 20170228102511347 +tags: OfficialPlugins [[Plugin Editions]] +title: Markdown Plugin +ja-title: Markdownプラグイン +type: text/vnd.tiddlywiki + +Markdownプラグインを使用すると、標準Markdownマークアップで記述されたTiddlerを使用できるようになります。 + +[ext[https://tiddlywiki.com/plugins/tiddlywiki/markdown|plugins/tiddlywiki/markdown]]を参照してください。 \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/plugins/Mobile Drag And Drop Shim Plugin.tid b/editions/ja-JP/tiddlers/plugins/Mobile Drag And Drop Shim Plugin.tid new file mode 100644 index 000000000..cef08e2c2 --- /dev/null +++ b/editions/ja-JP/tiddlers/plugins/Mobile Drag And Drop Shim Plugin.tid @@ -0,0 +1,10 @@ +created: 20170328173820802 +caption: {{!!ja-title}} - ^^deprecated^^ +modified: 20241223111912267 +original-modified: 20240913122844238 +tags: OfficialPlugins $:/deprecated +title: Mobile Drag And Drop Shim Plugin +ja-title: モバイルのドラッグアンドドロップ詰め木プラグイン +type: text/vnd.tiddlywiki + +<<.deprecated-since "5.3.4">> モバイルのドラッグアンドドロップ詰め木プラグインは、iOSやAndroidなどのモバイルブラウザーでHTML 5互換のドラッグアンドドロップ操作を可能にする"詰め木"を提供します。この詰め木はTim Rufflesによって作成され、 https://github.com/timruffles/ios-html5-drag-drop-shim で公開されています。 diff --git a/editions/ja-JP/tiddlers/plugins/OfficialPlugins.tid b/editions/ja-JP/tiddlers/plugins/OfficialPlugins.tid new file mode 100644 index 000000000..5d6aa0ab6 --- /dev/null +++ b/editions/ja-JP/tiddlers/plugins/OfficialPlugins.tid @@ -0,0 +1,13 @@ +created: 20170210075109635 +modified: 20241221112634689 +original-modified: 20220612082350537 +tags: Plugins +title: OfficialPlugins +ja-title: 公式プラグイン +type: text/vnd.tiddlywiki + +公式TiddlyWikiプラグインライブラリには、[[TiddlyWiki 5のメインGitHubレポジトリ|Working with the TiddlyWiki5 repository]]の一部であるプラグインが含まれています。[[プラグインライブラリ|Installing a plugin from the plugin library]]からインストールします。公式プラグインライブラリのプラグインは、[[アップグレードプロセス|UpgradeMechanism]]の一部として自動的に更新されます。 + +<> + +<$macrocall $name=".note" _="プラグインの概要と処理方法については、[[プラグイン|Plugins]]を参照してください"/> diff --git a/editions/ja-JP/tiddlers/plugins/Plugin Editions.tid b/editions/ja-JP/tiddlers/plugins/Plugin Editions.tid new file mode 100644 index 000000000..9f4f5a625 --- /dev/null +++ b/editions/ja-JP/tiddlers/plugins/Plugin Editions.tid @@ -0,0 +1,11 @@ +created: 20160107223443647 +modified: 20241221104043422 +original-modified: 20160107223732928 +tags: Editions +title: Plugin Editions +ja-title: プラグインエディション +type: text/vnd.tiddlywiki + +これらのエディションには、TiddlyWikiプラグインのオリジナルセットの簡単なデモが含まれています。これらは、プラグインライブラリが欠如していた以前のバージョンのTiddlyWiki用に用意されていました + +<> \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/plugins/Plugins.tid b/editions/ja-JP/tiddlers/plugins/Plugins.tid new file mode 100644 index 000000000..cbd651105 --- /dev/null +++ b/editions/ja-JP/tiddlers/plugins/Plugins.tid @@ -0,0 +1,32 @@ +created: 20140910215514237 +list: [[Installing a plugin from the plugin library]] [[Uninstalling a plugin]] [[Manually installing a plugin]] OfficialPlugins +modified: 20241221110419644 +original-modified: 20220617133819755 +tags: Concepts TableOfContents +title: Plugins +ja-title: プラグイン +type: text/vnd.tiddlywiki + +! 紹介 + +TiddlyWiki5のプラグインを使用して、Wikiをカスタマイズ・拡張するオプションコンポーネントを配布できます。公式プラグインライブラリやコミュニティサイトからプラグインをインストールできます。 + +内部的には、プラグインは1つのTiddlerとしてパッケージ化されたTiddler集であり、ユニットとしてインストール、コピー、無効化、削除することができます。プラグイン内の個々のTiddlerは、隠しTiddlerとして表示されます。 + +プラグインには、JavaScriptモジュール、スタイルシート、テンプレートを含めることができます。プラグインを使用して、通常のテキスト、画像、その他のコンテンツを配布することもできます。 + +! 単一ファイルWikiによるプラグインの処理 + +<> + +! クライアント - サーバー構成(Node.js)でのプラグインの処理 + +<> + +! プラグインのメカニズム + +[[プラグインのメカニズム|PluginMechanism]]Tiddlerには、プラグインが内部でどのように実装されるかについての詳細が含まれています。 + +プラグインの詳細は、<>のサブタグ<<.controlpanel-tab Plugins>>で開けます。 + +TiddlyWikiのメインコアコードを含む $:/core というプラグインがあります。これは常に存在し、デフォルトの[[隠しTiddler|ShadowTiddlers]]のソースです。 \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/plugins/Railroad Plugin.tid b/editions/ja-JP/tiddlers/plugins/Railroad Plugin.tid new file mode 100644 index 000000000..7611f4d6d --- /dev/null +++ b/editions/ja-JP/tiddlers/plugins/Railroad Plugin.tid @@ -0,0 +1,12 @@ +created: 20160107223348621 +list: +modified: 20241222103824983 +original-modified: 20170228102501706 +tags: OfficialPlugins [[Plugin Editions]] +title: Railroad Plugin +ja-title: Railroadプラグイン +type: text/vnd.tiddlywiki + +{{$:/plugins/tiddlywiki/railroad/readme}} + +{{$:/plugins/tiddlywiki/railroad/syntax}} \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/plugins/SaveTrail Plugin.tid b/editions/ja-JP/tiddlers/plugins/SaveTrail Plugin.tid new file mode 100644 index 000000000..77b02d3f8 --- /dev/null +++ b/editions/ja-JP/tiddlers/plugins/SaveTrail Plugin.tid @@ -0,0 +1,17 @@ +created: 20170210074840860 +modified: 20241223112712712 +original-modified: 20170328173912704 +tags: OfficialPlugins +title: SaveTrail Plugin +ja-title: 履歴保存プラグイン +type: text/vnd.tiddlywiki + +このプラグインにより、TiddlyWikiは、以下のいずれかの方法で手動で変更されたすべてのTiddlerのコンテンツを(JSONファイルとして)継続的にダウンロードします: + +* 編集の確認 +* Tiddlerの削除 +* インポート +* 名前の変更/再リンク +* オプション: ドラフトTiddlerへのタイピングでダウンロード開始 + +必要に応じて、'前'と'後'のファイルが別々にダウンロードされます。正しく設定すると、ブラウザはバックグラウンドでファイルをサイレントにダウンロードし、誤ってデータが失われた場合のバックアップとして使用できます。 diff --git a/editions/ja-JP/tiddlers/plugins/Share Plugin.tid b/editions/ja-JP/tiddlers/plugins/Share Plugin.tid new file mode 100644 index 000000000..adff94d41 --- /dev/null +++ b/editions/ja-JP/tiddlers/plugins/Share Plugin.tid @@ -0,0 +1,14 @@ +created: 20201228143125000 +modified: 20241222103744408 +original-modified: 20201228143125000 +tags: OfficialPlugins +title: Share Plugin +ja-title: シェアプラグイン +type: text/vnd.tiddlywiki + +
    このプラグインの機能を正確に理解していない限り、このプラグインをインストールしないでください
    + +この実験的なプラグインは、URL経由でTiddlerを共有するためのツールを提供します。これには以下が含まれます: + +* 起動時にブラウザのロケーションハッシュからTiddlerのグループをロードする機能 +* TiddlerのグループからURLを作成するためのウィザードとテンプレート \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/plugins/TW2Parser Plugin.tid b/editions/ja-JP/tiddlers/plugins/TW2Parser Plugin.tid new file mode 100644 index 000000000..2c30ae15e --- /dev/null +++ b/editions/ja-JP/tiddlers/plugins/TW2Parser Plugin.tid @@ -0,0 +1,12 @@ +created: 20160107223340750 +list: +modified: 20241222103757551 +original-modified: 20170228102455677 +tags: OfficialPlugins [[Plugin Editions]] +title: TW2Parser Plugin +ja-title: TW2Parser プラグイン +type: text/vnd.tiddlywiki + +この実験的なプラグインは、TiddlyWikiのオリジナルのクラシックバージョン用に書かれたWikiTextを表示する機能を追加します + +[ext[https://tiddlywiki.com/plugins/tiddlywiki/tw2parser|plugins/tiddlywiki/tw2parser]]を参照してください \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/plugins/Twitter Plugin.tid b/editions/ja-JP/tiddlers/plugins/Twitter Plugin.tid new file mode 100644 index 000000000..0afdd109a --- /dev/null +++ b/editions/ja-JP/tiddlers/plugins/Twitter Plugin.tid @@ -0,0 +1,14 @@ +created: 20170227223209558 +modified: 20241222103812151 +original-modified: 20170328173919702 +tags: OfficialPlugins +title: Twitter Plugin +ja-title: Twitterプラグイン +type: text/vnd.tiddlywiki + + +このプラグインは、twitter.comからさまざまなエンティティを埋め込むことができる`<$twitter>`ウィジェットを追加します: + +* 個別のツイートと会話スレッド +* ハッシュタグ/アカウントをツイートする、アカウントをフォロー/いいねする、URLを共有するためのボタン +* ユーザー、ハッシュタグ、リスト、コレクションからのツイートを表示するタイムライン \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/plugins/Uninstalling a plugin.tid b/editions/ja-JP/tiddlers/plugins/Uninstalling a plugin.tid new file mode 100644 index 000000000..582e1e056 --- /dev/null +++ b/editions/ja-JP/tiddlers/plugins/Uninstalling a plugin.tid @@ -0,0 +1,31 @@ +created: 20160107222504269 +modified: 20241221111742412 +original-modified: 20220617132957241 +tags: Plugins +title: Uninstalling a plugin +ja-title: プラグインをアンインストールする +type: text/vnd.tiddlywiki + +\rules except wikilink + +手順を//隣に並べて//実行したい場合は、<>でできます。 + +TiddlyWikiをスタンドアロンの単一ファイルWikiとして使用する場合は、次の手順に従ってください。 + +# 現在のWikiファイルのバックアップを作成します([[念のため|The First Rule of Using TiddlyWiki]]) + +# <>を開き、''プラグイン''タブに移動します + +# 削除したいプラグインをクリックして、スタンドアロンTiddlerとして開きます。 + +# <<.icon $:/core/images/down-arrow>> ''その他の操作''ボタン、そして<<.icon $:/core/images/delete-button>> ''削除''をクリックします + +# <<.icon $:/core/images/save-button-dynamic>>をクリックしてTiddlyWikiを保存します + +# ウィンドウの上部に黄色い警告バーが表示された場合は、TiddlyWikiがプラグイン<<.icon $:/core/images/refresh-button>>の削除を完了するためにウィンドウを更新します。 + +#* <<.from-version "5.1.22">> 動的読み込みをサポートするプラグインを削除するときにTiddlyWikiを更新する必要がなくなりました。詳細については、[[プラグインのメカニズム|PluginMechanism]]を参照してください。 + +# これでプラグインがアクティブではなくなるか、使用できるようになりました + +<$macrocall $name=".note" _="""Node.jsでTiddlyWikiを使用する場合の詳細は、[[Node.jsでプラグインをアンインストールする|Uninstalling a plugin with Node.js]]を確認してください。
    概要は[[プラグイン|Plugins]]でご覧いただけます。"""/> \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/releasenotes/Releases.tid b/editions/ja-JP/tiddlers/releasenotes/Releases.tid new file mode 100644 index 000000000..e6fcd31bc --- /dev/null +++ b/editions/ja-JP/tiddlers/releasenotes/Releases.tid @@ -0,0 +1,15 @@ +created: 20150419144523070 +modified: 20241226113315947 +original-modified: 20231005205612322 +tags: About +title: Releases +ja-title: リリース +type: text/vnd.tiddlywiki + +TiddlyWikiとTiddlyDesktopの新しいリリースは、[[公式ディスカッショングループ|Forums]]と[[Twitter|https://twitter.com/TiddlyWiki]]にて発表します + +TiddlyWikiの次のバージョンのプレリリースは、テストとレビューの目的で https://tiddlywiki.com/prerelease で見付けられます。 + +旧バージョンをダウンロードするには、[[TiddlyWikiアーカイブ|TiddlyWiki Archive]]を参照してください + +<> diff --git a/editions/ja-JP/tiddlers/roadmap/RoadMap.tid b/editions/ja-JP/tiddlers/roadmap/RoadMap.tid new file mode 100644 index 000000000..1e5b6c547 --- /dev/null +++ b/editions/ja-JP/tiddlers/roadmap/RoadMap.tid @@ -0,0 +1,11 @@ +created: 20130823203800000 +modified: 20241226114145100 +original-modified: 2020051619421803 +tags: About +title: RoadMap +ja-title: ロードマップ +type: text/vnd.tiddlywiki + +TiddlyWiki 5は現在、多くの人々に信頼されている成熟した安定したプロジェクトです。同時に、開発者とユーザーの幅広いコミュニティのおかげで、さまざまな方向に急速に進化しています。この逆説的な状況が可能なのは、プロジェクトが下位互換性を厳密に維持し、既存の機能に加えて新しい機能を追加しているためです + +正式なロードマップはありませんが、検索と置換、リッチテキスト編集など、まだ完全に実装されていない領域がかなりあります。現在の作業は~GitHub(https://github.com/TiddlyWiki/TiddlyWiki5/)で確認できます \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/saving/Encryption.tid b/editions/ja-JP/tiddlers/saving/Encryption.tid new file mode 100644 index 000000000..6549bbe24 --- /dev/null +++ b/editions/ja-JP/tiddlers/saving/Encryption.tid @@ -0,0 +1,20 @@ +created: 20130825160900000 +modified: 20241110103519303 +original-modified: 20160610083350724 +tags: Features [[Working with TiddlyWiki]] +title: Encryption +ja-title: 暗号化 +type: text/vnd.tiddlywiki + +TiddlyWiki5を単一のHTMLファイルとして使用すると、[[Stanford JavaScript Crypto Library]]を使用してコンテンツを暗号化できます。 + +# サイドバーの''ツール''タブに切り替えて、南京錠アイコンのボタンを探します +# ボタンに<<.icon $:/core/images/unlocked-padlock>> ''パスワードの設定''と表示されている場合、現在のウィキは暗号化されていません。ボタンをクリックすると、以降の保存を暗号化するために使用されるパスワードの入力を求められます +# ボタンに<<.icon $:/core/images/locked-padlock>> ''パスワードの解除''と表示されている場合、現在のウィキはすでに暗号化されています。ボタンをクリックするとパスワードが削除され、その後の保存は暗号化されなくなります。 +# 必要に応じて、保存したファイルをテキストエディタで開き、データが暗号化されていることを確認します +# ブラウザでファイルを開きます。コンテンツが表示される前にパスワードの入力を求められます。 + +TiddlyWikiには、パスワード/暗号化に関連する、2つの無関係な機能があることに注意してください: + +* TiddlySpotに保存するときにパスワードを設定する機能。これは、''コントロールパネル'' <<.icon $:/core/images/options-button>>の"保存"タブで行います。 +* [[Node.js|TiddlyWiki on Node.js]]のサーバ構成で標準のHTTP基本認証を使用する機能。これは、ServerCommandを使用してコマンドラインで実行されます。SSLと組み合わせると、GoogleやDropboxなどのオンラインサービスで得られるのと同じレベルの暗号化転送が実現されますが、ディスク上のデータは暗号化されません diff --git a/editions/ja-JP/tiddlers/saving/Saving on a PHP Server.tid b/editions/ja-JP/tiddlers/saving/Saving on a PHP Server.tid new file mode 100644 index 000000000..7b7e9457b --- /dev/null +++ b/editions/ja-JP/tiddlers/saving/Saving on a PHP Server.tid @@ -0,0 +1,50 @@ +caption: PHP +color: #F06292 +created: 20140111091844267 +delivery: DIY +description: DIY script you can install on your own server +method: save +modified: 20241103111839145 +original-modified: 20200507110314202 +tags: Saving PHP +title: Saving on a PHP Server +ja-title: PHPサーバでの保存 +type: text/vnd.tiddlywiki + +組み込みの`TiddlySpot `セーバーを使用すると、多くのホスティングプロバイダーで実行できる単純なPHPスクリプトへ変更を保存することもできます。 + +//このコードは数年間更新されていません。問題がある場合は、代わりに[[TWレシーバー|Saving with TW Receiver]]を使うことを検討してください// + +# https://code.google.com/archive/p/bidix/downloads から、`TiddlyHome_0.1.2.zip`をダウンロードします +# 解凍(Unzip)します。 +# 解凍したサブディレクトリ`_th\lib`の下から`store.php`をコピーします +# ''store.php''のコピーを編集して、ユーザー名とパスワードを追加します。`$USERS = array( 'UserName1'=>'Password1', etc)`という行を見つけて、Username1とPassword1を適切なユーザー名とパスワードに置き換えます。 +#* シングルクォートなどの区切りやコードはすべてそのまま残してください +# ファイルを保存します +# FTPやWebインターフェースを使用して、''store.php''をサーバにアップロードします。ファイル名が正しいことを確認します +#* ファイルを正しくアップロードすると、ブラウザで表示できるようになります (例: http://example.com/store.php ) +# TiddlyWikiで、''コントロールパネル''<<.icon $:/core/images/options-button>>の''保存''タブに移動し、次の情報を入力します: +#* ウィキ名としてのユーザー名 +#* パスワード +#* ''store.php''ファイルのURL(//WikiのURL''ではなく''、''store.php''ファイルへの完全なURLである必要があります//) + +コントロールパネルの''保存''タブには、次の構成オプションが含まれています: + +|!名前 |!説明 | +|サーバーURL |サーバー上の''store.php''ファイルへの完全なURL | +|アップロードファイル名 |TiddlyWikiを保存するために使用されるファイル名(デフォルトは''index.html'') | +|アップロードディレクトリ |ファイルの保存に使用するディレクトリの''store.php''からの相対パス | +|バックアップディレクトリ |バックアップに使用するディレクトリの''store.php''から相対パス | + +!!! 最大サイズに関する注意 + +TWファイルのサイズが大きくなると、最大アップロードサイズや投稿サイズの値を増やすために、`.htaccess`または`htaccess`ファイル(システムによって異なります)を変更する必要があります。特定の設定については、Webホストプロバイダーに確認してください。試す前に必ずバックアップを作成してください。一部のシステムでは、設定は次のようになります: + +``` +php_value upload_max_filesize 4M +php_value post_max_size 6M +``` + +!!! エラーメッセージに関する注意 + +`split()`に関するエラーメッセージが表示される場合は、''store.php''内の`split`への参照を関数`explode`に変更する必要があるかもしれません。 diff --git a/editions/ja-JP/tiddlers/saving/Saving with TW Receiver.tid b/editions/ja-JP/tiddlers/saving/Saving with TW Receiver.tid new file mode 100644 index 000000000..54f70b1d4 --- /dev/null +++ b/editions/ja-JP/tiddlers/saving/Saving with TW Receiver.tid @@ -0,0 +1,17 @@ +caption: TW Receiver +created: 20200612233356021 +delivery: DIY +description: DIY script you can install on your own server +method: save +modified: 20241103115046217 +original-modified: 20200612234312631 +tags: Saving PHP +title: Saving with TW Receiver +ja-title: TWレシーバーでの保存 +type: text/vnd.tiddlywiki + +TWレシーバーは、PHPベースのサーバーに保存するために使用される~TiddlyWikiプラグインであり、PHPスクリプトです。 + +その機能には、シンプルな自動バックアップ、古いインスタンスの上書き保護、チャレンジダイジェスト認証(強化されたセキュリティ)、データ整合性署名(強化されたセキュリティ)などがあります。 + +* 詳細情報、プラグイン、コードについては、[[TWレシーバー|https://github.com/sendwheel/tw-receiver]]をご覧ください。 \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/videos/Getting Started Video.tid b/editions/ja-JP/tiddlers/videos/Getting Started Video.tid index a26a35d44..b7c57fe5d 100644 --- a/editions/ja-JP/tiddlers/videos/Getting Started Video.tid +++ b/editions/ja-JP/tiddlers/videos/Getting Started Video.tid @@ -1,13 +1,13 @@ created: 20140104134911101 -modified: 20241010115857934 +modified: 20241016105446426 original-modified: 20140919161039197 tags: Videos [[Working with TiddlyWiki]] [[Quick Start]] title: Getting Started Video ja-title: 入門動画 type: text/vnd.tiddlywiki -この簡単なチュートリアルでは、スタンドアロンのTiddlyWikiファイルを使用して変更を保存する基本について説明します。 +この短いチュートリアルでは、スタンドアロンTiddlyWikiファイルを使用して変更を保存する基本を説明します。 -//このビデオは少し古いものですが、近日中に更新される予定です!// +//(注意)この動画は少し古いので、すぐに更新されるでしょう!// \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/videos/Introducing TiddlyDesktop Video.tid b/editions/ja-JP/tiddlers/videos/Introducing TiddlyDesktop Video.tid new file mode 100644 index 000000000..805241b3e --- /dev/null +++ b/editions/ja-JP/tiddlers/videos/Introducing TiddlyDesktop Video.tid @@ -0,0 +1,11 @@ +created: 20140126124827076 +modified: 20241016105645695 +original-modified: 20140912150423506 +tags: Videos TiddlyDesktop +title: Introducing TiddlyDesktop Video +ja-title: TiddlyDesktopの紹介動画 +type: text/vnd.tiddlywiki + +この簡単な紹介では、TiddlyDesktopをインストールして使用する方法を示します: + + \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/videos/Introduction Video.tid b/editions/ja-JP/tiddlers/videos/Introduction Video.tid new file mode 100644 index 000000000..fa236e525 --- /dev/null +++ b/editions/ja-JP/tiddlers/videos/Introduction Video.tid @@ -0,0 +1,15 @@ +created: 20141126153016142 +modified: 20241016105546203 +original-modified: 20141126153016142 +tags: Videos [[Working with TiddlyWiki]] +title: Introduction Video +ja-title: 紹介動画 +type: text/vnd.tiddlywiki + +この短いプレゼンテーションでは、TiddlyWikiの基本原則を説明します + + + +動画の作成に使用されたTiddlyWikiは以下にあります: + +https://tiddlywiki.com/editions/introduction/ diff --git a/editions/ja-JP/tiddlers/videos/TiddlyWiki on Firefox for Android Video.tid b/editions/ja-JP/tiddlers/videos/TiddlyWiki on Firefox for Android Video.tid new file mode 100644 index 000000000..3ccde7679 --- /dev/null +++ b/editions/ja-JP/tiddlers/videos/TiddlyWiki on Firefox for Android Video.tid @@ -0,0 +1,11 @@ +created: 20140104134947485 +modified: 20241016105931213 +original-modified: 20140912150329611 +tags: Videos [[Saving with TiddlyFox]] +title: TiddlyWiki on Firefox for Android Video +ja-title: Android版FirefoxでのTiddlyWiki動画 +type: text/vnd.tiddlywiki + +この簡単なスクリーンキャストは、TiddlyWikiに変更を保存できるようにAndroid版Firefoxをセットアップする方法を示しています: + + \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/videos/Videos.tid b/editions/ja-JP/tiddlers/videos/Videos.tid new file mode 100644 index 000000000..e8d370ad8 --- /dev/null +++ b/editions/ja-JP/tiddlers/videos/Videos.tid @@ -0,0 +1,13 @@ +created: 20140912150153512 +modified: 20241016105319031 +original-modified: 20140919161220608 +tags: Learning +title: Videos +ja-title: 動画 +type: text/vnd.tiddlywiki + +次のTiddlyWiki動画が利用可能です + +<> + +目的は、TiddlyWikiを立ち上げて実行する方法を人々にガイドする一連の動画を厳選することです。[[貢献|Contributing]]は大歓迎です \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/videos/Working with the TiddlyWiki5 repository video.tid b/editions/ja-JP/tiddlers/videos/Working with the TiddlyWiki5 repository video.tid new file mode 100644 index 000000000..784e83930 --- /dev/null +++ b/editions/ja-JP/tiddlers/videos/Working with the TiddlyWiki5 repository video.tid @@ -0,0 +1,11 @@ +created: 20140920133836765 +modified: 20241016110052423 +original-modified: 20140920134005568 +tags: [[Working with the TiddlyWiki5 repository]] +title: Working with the TiddlyWiki5 repository video +ja-title: TiddlyWiki5リポジトリの操作に関する動画 +type: text/vnd.tiddlywiki + +Mario Pietschは、[[TiddlyWiki5 GitHubリポジトリの操作|Working with the TiddlyWiki5 repository]]に関する短いチュートリアル動画を作成しました + + \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/wikitext/Images in WikiText.tid b/editions/ja-JP/tiddlers/wikitext/Images in WikiText.tid new file mode 100644 index 000000000..95ffc78ef --- /dev/null +++ b/editions/ja-JP/tiddlers/wikitext/Images in WikiText.tid @@ -0,0 +1,69 @@ +caption: 画像 +created: 20131205160221762 +modified: 20241110103117361 +original-modified: 20220129152627668 +tags: WikiText [[Working with TiddlyWiki]] +title: Images in WikiText +ja-title: WikiTextでの画像 +type: text/vnd.tiddlywiki + +! 画像のフォーマット + +次の構文を使用して、WikiTextに画像を含めることができます: + +``` +[img[Motovun Jack.jpg]] +[img[https://tiddlywiki.com/favicon.ico]] +``` + +エディターのツールバーから画像Tiddlerを挿入することもできます。''画像''(<<.icon $:/core/images/picture>>)をクリックし、画像ファイルを選択します。 + +画像のソースが画像Tiddlerのタイトルである場合、そのTiddlerが直接表示されます。それ以外の場合はURLとして解釈され、URLを含む`src`属性を持つHTMLの``タグが生成されます。 + +ツールチップも指定できます: + +``` +[img[説明ツールチップ|Motovun Jack.jpg]] +``` + +CSSクラスと画像の幅と高さを指定するための属性を指定できます: + +``` +[img width=32 [Motovun Jack.jpg]] +[img width=32 class="tc-image" [Motovun Jack.jpg]] +``` + +属性は、トランスクルージョンや変数参照として指定できることに注意してください: + +``` +[img width={{!!mywidth}} class=<> [Motovun Jack.jpg]] +``` + +画像の構文は、ImageWidgetを呼び出すための省略形です。 + +! トランスクルージョンによる画像の表示 + +Tiddlerをトランスクルードすることで、Tiddlerに保存されている画像を表示することもできます。この方法の欠点は、画像のサイズを直接制御する方法がないことです。 + +``` +{{Motovun Jack.jpg}} +``` + +次のようにレンダリングされます: + +{{Motovun Jack.jpg}} + +! リンクとしての画像 +``` +<$link to="HelloThere" tooltip="Custom tooltip">{{$:/core/icon}} +``` + +次のようにレンダリングされます: + +<$link to="HelloThere" tooltip="Custom tooltip">{{$:/core/icon}} + +! 画像のインポート + +<<.button import>>ボタン(サイドバーの<<.sidebar-tab Tools>>タブにある)を使用するか、ドラッグアンドドロップします。詳細については、[[Tiddlerのインポート|Importing Tiddlers]]を参照してください。 + +<<.from-version "5.2.0">> Tiddlerエディタに画像をドロップするかペーストすることでも、画像をインポートできます。 diff --git a/editions/ja-JP/tiddlers/wikitext/Styles and Classes in WikiText.tid b/editions/ja-JP/tiddlers/wikitext/Styles and Classes in WikiText.tid new file mode 100644 index 000000000..0208ed7c5 --- /dev/null +++ b/editions/ja-JP/tiddlers/wikitext/Styles and Classes in WikiText.tid @@ -0,0 +1,75 @@ +caption: スタイルとクラス +created: 20131205160532119 +modified: 20241123111135825 +original-modified: 20230726105744098 +tags: WikiText [[How to apply custom styles]] +title: Styles and Classes in WikiText +ja-title: WikiTextでのスタイルとクラス +type: text/vnd.tiddlywiki + +CSSスタイルとクラスは、`@@二重のアットマーク@@`で囲まれたインラインコンテンツまたはブロックコンテンツに適用できます。クラスは、特定のブロックWikiText要素に適用できます。 + +スタイルやクラスを指定せずに`@@二重のアットマーク@@`でラップされた//インラインコンテンツ//には、`tc-inline-style`クラスが割り当てられ、ハイライトされたテキストとして表示されます。ハイライトされたテキストの前景色と背景色は、現在のパレットで`highlight-background`と`highlight-foreground`として定義されている色が使われます。 + +<> + +!! スタイル + +複数のスタイル属性(例: `color`)は、各属性の後にセミコロン`;`をつけ、開始の`@@`の直後に、スペースを入れずに、記述します。 + +<> + +同様に、//ブロックコンテンツ//にもスタイルを適用できます。スタイルやクラスを指定せずに`@@`内にブロック コンテンツをラップしても効果はありません。 + +<> + +!! クラス + +次のTiddlerでは、デモンストレーションの目的で`coloured-text`クラスと`coloured-bg`クラスが定義されています: + + +``` +.coloured-text {color: darkkhaki;} +.coloured-bg {background-color: cornsilk;} +``` + + + +複数のクラス(それぞれ`.`のプレフィックス付き)は、開始の`@@`の直後にスペース` `を空けて記述します。これは、インラインコンテンツとブロックコンテンツの両方で機能します: + +<> + +<> + +複数のクラスとスタイルを同時に適用できます。インラインコンテンツの場合は、最初にスタイルを定義し、その後にクラスを定義する必要があります。 + +<> + +ブロックコンテンツの場合、スタイルとクラスは、インラインコンテンツの場合と同じように開始`@@`の後の1行で定義することも、それぞれ`@@`で始まる別々の行で定義することもできます: + +<> + +同様に、行の先頭の文字によって導入されるブロックWikiText要素に、スタイルではなくクラスを適用できます。プレフィックス`.`が付くクラスは、特殊文字の直後に記述され、その後にスペース` `が続きます。 + +<> \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/workingwithtw/Audio.tid b/editions/ja-JP/tiddlers/workingwithtw/Audio.tid new file mode 100644 index 000000000..53c3e5416 --- /dev/null +++ b/editions/ja-JP/tiddlers/workingwithtw/Audio.tid @@ -0,0 +1,27 @@ +created: 20141018131647392 +modified: 20241110105324243 +original-modified: 20141019200654436 +tags: [[Working with TiddlyWiki]] Features +title: Audio +ja-title: オーディオ +type: text/vnd.tiddlywiki + +オーディオファイルは、[[画像|Images in WikiText]]と非常によく似た方法でTiddlyWikiに組み込むことができます。 + +! 埋め込みオーディオ + +小さなオーディオファイルは、TiddlyWiki内に直接埋め込むことができます。埋め込みは、TiddlyWikiファイルのサイズが大きくなるため、大きなファイル(数百キロバイト以上)には適していません。 + +たとえば、Tiddler[[TiddlyWiki.mp3]]には、"TiddlyWiki"という単語のMP3録音が含まれています。このTiddlerにアクセスすると、録音を再生するオーディオプレーヤーが表示されます。 + +オーディオファイルをトランスクルードすることもできます。例: + +<> + +! 外部オーディオ + +外部オーディオTiddlerは、''_canonical_uri''フィールドを使用して外部オーディオファイル/ストリームを指定し、''テキスト''フィールドをブロックします。これにより、サイズが大幅に削減されますが、再生は可能です。 + +たとえば、Tiddler[[Caruso - Ave Maria]]は、 http://archive.org でホストされているオンラインオーディオ録音を指しています: + +<> diff --git a/editions/ja-JP/tiddlers/workingwithtw/BrowserCompatibility.tid b/editions/ja-JP/tiddlers/workingwithtw/BrowserCompatibility.tid new file mode 100644 index 000000000..b4098cbb8 --- /dev/null +++ b/editions/ja-JP/tiddlers/workingwithtw/BrowserCompatibility.tid @@ -0,0 +1,14 @@ +title: BrowserCompatibility +ja-title: ブラウザの互換性 +tags: [[Working with TiddlyWiki]] + +TiddlyWikiは、HTML5互換ブラウザで動作するように設計されています + +次の表は、TiddlyWikiが動作することが知られているブラウザのバージョンをまとめたものです + +|!ブラウザ |!ステータス | +|Internet Explorer |Version 10以降 | +|Chrome |最近のすべてのバージョン | +|Firefox |最近のすべてのバージョン | +|Firefox for Android |最近のすべてのバージョン | +|Safari |Version 6以降 | diff --git a/editions/ja-JP/tiddlers/workingwithtw/Creating and editing tiddlers.tid b/editions/ja-JP/tiddlers/workingwithtw/Creating and editing tiddlers.tid new file mode 100644 index 000000000..684d2151d --- /dev/null +++ b/editions/ja-JP/tiddlers/workingwithtw/Creating and editing tiddlers.tid @@ -0,0 +1,37 @@ +created: 20140904140300000 +modified: 20241101121407637 +original-modified: 20160607153747195 +tags: [[Working with TiddlyWiki]] +title: Creating and editing tiddlers +ja-title: Tiddlerの作成と編集 +type: text/vnd.tiddlywiki + +! Tiddlerを作成する + +Tiddlerを作成するには、サイドバーの<<.icon $:/core/images/new-button>>ボタンをクリックするか、未作成Tiddlerへのリンクをクリックします。未作成Tiddlerへのリンクは、[[青い斜体|blue italics]]で表示されます。 + +参照: + +* [[日誌(Journal Tiddler)の作成|Creating journal tiddlers]] + +! Tiddlerを編集する + +既存のTiddlerを編集するには、Tiddlerの右上にある<<.icon $:/core/images/edit-button>>ボタンをクリックします。 + +!! ドラフトモード + +新しいTiddlerを作成したり、既存のTiddlerを編集したりすると、Tiddlerはドラフトモードになります。これにより、Tiddlerをさまざまな方法で修正するためのコントロールパネルが表示されます。コントロールパネルは、上から下までいくつかの部分で構成されています: + +*''タイトルフィールド'' - Tiddlerのタイトルを変更できます +*''タグセレクタ'' - タグを追加や削除できます。ボックスにタグ名を入力すると、一致する既存のタグがドロップダウンリストに表示されます。このリストから選択するか、まったく新しいタグを作成できます。次に、''追加''ボタンをクリックするか、Enterキーを押して、タグをTiddlerに追加します。各タグは、色付きのピルとして表示されます。ピルの"×"をクリックすると、そのタグが削除されます。 +*''テキストエリア'' - Tiddlerのメインコンテンツを編集できます。''プレビュー''ボタン (<<.icon $:/core/images/preview-closed>> / <<.icon $:/core/images/preview-open>>)をクリックすると、変更内容を確認できます。 +*''種類セレクタ'' - Tiddlerを画像などのように特別な方法で表示する必要がある場合に使用します。オプションのリストについては、ContentTypeを参照してください。デフォルトは`text/vnd.tiddlywiki`で、TiddlerにWikiTextが含まれていることを意味します。 +*''フィールドセレクタ'' - Tiddlerのフィールドを追加、削除できます。たとえば、他のTiddlerをタグ付けするために使用されているTiddlerを編集している場合は、[[''list''フィールド|ListField]]を追加して、それらのTiddlerがリストされる順序を変更できます。 + +! 確定、破棄、削除 + +編集が完了したら、Tiddlerの右上にあるボタンをクリックします: + +*''編集内容を確定します''ボタン(<<.icon $:/core/images/done-button>>)をクリックすると、このTiddlerへの変更が保存され、ドラフトモードが終了します。Wikiが[[自動保存|AutoSave]]に設定されている場合、変更は永続的に保存されます。設定されていない場合は、変更はWebブラウザに一時的に保存されているだけなので、サイドバーのマスター''Wikiを保存します''ボタン(<<.icon $:/core/images/save-button-dynamic>>)をクリックせずに~TiddlyWikiページを閉じると、変更は失われます。 +*''このTildderの変更を破棄します''ボタン(<<.icon $:/core/images/cancel-button>>)は、(確認を求めた後)、変更を破棄し、ドラフトモードを終了します。 +*''Tiddlerを削除します''ボタン(<<.icon $:/core/images/delete-button>>)は、削除ボタンは、Tiddlerを削除します(確認メッセージが表示された後)。 diff --git a/editions/ja-JP/tiddlers/workingwithtw/Creating journal tiddlers.tid b/editions/ja-JP/tiddlers/workingwithtw/Creating journal tiddlers.tid new file mode 100644 index 000000000..5a483641f --- /dev/null +++ b/editions/ja-JP/tiddlers/workingwithtw/Creating journal tiddlers.tid @@ -0,0 +1,42 @@ +created: 20141010093214683 +modified: 20241103101345607 +original-modified: 20181218180042029 +tags: [[Working with TiddlyWiki]] +title: Creating journal tiddlers +ja-title: 日誌(Journal Tiddler)の作成 +type: text/vnd.tiddlywiki + +! イントロダクション + +日誌(Journal Tiddler)は、タイトルとして日付や時刻を使用するTiddlerです。通常、タイムスタンプ付きの情報を素早く記録する手段として使用されます。 + +日誌(Journal Tiddler)で追加のタグを使用して他のTiddlerにリンクし、情報項目間の関係を確立することができます。 + +たとえば、''2014年10月10日''という日誌(Journal Tiddler)を使用して、その特定の日に捉えた考えや情報を記録できます。''ショッピング''と''ロンドン''のタグを使用して、ロンドンでのショッピングに関する記載であることを示すことができます。 + +! 日誌(Journal Tiddler)を作成する + +日誌(Journal Tiddler)を作成する最も簡単な方法は、サイドバーの''ツール''タブにある''新しい日誌''ボタン<<.icon $:/core/images/new-journal-button>>を使用することです。ボタンを頻繁に使用する場合は、ボタンの横にあるチェックボックスをクリックして、検索ボックスのすぐ上にボタンが表示されるようにします。 + +''新しい日誌''ボタンは、''Journal''タグと今日の日付から派生したタイトルを持つ空のTiddlerとして日誌エントリを作成します。そのタイトルの日誌(Journal Tiddler)がすでに存在する場合は、これが編集用に表示されます。 + +! タグ付き日誌(Journal Tiddler)を作成する + +一般的な一連のアクションは、今日の日誌エントリを作成(または再表示)し、別のTiddlerのタイトルでタグ付けすることです。これは、他のTiddlerのツールバーにある''タグ付き日誌の作成''ボタン<<.icon $:/core/images/new-journal-button>>で実施できます。このボタンは、TiddlerのInfoPanelの''ツール''タブで見つけられます。 + +たとえば、''Oxford Street''というTiddlerをレビューしていて、それがショッピング旅行の計画に関連していることに気付いたとします。''Oxford Street'' Tiddlerの''タグ付き日誌の作成''ボタンをクリックすると、 ''Oxford Street''でタグ付けされた日誌エントリが表示されます。 + +! 日誌(Journal Tiddler)のカスタマイズ + +新しい日誌エントリの作成方法を構成するには、[[コントロールパネルの|$:/ControlPanel]] <<.icon $:/core/images/options-button>>の''情報''の中の''基本''タブに訪ずれます。 + +* "日誌(Journal Tiddlers)のデフォルトのタイトル"は、これらのTiddlerに名前を付ける方法を[[日付のフォーマット文字列|DateFormat]]として指定します。 デフォルト設定`YYYY年MM月DD日(ddd)`では、新しいエントリのタイトルは"2014年10月10日(金)"という形式になります +* "日誌(Journal Tiddler)のタグ"は、新しい日誌エントリに自動的に付与されるタグを[[特定|Title List]]します。例: `Journal [[Summer vacation]]` + +ヒント: ''新しい日誌''をクリックするたびに別の日誌(Journal Tiddler)を作成したい場合(同じ日に何度も行う場合でも)、タイトル形式に時刻を含めることができます。日付形式として`YYYY年MM月DD日(ddd) 0hh:0mm:0ss`などを指定します。 + +もう1つの便利なトリックは、タイトルフォーマットのどこかに`<>`を含めることです。つまり、複数の異なるTiddlerで''タグ付き日誌の作成''をクリックすると、それらの各Tiddlerのタイトルが、結果として得られる日誌エントリの名前の一部になります。 + +! カスタムの新しい日誌(Journal Tiddler)ボタンを作成する + +独自のカスタム日誌ボタンを作成する方法については、[[カスタム日誌ボタンの作成|Making a custom journal button]] Tiddlerを参照してください \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/workingwithtw/Formatting text in TiddlyWiki.tid b/editions/ja-JP/tiddlers/workingwithtw/Formatting text in TiddlyWiki.tid new file mode 100644 index 000000000..670021d10 --- /dev/null +++ b/editions/ja-JP/tiddlers/workingwithtw/Formatting text in TiddlyWiki.tid @@ -0,0 +1,59 @@ +created: 20140908131500000 +modified: 20241103115932893 +original-modified: 20140919214820549 +tags: [[Working with TiddlyWiki]] +title: Formatting text in TiddlyWiki +ja-title: TiddlyWikiでのテキストフォーマット +type: text/vnd.tiddlywiki + +Tiddlerのテキスト内では、WikiTextと呼ばれる特別なフォーマットを使用して、テキストの表示方法を制御できます。 + +WikiTextは、[[エディターツールバー|Editor toolbar]]を使用して入力することも、手動で入力することもできます。前者は便利ですが、WikiTextマークアップコードがわかっている場合は後者の方が速いです。 + +! 単純なフォーマット + +最も単純なものは、WikiTextでは、太字、斜体、リスト、表などの使い慣れたワードプロセッサ機能を使用できます。例: + +``` +The ''quick'' brown ~~flea~~ fox //jumps// over the `lazy` dog +``` + +… 次のように表示されます: + +The ''quick'' brown ~~flea~~ fox //jumps// over the `lazy` dog + +! Tiddlerとの連携 + +WikiTextでは、二重角括弧を使用するか、CamelCaseワードの自動リンクを利用して、Tiddlerにリンクすることができます: + +``` +This is a link to HelloThere, and one to [[History of TiddlyWiki]] +``` + +… 次のように表示されます: + +This is a link to HelloThere, and one to [[History of TiddlyWiki]] + +! マクロ + +マクロを使用すると、WikiTextの繰り返し断片をパッケージ化して、簡単に再利用できるようになります。 + +たとえば、一意の識別子から~YouTube動画のURLを生成するマクロの定義は次のとおりです: + +``` +\define youtube(video) +https://www.youtube.com/watch?v=$video$ +\end +``` + +この定義を適用すると、`<>`は、URL https://www.youtube.com/watch?v=1g66s7UbyuU を生成します + +! 高度なWikiText + +高度なWikiText機能を使用すると、自動リストやドロップダウンメニューなどのインタラクティブ機能を作成できます。実際、TiddlyWiki自体のユーザーインターフェイス全体がWikiTextで記述されているため、TiddlyWikiで見られるどの機能もすべて、独自のWikiで使用できます。 + +高度な機能の中には、複雑なコーディングを必要とするものもあります。TiddlyWikiには、タブ、目次、Tiddlerリストなど、一般的なユーザーインターフェイスタスクを簡素化する組み込みマクロがいくつか用意されています。 + +! 詳細 + +WikiTextの書き方の詳細については、[[WikiText]]を参照してください。 diff --git a/editions/ja-JP/tiddlers/workingwithtw/Navigating between open tiddlers.tid b/editions/ja-JP/tiddlers/workingwithtw/Navigating between open tiddlers.tid new file mode 100644 index 000000000..beec5c7b5 --- /dev/null +++ b/editions/ja-JP/tiddlers/workingwithtw/Navigating between open tiddlers.tid @@ -0,0 +1,22 @@ +created: 20140908092600000 +modified: 20241031112948060 +original-modified: 20160607145200048 +tags: [[Working with TiddlyWiki]] +title: Navigating between open tiddlers +ja-title: 表示中のTiddler間の移動 +type: text/vnd.tiddlywiki + +デフォルトの"クラシック"ストーリービューモードでは、表示中のTiddlerは"ストーリーリバー"と呼ばれる垂直の列に表示されます。ストーリーリバーをナビゲートする方法、つまり表示中のTiddler間を行ったり来たりする方法はいくつかあります。 + +* 最善の方法は、サイドバーの''表示中タブを使用''して、移動したい表示中Tiddlerをクリックすることです。 + +** ''表示中''タブには、表示されているすべてのTiddlerのリストが含まれています。リスト内の任意のTiddlerをクリックすると、そのTiddlerにジャンプできます。また、Tiddlerリンクの横にある"×"をクリックすると、そのTiddlerを閉じることができます。表示中のTiddlerリストの下部には、便利な<<.icon $:/core/images/close-all-button>> ''すべて閉じる''ボタンもあります。 + +* 別の方法は、右側のストーリーリバースクロールバーを使用して''ページを上下にスクロールする''ことです。 + +** ストーリーリバーとサイドバーの両方が表示画面より下に伸びている場合は、スクロールバーが//2つ//あることに注意してください。外側または右端のスクロールバーはストーリーリバーを制御します。内側のスクロールバーはサイドバーを制御します。 + +* 多くの新米ユーザーが試みる不格好な方法は、探しているTiddlerにたどり着くまで''Tiddlerを1つずつ閉じていく''ことです。 +** ストーリーリバーの一番上または中間にあるTiddlerを閉じると、その下にあるすべてのTiddlerがリバーを上って行きます。閉じたTiddlerのすぐ下のTiddlerが上にスライドして、その位置を占めます。 + +** 一番下のTiddlerを閉じると、そのTiddlerが閉じて、その上のTiddlerの下部が見えるようになります。 diff --git a/editions/ja-JP/tiddlers/workingwithtw/Performance.tid b/editions/ja-JP/tiddlers/workingwithtw/Performance.tid new file mode 100644 index 000000000..ed50687bf --- /dev/null +++ b/editions/ja-JP/tiddlers/workingwithtw/Performance.tid @@ -0,0 +1,35 @@ +created: 20150330155120127 +modified: 20241110110532672 +original-modified: 20191014091943444 +tags: [[Working with TiddlyWiki]] +title: Performance +ja-title: パフォーマンス +type: text/vnd.tiddlywiki + +TiddlyWikiは、スマートフォンからデスクトップコンピューターまで、モダンなデバイスを最大限に活用できるように設計されたデフォルト設定で出荷されています。古い、性能の低いデバイスで作業する必要がある場合や、大量のコンテンツを処理する必要がある場合は、パフォーマンスを向上させるために実行できる手順があります。 + +!! 使用法 + +* ''"最近の更新"タブは使用しないでください'' Tiddler の変更に応じて生成し更新するには計算に時間がかかります。 +* ''"Vanilla"テーマを使用します'' デフォルトの"Snow White"テーマには、影、透明度、ぼかしなどの視覚効果が含まれており、古いデバイスではレンダリングが遅くなる可能性があります +* ''大きなTiddlerは避けてください'' 大きなビットマップはTiddlyWikiのパフォーマンスを著しく低下させる可能性があります。たとえば、最近のスマートフォンで撮影した画像は5MB以上になることがよくあります。可能な限り、ExternalImagesを使用してください +* ''一度にたくさんのTiddlerを開かないでください'' 表示中のTiddlerすべては、ストアが変更されるたびに最新の状態に保つための処理が必要になります(たとえば、ドラフトのTiddlerに入力している間)。zoominストーリービューを使用すると、サイドバーの''表示中''タブに数十のTiddlerがリストされてしまうことがよくあります。<<.icon $:/core/images/close-all-button>> ''すべて閉じる''ボタンを使用して、表示中のすべてのTiddlerを定期的に閉じる習慣をつけましょう + +!! WikiText + +* ''組み込みのパフォーマンス計測を使用します'' [[パフォーマンス計測|Performance Instrumentation]]の結果を調査すると、パフォーマンスの問題を明らかにするのに役立ちます +* インデックス付きフィルター演算子を活用します。フィルター実行の開始時に次の構造を実行すると、他の方法よりも何倍も高速に実行されるように最適化されます: +** `[all[tiddlers]tag[x]...` +** `[all[shadows]tag[x]...` +** `[all[tiddlers+shadows]tag[x]...` +** `[all[shadows+tiddlers]tag[x]...` +** `[all[tiddlers]field:y[x]...` +** `[all[shadows]field:y[x]...` +** `[all[tiddlers+shadows]field:y[x]...` +** `[all[shadows+tiddlers]field:y[x]...` +** フィールドのインデックスは現在、128文字未満のフィールド値をインデックスするようにデフォルト設定されていることに注意してください。長い値も検索できますが、インデックスは構築されません +** また、演算子名がフィールド名である場合にも“field”演算子が使用されることに注意してください。つまり、たとえば、`[all[shadows+tiddlers]caption[x]...`は最適化されます。 +* RefreshMechanismの[[スロットル|RefreshThrottling]]機能を賢明に使用します +* ''個別のTiddlerをトランスクルードする方がマクロを多用するよりもパフォーマンスが高く''、状況によってはその差が大きくなる可能性があることに留意してください。各Tiddlerのパース結果はキャッシュされ、Tiddlerが変更されていない場合は次回再利用されます。マクロには同じテクニックを使用できず、マクロはグローバルではなくウィジェットツリーに対してローカルであるため、毎回再度パースする必要があります。 +** <<.from-version "5.1.23">> パラメータや変数(つまり、`$parameter$`または`$(variable)$`)を介してテキスト置換を実行''しない''マクロのパースツリーがキャッシュされるようになりました。 +* 可能であれば、変数の宣言や文字列の連結には、''WikifyWidgetではなく、フィルター付きのSetWidgetやVarsWidgetを使用して''ください。パースツリーやウィジェット ツリーをキャッシュする機会がないため、wikifyメカニズムのパフォーマンスは比較的低くなります。 diff --git a/editions/ja-JP/tiddlers/workingwithtw/Sharing your tiddlers with others.tid b/editions/ja-JP/tiddlers/workingwithtw/Sharing your tiddlers with others.tid new file mode 100644 index 000000000..863057ef6 --- /dev/null +++ b/editions/ja-JP/tiddlers/workingwithtw/Sharing your tiddlers with others.tid @@ -0,0 +1,19 @@ +created: 20140908163900000 +modified: 20241016111248572 +original-modified: 20201228143412000 +tags: Learning +title: Sharing your tiddlers with others +ja-title: Tiddlerを他の人と共有する +type: text/vnd.tiddlywiki + +[[Tiddler|Tiddlers]]やTiddlyWiki全体を共有するには、いくつかの方法があります: + +* ~TiddlyWikiをeメールに添付できます +* ~TiddlyWikiをオンラインで公開し、リンクを取得して他の人に送信、または、伝言できます: +** ~TiddlyWikiファイル全体のWebアドレスへのリンク +** 特定のTiddlerへの[[パーマリンク|PermaLinks]](<<.icon $:/core/images/permalink-button>>) +** 現在開いているすべてのTiddlerの[[パーマビュー|PermaViews]](<<.icon $:/core/images/permaview-button>>)リンク +* [[TiddlyWikiへのDropboxリンクを共有|Sharing a TiddlyWiki on Dropbox]]できます +* テキスト、静的HTML、カンマ区切り値(つまり、スプレッドシート互換)などのさまざまな形式で[[Tiddlerをエクスポート|How to export tiddlers]](<<.icon $:/core/images/export-button>>)できます +* また、~TiddlyWikiを他の人がアクセスできるようにするだけで、例えば、オンラインで公開して、そこから[[Tiddlerをインポート|Importing Tiddlers]]できるようにするだけで、Tiddlerを共有できます +* URLロケーションハッシュを介してTiddlerを共有するために使用できる実験的な[[共有プラグイン|Share Plugin]]があります \ No newline at end of file diff --git a/editions/ja-JP/tiddlers/workingwithtw/Using links to navigate between tiddlers.tid b/editions/ja-JP/tiddlers/workingwithtw/Using links to navigate between tiddlers.tid new file mode 100644 index 000000000..4864d4059 --- /dev/null +++ b/editions/ja-JP/tiddlers/workingwithtw/Using links to navigate between tiddlers.tid @@ -0,0 +1,55 @@ +created: 20140908093600000 +modified: 20241031114951639 +original-modified: 20201129183020567 +tags: [[Working with TiddlyWiki]] +title: Using links to navigate between tiddlers +ja-title: リンクを使用してTiddler間を移動する +type: text/vnd.tiddlywiki + +リンク(通常は青いテキストで表示されます)を使用すると、あるTiddlerから別のTiddlerにナビゲートできます。任意のTiddlerへのリンクをクリックすると、そのTiddlerに移動します。Tiddlerが閉じている場合は表示されます。~TiddlyWikiの素晴らしい点は、Tiddlerへのリンクを可能な限りアクセスしやすくしていることです。リンクはどこにでもあります。~TiddlyWikiでTiddlerへのリンクを見つけることができる主な場所は次のとおりです: + +* Tiddlerが既に存在するかどうかに関係なく、Tiddlerの本文にTiddlerへの''リンクを作成''できます。Tiddler間のリンクを作成するさまざまな簡単な方法については、[[WikiTextでのリンク|Linking in WikiText]]を参照してください。 + +* あなたのTiddler内の各''タグピル''(このTiddlerのタイトルの下の''~TiddlyWikiの操作''タグピルなど)には、そのタグのTiddlerへのリンクと、そのタグを持つすべてのTiddlerのリストが含まれています。これにより、それらのTiddlerのいずれかに移動できます。 + +* 各Tiddlerの''情報パネル''では、関連するTiddlerのリストを含む4つのタブにアクセスできます: + +** ''参照''タブには、現在のTiddler//へ//リンクしているすべてのTiddlerが一覧表示されます。 + +** ''この名でタグ付''タブには、現在のTiddlerのタイトルでタグ付けされたすべてのTiddlerが一覧表示されます。 + +** ''一覧''タブには、現在のTiddlerの[[listフィールド|ListField]]に記載されているすべてのTiddler(または潜在的なTiddler)が一覧表示されます。 + +** ''被リスト''タブには、//それらの//listフィールドに現在のTiddlerティドラーを記載しているすべてのTiddlerがリストされます。 + +* ''サイドバー''のタブには、Tiddlerへのリンクのリストが多数含まれています: + +** ''表示中''タブには、現在開いている、つまりページ上のどこかに表示されているすべてのTiddlerが一覧表示されます。 + +** ''最近の更新''タブには、最近修正された順に、100件のTiddlerが表示されます。 + +** ''詳しく''タブには、8つの追加のTiddlerリストが表示されます: + +*** ''すべて''はアルファベット順にすべてのTiddlerをリストします。 + +*** ''タグ別''にはすべてのタグがリストされます。任意のタグのピルをクリックすると、そのタグが付けられたTiddlerのリストにアクセスできます。 + +*** ''未作成''には、まだ存在しないが、他のTiddlerからリンクされているTiddlerがリストされます。これは、作成する予定だったが、作成できなかったTiddlerを見つけるのに役立ちます。 + +*** ''下書き''には、現在下書きモードになっているTiddlerのリストが表示されます。~TiddlyWikiでは、Tiddlerの下書き編集中は別のTiddlerとして扱われるため、''Australia''というタイトルのTiddlerを編集している間は、 ''Australia'' and ''Draft of 'Australia'''という2つのTiddlerが存在することになります。下書きへの変更を保存して閉じると、その変更は''Australia''Tiddlerに適用されます。そのため、''下書き''タブは、編集を開始したが未完成の下書きを見つける手段としてご利用ください。 + +*** ''被参照なし''には、別のTiddlerから直接リンクされていないすべてのTiddlerが一覧表示されます。これは、どのTiddlerを他のTiddlerとより慎重に統合する必要があるかを示してくれるので、ファイルの編集に役立ちます。 + +*** ''種類別''には、画像や音声などの特別なコンテンツを含むTiddlerのリストが表示されます。 + +*** ''システム''は、すべてのSystemTiddlersを一覧表示します。 + +*** ''隠し''には、すべてのShadowTiddlersがリストされています。 + +* ''検索結果''は、検索ボックスに入力したテキストを含むTiddlerのリストです。 + +* 最後に、さまざまな方法で、Tiddlerの独自カスタムリストを作成できます: + +** [[フィルター|Filters]]をトランスクルージョンすることができます([[WikiText でのトランスクルージョン|Transclusion in WikiText]]を参照)。たとえば、`{{{ [tag[mountain]] }}}`をTiddler に追加すると、''mountain''タグが付けられたすべてのTiddlerのリストが挿入されます。 + +** ListWidgetを使用できます。これは、[[フィルター|Filters]]をトランスクルードするよりも複雑ですが、その代わりに、リストを希望どおりに設計し表示するための柔軟性が向上します。 diff --git a/editions/ja-JP/tiddlers/workingwithtw/Working with TiddlyWiki.tid b/editions/ja-JP/tiddlers/workingwithtw/Working with TiddlyWiki.tid new file mode 100644 index 000000000..c739c05a9 --- /dev/null +++ b/editions/ja-JP/tiddlers/workingwithtw/Working with TiddlyWiki.tid @@ -0,0 +1,13 @@ +created: 20140904101100000 +list: [[The First Rule of Using TiddlyWiki]] GettingStarted [[Getting Started Video]] Upgrading [[Navigating between open tiddlers]] [[Using links to navigate between tiddlers]] [[Searching in TiddlyWiki]] [[Creating and editing tiddlers]] [[Creating journal tiddlers]] Saving [[Formatting text in TiddlyWiki]] [[Structuring TiddlyWiki]] Tagging [[Images in WikiText]] KeyboardShortcuts Encryption +modified: 20241028110521720 +original-modified: 20140919191122898 +tags: TableOfContents +title: Working with TiddlyWiki +ja-title: TiddlyWikiの操作 +type: text/vnd.tiddlywiki + +TiddlyWikiを使い初めるのに役立つ情報: + +<> + diff --git a/editions/markdowndemo/tiddlers/DefaultMissingType.tid b/editions/markdowndemo/tiddlers/DefaultMissingType.tid new file mode 100644 index 000000000..2f725cd4c --- /dev/null +++ b/editions/markdowndemo/tiddlers/DefaultMissingType.tid @@ -0,0 +1,3 @@ +title: $:/config/DefaultMissingType + +text/markdown diff --git a/editions/markdowndemo/tiddlers/HelloThere.tid b/editions/markdowndemo/tiddlers/HelloThere.tid index c536d83ee..32e134299 100644 --- a/editions/markdowndemo/tiddlers/HelloThere.tid +++ b/editions/markdowndemo/tiddlers/HelloThere.tid @@ -6,4 +6,10 @@ This is a demo of TiddlyWiki5 incorporating a plugin for parsing tiddlers writte To add the plugin to your own TiddlyWiki5, just drag this link to the browser window: -[[$:/plugins/tiddlywiki/markdown]] \ No newline at end of file +[[$:/plugins/tiddlywiki/markdown]] + +! Overridden Defaults + +This demo overrides the default value for tiddlers created from missing tiddler +links so that Markdown is the default rather than WikiText. See +the [[$:/config/DefaultMissingType]] tiddler for the modification. diff --git a/editions/prerelease/tiddlers/Release 5.3.7.tid b/editions/prerelease/tiddlers/Release 5.3.7.tid new file mode 100644 index 000000000..312808704 --- /dev/null +++ b/editions/prerelease/tiddlers/Release 5.3.7.tid @@ -0,0 +1,71 @@ +caption: 5.3.7 +created: 20241115171024144 +modified: 20241115171024144 +tags: ReleaseNotes +title: Release 5.3.7 +type: text/vnd.tiddlywiki +description: Under development + +//[[See GitHub for detailed change history of this release|https://github.com/TiddlyWiki/TiddlyWiki5/compare/v5.3.6...master]]// + + +! Major Improvements + +! Translation improvements + +* French +* German + +! Plugin Improvements + + +! Widget Improvements + +* + +! Filter Improvements + +* + +! Usability Improvements + +* <<.link-badge-added "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8783"> (and <<.link-badge-here "https://github.com/TiddlyWiki/TiddlyWiki5/commit/028c80782d105beb90f5d58a7f22e865c7e8c6f4">>) [[Hidden Setting: Default Type for Missing Tiddlers]] +* <<.link-badge-added "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8661">> DiffTextWidget colours to several core palettes +* <<.link-badge-improved "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8807">> Flexoki palette with additional colours + +! Hackability Improvements + +* <<.link-badge-updated "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8768">> several macros such as [[colour-picker Macro]], [[dumpvariables Macro]], [[image-picker Macro]], [[translink Macro]], [[tree Macro]] and [[list-links-draggable Macro]] to use the newer syntax +* <<.link-badge-extended "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8780">> rendered plain text template to support more languages +* <<.link-badge-extended "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8816">> 'disabled' attribute to SelectWidget and BrowseWidget +* <<.link-badge-extended "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8819">> 'tabindex' attribute to BrowseWidget, RangeWidget, CheckboxWidget and RadioWidget +* <<.link-badge-updated "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8821">> the editor link dropdown to use newer syntax + +! Bug Fixes + +* <<.link-badge-fixed "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8800">> problem with overwriting shadow tiddlers from plugins that do not have a `plugin-priority` field +* <<.link-badge-fixed "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8831">> (and <<.link-badge-here "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8835">>) problem with switching language not correctly updating the `lang` attribute of the root `` element + +! Node.js Improvements + +* <<.link-badge-fixed "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8789">> incorrect redirect when combining a custom [[path-prefix|WebServer Parameter: path-prefix]] with manual HTTP Basic Authentication via the [[/login-basic|WebServer API: Force Basic Authentication Login]] endpoint + +! Developer Improvements + +* + +! Acknowledgements + +[[@Jermolene|https://github.com/Jermolene]] would like to thank the contributors to this release who have generously given their time to help improve TiddlyWiki: + +<<.contributors """ +DesignThinkerer +IchijikuIchigo +jrbntt +Leilei332 +linonetwo +michaeljmcd +pmario +well-noted +xcazin +""">> diff --git a/editions/prerelease/tiddlers/system/PrereleaseLocalPluginLibrary.tid b/editions/prerelease/tiddlers/system/PrereleaseLocalPluginLibrary.tid index 9c7a90f45..0ad81e302 100644 --- a/editions/prerelease/tiddlers/system/PrereleaseLocalPluginLibrary.tid +++ b/editions/prerelease/tiddlers/system/PrereleaseLocalPluginLibrary.tid @@ -1,6 +1,6 @@ title: $:/config/LocalPluginLibrary tags: $:/tags/PluginLibrary -url: http://127.0.0.1:8080/prerelease/library/v5.3.6/index.html +url: http://127.0.0.1:8080/prerelease/library/v5.3.7/index.html caption: {{$:/language/OfficialPluginLibrary}} (Prerelease Local) A locally installed version of the official ~TiddlyWiki plugin library at tiddlywiki.com for testing and debugging. //Requires a local web server to share the library// diff --git a/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid b/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid index 149770f59..2162c3b4b 100644 --- a/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid +++ b/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid @@ -1,6 +1,6 @@ title: $:/config/OfficialPluginLibrary tags: $:/tags/PluginLibrary -url: https://tiddlywiki.com/prerelease/library/v5.3.6/index.html +url: https://tiddlywiki.com/prerelease/library/v5.3.7/index.html caption: {{$:/language/OfficialPluginLibrary}} (Prerelease) The prerelease version of the official ~TiddlyWiki plugin library at tiddlywiki.com. Plugins, themes and language packs are maintained by the core team. diff --git a/editions/prerelease/tiddlers/system/SiteDomain.tid b/editions/prerelease/tiddlers/system/SiteDomain.tid new file mode 100644 index 000000000..fee678ff7 --- /dev/null +++ b/editions/prerelease/tiddlers/system/SiteDomain.tid @@ -0,0 +1,3 @@ +title: $:/SiteDomain + +tiddlywiki.com \ No newline at end of file diff --git a/editions/prerelease/tiddlers/system/SitePreviewUrl.tid b/editions/prerelease/tiddlers/system/SitePreviewUrl.tid new file mode 100644 index 000000000..0111c059f --- /dev/null +++ b/editions/prerelease/tiddlers/system/SitePreviewUrl.tid @@ -0,0 +1,3 @@ +title: $:/SitePreviewUrl + +https://tiddlywiki.com/prerelease/images/Introduction%2520Video%2520Thumbnail.jpg \ No newline at end of file diff --git a/editions/prerelease/tiddlers/system/SiteUrl.tid b/editions/prerelease/tiddlers/system/SiteUrl.tid new file mode 100644 index 000000000..f3473a390 --- /dev/null +++ b/editions/prerelease/tiddlers/system/SiteUrl.tid @@ -0,0 +1,3 @@ +title: $:/SiteUrl + +https://tiddlywiki.com/prerelease/ \ No newline at end of file diff --git a/editions/prerelease/tiddlers/system/styles.tid b/editions/prerelease/tiddlers/system/styles.tid index 2f63c5a48..33424e4ae 100644 --- a/editions/prerelease/tiddlers/system/styles.tid +++ b/editions/prerelease/tiddlers/system/styles.tid @@ -4,14 +4,3 @@ type: text/vnd.tiddlywiki \rules only filteredtranscludeinline transcludeinline macrodef macrocallinline macrocallblock -.tc-scary-warning { - font-weight: bold; - padding: 0 1em; - margin-left: -1em; - margin-right: -1em; - color: #f22; - border-radius: 4px; - border: 3px solid transparent; - background: #ffd; - background: linear-gradient(#ffd, #ffd) padding-box, repeating-linear-gradient(-45deg, red 0, red 25%, transparent 0, transparent 50%) 0 / .6em .6em; -} \ No newline at end of file diff --git a/editions/test/tiddlers/tests/data/data-widget/ImportCompound.tid b/editions/test/tiddlers/tests/data/data-widget/ImportCompound.tid index 60fd08697..dc60b1566 100644 --- a/editions/test/tiddlers/tests/data/data-widget/ImportCompound.tid +++ b/editions/test/tiddlers/tests/data/data-widget/ImportCompound.tid @@ -24,4 +24,4 @@ This is a payload tiddler from a compound tiddler + title: ExpectedResult -

    [{"title":"Payload Tiddler","tags":"Alpha Beta Gamma","text":"This is a payload tiddler from a compound tiddler","custom":"Alpha"}]

    \ No newline at end of file +

    [{"title":"Payload Tiddler","tags":"Alpha Beta Gamma","text":"This is a payload tiddler from a compound tiddler","custom":"Alpha"}]

    \ No newline at end of file diff --git a/editions/test/tiddlers/tests/data/data-widget/ImportCustomTitle.tid b/editions/test/tiddlers/tests/data/data-widget/ImportCustomTitle.tid index 34029ae32..91fbde644 100644 --- a/editions/test/tiddlers/tests/data/data-widget/ImportCustomTitle.tid +++ b/editions/test/tiddlers/tests/data/data-widget/ImportCustomTitle.tid @@ -20,4 +20,4 @@ This is the tiddler HelloThere + title: ExpectedResult -

    [{"title":"RealTitle","tags":"Definitions","text":"This is the tiddler HelloThere"}]

    \ No newline at end of file +

    [{"title":"RealTitle","tags":"Definitions","text":"This is the tiddler HelloThere"}]

    \ No newline at end of file diff --git a/editions/test/tiddlers/tests/data/data-widget/ImportFilter.tid b/editions/test/tiddlers/tests/data/data-widget/ImportFilter.tid index 2fce27b71..7beca9aba 100644 --- a/editions/test/tiddlers/tests/data/data-widget/ImportFilter.tid +++ b/editions/test/tiddlers/tests/data/data-widget/ImportFilter.tid @@ -25,4 +25,4 @@ This is the tiddler AnotherDefinition + title: ExpectedResult -

    [{"title":"AnotherDefinition","tags":"Definitions","text":"This is the tiddler AnotherDefinition","custom":"Alpha"},{"title":"HelloThere","tags":"Definitions","text":"This is the tiddler HelloThere","custom":"Alpha"}]

    \ No newline at end of file +

    [{"title":"AnotherDefinition","tags":"Definitions","text":"This is the tiddler AnotherDefinition","custom":"Alpha"},{"title":"HelloThere","tags":"Definitions","text":"This is the tiddler HelloThere","custom":"Alpha"}]

    \ No newline at end of file diff --git a/editions/test/tiddlers/tests/data/data-widget/ImportTiddler.tid b/editions/test/tiddlers/tests/data/data-widget/ImportTiddler.tid index 1c2018c5b..dd8c57243 100644 --- a/editions/test/tiddlers/tests/data/data-widget/ImportTiddler.tid +++ b/editions/test/tiddlers/tests/data/data-widget/ImportTiddler.tid @@ -20,4 +20,4 @@ This is the tiddler HelloThere + title: ExpectedResult -

    [{"title":"HelloThere","tags":"Definitions","text":"This is the tiddler HelloThere","custom":"Alpha"}]

    \ No newline at end of file +

    [{"title":"HelloThere","tags":"Definitions","text":"This is the tiddler HelloThere","custom":"Alpha"}]

    \ No newline at end of file diff --git a/editions/test/tiddlers/tests/data/data-widget/Simple.tid b/editions/test/tiddlers/tests/data/data-widget/Simple.tid index 25be3d46a..badb28d27 100644 --- a/editions/test/tiddlers/tests/data/data-widget/Simple.tid +++ b/editions/test/tiddlers/tests/data/data-widget/Simple.tid @@ -9,10 +9,10 @@ text: Standalone data widget to create individual tiddlers title: Output \whitespace trim -<$testcase template="$:/core/ui/testcases/RawJSONTemplate"> +<$testcase template="$:/core/ui/testcases/RawJSONTemplate" class="my-class an-other-class"> <$data title="Epsilon" text="Theta"/> + title: ExpectedResult -

    [{"title":"Epsilon","text":"Theta"}]

    \ No newline at end of file +

    [{"title":"Epsilon","text":"Theta"}]

    \ No newline at end of file diff --git a/editions/test/tiddlers/tests/data/transclude/CustomWidget-RawAndSlotted.tid b/editions/test/tiddlers/tests/data/transclude/CustomWidget-RawAndSlotted.tid new file mode 100644 index 000000000..a8e6feb68 --- /dev/null +++ b/editions/test/tiddlers/tests/data/transclude/CustomWidget-RawAndSlotted.tid @@ -0,0 +1,34 @@ +title: Transclude/CustomWidget/RawAndSlotted +description: Custom widget can mix ts-raw and custom slots +type: text/vnd.tiddlywiki-multiple +tags: [[$:/tags/wiki-test-spec]] + +title: Output + +\whitespace trim +\widget $my.widget() +\whitespace trim +<$slot $name="ts-header"> + Default Header + +- +<$slot $name="ts-raw"/> +\end +<$my.widget> + First Body + + + +<$my.widget> + <$fill $name="ts-header"> + Custom Header + + <$fill $name="ts-never"> + <$log RawAndSlotted="Transclude/CustomWidget/RawAndSlotted is actually failing. $fill slots are executing silently when they weren't invoked." /> + + Second Body + ++ +title: ExpectedResult + +

    Default Header-First Body

    Custom Header-Second Body

    \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/hiddensettings/Hidden Settings_ Import Content Types for Editor.tid b/editions/tw5.com/tiddlers/Hidden Setting_ Import Content Types for Editor.tid similarity index 86% rename from editions/tw5.com/tiddlers/hiddensettings/Hidden Settings_ Import Content Types for Editor.tid rename to editions/tw5.com/tiddlers/Hidden Setting_ Import Content Types for Editor.tid index 994c10432..99d9a305c 100644 --- a/editions/tw5.com/tiddlers/hiddensettings/Hidden Settings_ Import Content Types for Editor.tid +++ b/editions/tw5.com/tiddlers/Hidden Setting_ Import Content Types for Editor.tid @@ -1,7 +1,7 @@ created: 20210519155910219 modified: 20210519160221219 tags: [[Hidden Settings]] -title: Hidden Settings: Import Content Types for Editor +title: Hidden Setting: Import Content Types for Editor type: text/vnd.tiddlywiki <<.from-version "5.2.0">> diff --git a/editions/tw5.com/tiddlers/TestCases_WikifyWidget_RenderHTML.tid b/editions/tw5.com/tiddlers/TestCases_WikifyWidget_RenderHTML.tid new file mode 100644 index 000000000..7a0ac231f --- /dev/null +++ b/editions/tw5.com/tiddlers/TestCases_WikifyWidget_RenderHTML.tid @@ -0,0 +1,28 @@ +created: 20241201235747500 +description: Exporting rendered html +tags: $:/tags/wiki-test-spec +title: TestCases/WikifyWidget/RenderHTML +type: text/vnd.tiddlywiki-multiple + +title: Narrative + +You can use <<.wid wikify>> to copy your wikitext as a formated HTML. ++ +title: Output + +<$wikify name="code" text={{code}} output="html"> + +<$codeblock code=<> /> + +<$macrocall $name="copy-to-clipboard" src=<>/> + + ++ +title: code +text: + +!! A nice list + +* Item 1 +* Item 2 +* Item 3 \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/TestCases_WikifyWidget_RenderSVGURI.tid b/editions/tw5.com/tiddlers/TestCases_WikifyWidget_RenderSVGURI.tid new file mode 100644 index 000000000..e809c7891 --- /dev/null +++ b/editions/tw5.com/tiddlers/TestCases_WikifyWidget_RenderSVGURI.tid @@ -0,0 +1,48 @@ +created: 20241206225533517 +description: Rendering parameterised SVG for use in stylesheets +tags: $:/tags/wiki-test-spec +title: TestCases/WikifyWidget/RenderSVGURI +type: text/vnd.tiddlywiki-multiple + +title: Narrative + +The core svg icons use a parameter widget, making their use in stylesheets impossible without wikify. ++ +title: Output + +* https://tiddlywiki.com/ +* [[TW5|http://tiddlywiki.com/]] +* [[Mail me|mailto:me@where.net]] +* [[Open file|file:///c:/users/me/index.html]] + + ++ +title: Stylesheet + +\rules except dash +\procedure link-icon(protocol,img) +<$tiddler tiddler=<> > + <$wikify name="svg" text={{!!text}} mode="inline" output="html"> + <$text text=` + [href*="$(protocol)$"]{ + --mask:url('data:image/svg+xml;utf8,$(svg)$'); + } + `/> + + +\end + +.tc-tiddlylink-external:after{ + width:.7rem; + aspect-ratio:1; + background:currentColor; + display: inline-block; + mask: center / contain no-repeat var(--mask); + margin-inline:.5ch; + content:""; +} + +<> +<> +<> +<> \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/TestCases_WikifyWidget_WidgetValue_Fail.tid b/editions/tw5.com/tiddlers/TestCases_WikifyWidget_WidgetValue_Fail.tid new file mode 100644 index 000000000..c07005786 --- /dev/null +++ b/editions/tw5.com/tiddlers/TestCases_WikifyWidget_WidgetValue_Fail.tid @@ -0,0 +1,33 @@ +created: 20241202000005087 +description: Using a widget as a value +tags: $:/tags/wiki-test-spec-failing +title: TestCases/WikifyWidget/WidgetValue/Fail +type: text/vnd.tiddlywiki-multiple + +title: Narrative + +If you try to directly use a widget as a value, you will instead get the raw wikitext of the widget and not the rendered value. ++ +title: Output + + + {{widget}} text on {{target}} is a good contrast + ++ +title: widget +text: <$transclude $variable="contrastcolour" target={{target}} fallbackTarget=<> colourA={{colourA}} colourB={{colourB}} /> ++ +title: target +text: purple ++ +title: colourA +text: white ++ +title: colourB +text: black ++ +title: ExpectedResult + +

    > colourA={{colourA}} colourB={{colourB}} />;background:purple;"> + white text on purple is a good contrast +

    \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/TestCases_WikifyWidget_WidgetValue_Success.tid b/editions/tw5.com/tiddlers/TestCases_WikifyWidget_WidgetValue_Success.tid new file mode 100644 index 000000000..ba147f2b7 --- /dev/null +++ b/editions/tw5.com/tiddlers/TestCases_WikifyWidget_WidgetValue_Success.tid @@ -0,0 +1,43 @@ +created: 20241202003148804 +description: Using a widget as a value +tags: $:/tags/wiki-test-spec +title: TestCases/WikifyWidget/WidgetValue/Success +type: text/vnd.tiddlywiki-multiple + +title: Narrative + +If you use <<.wid wikify>>, you can get the rendered output and use it as a value. ++ +title: Output + +<$wikify name="wikified-color" text={{widget}} > + > style.background={{target}}> + {{widget}} text on {{target}} is a good contrast + + ++ +title: widget + +<$transclude $variable="contrastcolour" + target={{target}} + fallbackTarget=<> + colourA={{colourA}} + colourB={{colourB}} +/> ++ +title: target +text: purple ++ +title: colourA +text: white ++ +title: colourB +text: black ++ +title: ExpectedResult + +

    + + white text on purple is a good contrast + +

    \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/TestCases_WikifyWidget_WordCount_Fail.tid b/editions/tw5.com/tiddlers/TestCases_WikifyWidget_WordCount_Fail.tid new file mode 100644 index 000000000..570f85fff --- /dev/null +++ b/editions/tw5.com/tiddlers/TestCases_WikifyWidget_WordCount_Fail.tid @@ -0,0 +1,19 @@ +created: 20241201235746062 +description: Accurate word count +tags: $:/tags/wiki-test-spec-failing +title: TestCases/WikifyWidget/WordCount/Fail +type: text/vnd.tiddlywiki-multiple + +title: Narrative + +If a tiddler transclude some content, or use widgets to generate content, filters that try to calculate the word count won’t be accurate: they will instead count the raw text words. ++ +title: Output + +Word count = <$count filter="[{lorem}split[ ]!is[blank]]"/> ++ +title: lorem +text: <$list filter="[range[1],[3]]"><$text text=" word "/> ++ +title: ExpectedResult +text:

    Word count = 3

    \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/TestCases_WikifyWidget_WordCount_Success.tid b/editions/tw5.com/tiddlers/TestCases_WikifyWidget_WordCount_Success.tid new file mode 100644 index 000000000..be214b97a --- /dev/null +++ b/editions/tw5.com/tiddlers/TestCases_WikifyWidget_WordCount_Success.tid @@ -0,0 +1,19 @@ +created: 20241202011409888 +description: Accurate word count +tags: $:/tags/wiki-test-spec +title: TestCases/WikifyWidget/WordCount/Success +type: text/vnd.tiddlywiki-multiple + +title: Narrative + +If you use wikify, you can calculate an accurate word count. ++ +title: Output + +<$wikify name="lorem" text={{lorem}} output="text">Word count = <$count filter="[split[ ]!is[blank]]"/> ++ +title: lorem +text: <$list filter="[range[1],[3]]"><$text text=" word "/> ++ +title: ExpectedResult +text:

    Word count = 3

    \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/system/doc-macros.tid b/editions/tw5.com/tiddlers/_tw_shared/doc-utilities/doc-macros.tid similarity index 98% rename from editions/tw5.com/tiddlers/system/doc-macros.tid rename to editions/tw5.com/tiddlers/_tw_shared/doc-utilities/doc-macros.tid index 199479fb8..19ae159ce 100644 --- a/editions/tw5.com/tiddlers/system/doc-macros.tid +++ b/editions/tw5.com/tiddlers/_tw_shared/doc-utilities/doc-macros.tid @@ -228,3 +228,11 @@ This is an example tiddler. See [[Table-of-Contents Macros (Examples)]]. \end + +\procedure .copy-code-to-clipboard(text) +
    +<$transclude $variable="copy-to-clipboard-above-right" src=<>/> +<$codeblock code=<>/> +
    +\end .copy-code-to-clipboard + diff --git a/editions/tw5.com/tiddlers/system/doc-styles.tid b/editions/tw5.com/tiddlers/_tw_shared/doc-utilities/doc-styles.tid similarity index 100% rename from editions/tw5.com/tiddlers/system/doc-styles.tid rename to editions/tw5.com/tiddlers/_tw_shared/doc-utilities/doc-styles.tid diff --git a/editions/tw5.com/tiddlers/system/version-macros.tid b/editions/tw5.com/tiddlers/_tw_shared/doc-utilities/version-macros.tid similarity index 100% rename from editions/tw5.com/tiddlers/system/version-macros.tid rename to editions/tw5.com/tiddlers/_tw_shared/doc-utilities/version-macros.tid diff --git a/editions/tw5.com/tiddlers/system/wikitext-macros.tid b/editions/tw5.com/tiddlers/_tw_shared/doc-utilities/wikitext-macros.tid similarity index 100% rename from editions/tw5.com/tiddlers/system/wikitext-macros.tid rename to editions/tw5.com/tiddlers/_tw_shared/doc-utilities/wikitext-macros.tid diff --git a/editions/tw5.com/tiddlers/_tw_shared/favicons/mws.tiddlywiki.com.png b/editions/tw5.com/tiddlers/_tw_shared/favicons/mws.tiddlywiki.com.png new file mode 100644 index 000000000..f197f135b Binary files /dev/null and b/editions/tw5.com/tiddlers/_tw_shared/favicons/mws.tiddlywiki.com.png differ diff --git a/editions/tw5.com/tiddlers/_tw_shared/favicons/mws.tiddlywiki.com.png.meta b/editions/tw5.com/tiddlers/_tw_shared/favicons/mws.tiddlywiki.com.png.meta new file mode 100644 index 000000000..d97a171b3 --- /dev/null +++ b/editions/tw5.com/tiddlers/_tw_shared/favicons/mws.tiddlywiki.com.png.meta @@ -0,0 +1,3 @@ +title: $:/_tw_shared/favicons/mws.tiddlywiki.com +type: image/png +tags: TiddlyWikiSitesMenu diff --git a/editions/tw5.com/tiddlers/_tw_shared/sites/mws.tiddlywiki.com.tid b/editions/tw5.com/tiddlers/_tw_shared/sites/mws.tiddlywiki.com.tid new file mode 100644 index 000000000..f06e55d6c --- /dev/null +++ b/editions/tw5.com/tiddlers/_tw_shared/sites/mws.tiddlywiki.com.tid @@ -0,0 +1,6 @@ +title: $:/_tw_shared/sites/mws.tiddlywiki.com +tags: $:/tags/TiddlyWikiSites TiddlyWikiSitesMenu +caption: mws.tiddlywiki.com +description: ~MultiWikiServer Home +url: https://mws.tiddlywiki.com/ +icon: $:/_tw_shared/favicons/mws.tiddlywiki.com diff --git a/editions/tw5.com/tiddlers/_tw_shared/tags-TiddlyWikiSites.tid b/editions/tw5.com/tiddlers/_tw_shared/tags-TiddlyWikiSites.tid index 00e567510..e627aeabb 100644 --- a/editions/tw5.com/tiddlers/_tw_shared/tags-TiddlyWikiSites.tid +++ b/editions/tw5.com/tiddlers/_tw_shared/tags-TiddlyWikiSites.tid @@ -1,3 +1,3 @@ title: $:/tags/TiddlyWikiSites -list: $:/_tw_shared/sites/tiddlywiki.com $:/_tw_shared/sites/tiddlywiki.org $:/_tw_shared/sites/talk.tiddlywiki.org $:/_tw_shared/sites/links.tiddlywiki.org $:/_tw_shared/sites/tiddlywiki.com.upgrade $:/_tw_shared/sites/tiddlywiki.com.dev $:/_tw_shared/sites/tiddlywiki.com.prerelease $:/_tw_shared/sites/classic.tiddlywiki.com $:/_tw_shared/sites/marketplace +list: $:/_tw_shared/sites/tiddlywiki.com $:/_tw_shared/sites/tiddlywiki.org $:/_tw_shared/sites/talk.tiddlywiki.org $:/_tw_shared/sites/links.tiddlywiki.org $:/_tw_shared/sites/tiddlywiki.com.upgrade $:/_tw_shared/sites/tiddlywiki.com.dev $:/_tw_shared/sites/tiddlywiki.com.prerelease $:/_tw_shared/sites/mws.tiddlywiki.com $:/_tw_shared/sites/classic.tiddlywiki.com $:/_tw_shared/sites/marketplace tags: TiddlyWikiSitesMenu diff --git a/editions/tw5.com/tiddlers/about/Archive.tid b/editions/tw5.com/tiddlers/about/Archive.tid index c3bbf8671..98901027b 100644 --- a/editions/tw5.com/tiddlers/about/Archive.tid +++ b/editions/tw5.com/tiddlers/about/Archive.tid @@ -1,5 +1,5 @@ created: 20231005205623086 -modified: 20240723172222378 +modified: 20241115193649399 tags: About title: TiddlyWiki Archive @@ -8,7 +8,7 @@ title: TiddlyWiki Archive 5.1.10 5.1.11 5.1.12 5.1.13 5.1.14 5.1.15 5.1.16 5.1.17 5.1.18 5.1.19 5.1.20 5.1.21 5.1.22 5.1.23 5.2.0 5.2.1 5.2.2 5.2.3 5.2.4 5.2.5 5.2.6 5.2.7 -5.3.0 5.3.1 5.3.2 5.3.3 5.3.4 5.3.5 +5.3.0 5.3.1 5.3.2 5.3.3 5.3.4 5.3.5 5.3.6 \end Older versions of TiddlyWiki are available in the [[archive|https://github.com/TiddlyWiki/tiddlywiki.com-gh-pages/tree/master/archive]]: diff --git a/editions/tw5.com/tiddlers/cards/card-styles.tid b/editions/tw5.com/tiddlers/cards/card-styles.tid index 7b95b699a..7321ac129 100644 --- a/editions/tw5.com/tiddlers/cards/card-styles.tid +++ b/editions/tw5.com/tiddlers/cards/card-styles.tid @@ -7,7 +7,7 @@ type: text/vnd.tiddlywiki .tc-cards { display: flex; flex-wrap: wrap; - justify-content: space-evenly; + justify-content: center; width: 100%; padding: 0.5em; background: <>; diff --git a/editions/tw5.com/tiddlers/community/TiddlyWiki on the Web.tid b/editions/tw5.com/tiddlers/community/TiddlyWiki on the Web.tid index 9b7a1af30..9168c2f76 100644 --- a/editions/tw5.com/tiddlers/community/TiddlyWiki on the Web.tid +++ b/editions/tw5.com/tiddlers/community/TiddlyWiki on the Web.tid @@ -2,7 +2,7 @@ color: #808 created: 20241009150445080 icon: $:/core/images/link list: TalkTiddlyWiki [[TiddlyWiki on YouTube]] [[TiddlyWiki on Reddit]] [[TiddlyWiki on Discord]] [[TiddlyWiki on GitHub]] [[TiddlyWiki on Mastodon]] [[TiddlyWiki on Twitter]] [[TiddlyWiki on Gitter]] [[TiddlyWiki on Open Collective]] -modified: 20241009150453139 +modified: 20241115170824144 tags: Welcome title: TiddlyWiki on the Web type: text/vnd.tiddlywiki diff --git a/editions/tw5.com/tiddlers/concepts/Concepts.tid b/editions/tw5.com/tiddlers/concepts/Concepts.tid index ec1556ac1..e1ab831ac 100644 --- a/editions/tw5.com/tiddlers/concepts/Concepts.tid +++ b/editions/tw5.com/tiddlers/concepts/Concepts.tid @@ -1,11 +1,11 @@ color: #FF8383 created: 20130825144700000 list: Cascades ColourPalettes Commands [[Current Tiddler]] DataTiddlers [[Date Fields]] DefaultTiddlers DictionaryTiddlers ExternalImages Filters [[Hard and Soft Links]] JSONTiddlers [[Keyboard Shortcut Tiddler]] Macros Messages Modules PermaLinks Plugins Pragma [[Railroad Diagrams]] ShadowTiddlers [[Story River]] SystemTags SystemTiddlers Tagging TemplateTiddlers TextReference TiddlerFields TiddlerLinks Tiddlers TiddlyWiki TiddlyWiki5 [[Title List]] [[Title Selection]] Transclusion Variables Widgets Wiki WikiText -modified: 20211201100624625 +modified: 20250104110643596 tags: Reference title: Concepts type: text/vnd.tiddlywiki These are the concepts underlying TiddlyWiki. Understanding how these ideas fit together is the key to getting the most from TiddlyWiki. -<> +<> diff --git a/editions/tw5.com/tiddlers/concepts/ExternalImages.tid b/editions/tw5.com/tiddlers/concepts/ExternalImages.tid index 08b008d9c..077faedef 100644 --- a/editions/tw5.com/tiddlers/concepts/ExternalImages.tid +++ b/editions/tw5.com/tiddlers/concepts/ExternalImages.tid @@ -1,5 +1,5 @@ created: 20140610213500000 -modified: 20140912141341933 +modified: 20241030132047048 tags: Concepts Features title: ExternalImages type: text/vnd.tiddlywiki @@ -32,18 +32,18 @@ Note the image files must be saved before they are externalised. Externalising t For an example see the ''externalimages'' build target of the demo ''tw5.com'' wiki: ``` ---savetiddlers [is[image]] images +--save [is[image]] images --setfield [is[image]] _canonical_uri $:/core/templates/canonical-uri-external-image text/plain --setfield [is[image]] text "" text/plain ---rendertiddler $:/core/save/all externalimages.html text/plain +--render $:/core/save/all externalimages.html text/plain ``` !! Saving Separate Image Files -The following `--savetiddlers` command can be used to save the images of a wiki into an ''images'' subfolder: +The following `--save` command (see [[SaveCommand]]) can be used to save the images of a wiki into an ''images'' subfolder: ``` ---savetiddlers [is[image]] images +--save [is[image]] images ``` !! Externalising Image Tiddlers diff --git a/editions/tw5.com/tiddlers/concepts/Tiddler Colour Cascade.tid b/editions/tw5.com/tiddlers/concepts/Tiddler Colour Cascade.tid index 8ec685929..15675921a 100644 --- a/editions/tw5.com/tiddlers/concepts/Tiddler Colour Cascade.tid +++ b/editions/tw5.com/tiddlers/concepts/Tiddler Colour Cascade.tid @@ -1,16 +1,16 @@ created: 20211206160300525 -modified: 20211206165301231 +modified: 20241121164044717 tags: Cascades title: Tiddler Colour Cascade type: text/vnd.tiddlywiki -The tiddler colour cascade is a [[cascade|Cascades]] used to choose which colour should be used for a particular tiddler. +The tiddler colour cascade is a [[cascade|Cascades]] used to choose which colour should be used for a particular tiddler ''tag'' and ''icon''. Core tiddler colour cascades can be found in $:/core/macros/tag, $:/core/ui/Components/tag-link, $:/core/ui/EditTemplate/tags, $:/core/ui/TagPickerTagTemplate, $:/core/ui/TagTemplate and $:/core/ui/ViewTemplate/title -The default tiddler colour cascade consists of: +The default tiddler tag colour cascade consists of: -# If the tiddler has a ''color'' field, use the value as the colour +# If the tiddler has a ''color'' field, use the value as the colour for the ''tag-pill'' and the ''tiddler-icon'' # If the tiddler $:/config/DefaultTiddlerColour exists, use the value as the colour You can see the current settings for the tiddler colour cascade in $:/ControlPanel under the ''Info'' -> ''Advanced'' -> ''Cascades'' -> ''Tiddler Colour'' tab. diff --git a/editions/tw5.com/tiddlers/definitions/Definitions.tid b/editions/tw5.com/tiddlers/definitions/Definitions.tid index b60d21ab6..8c85861c5 100644 --- a/editions/tw5.com/tiddlers/definitions/Definitions.tid +++ b/editions/tw5.com/tiddlers/definitions/Definitions.tid @@ -1,10 +1,10 @@ color: #7bb95d -created: 201308251451 -modified: 201308251451 -title: Definitions +created: 20130825145100000 +modified: 20250104111522881 tags: Reference +title: Definitions type: text/vnd.tiddlywiki These are definitions of technical words and phrases used in this documentation. (As distinct from the [[Concepts]] that make up TiddlyWiki itself). -<> +<> diff --git a/editions/tw5.com/tiddlers/demonstrations/GroupedLists.tid b/editions/tw5.com/tiddlers/demonstrations/GroupedLists.tid index a915f181f..05cdea572 100644 --- a/editions/tw5.com/tiddlers/demonstrations/GroupedLists.tid +++ b/editions/tw5.com/tiddlers/demonstrations/GroupedLists.tid @@ -1,18 +1,18 @@ -title: GroupedLists -tags: ListWidget Lists created: 20150106180000000 -modified: 20150221230117000 +modified: 20241204085601176 +tags: ListWidget Lists +title: GroupedLists The following sidebar tabs give examples of grouped lists created by nesting. -!! Types Tab +!! [[Types Tab|$:/core/ui/MoreSideBar/Types]] -For the [[Types|$:/core/ui/MoreSideBar/Types]] tab, the outer list filter as shown below selects each discrete value found in the `type` field. The inner list filter selects all the (non-system) tiddlers with that type. +For the "Types Tab", the outer list filter as shown below selects each discrete value found in the `type` field. The inner list filter selects all the (non-system) tiddlers with that type. <> -!! Recent Tab +!! [[Recent Tab|$:/core/ui/SideBar/Recent]] -The list in the [[Recent|$:/core/ui/SideBar/Recent]] tab is generated using the <<.mlink timeline>> macro. Here, the outer list filter selects each discrete day found in the `modified` field, while the inner list filter selects all the tiddlers dated the same day in the `modified` field. +The list in the "Recent Tab" is generated using the <<.mlink timeline>> macro. Here, the outer list filter selects each discrete day found in the `modified` field, while the inner list filter selects all the tiddlers dated the same day in the `modified` field. -<> +<> diff --git a/editions/tw5.com/tiddlers/demonstrations/SampleAlert.tid b/editions/tw5.com/tiddlers/demonstrations/SampleAlert.tid new file mode 100644 index 000000000..cf632e46a --- /dev/null +++ b/editions/tw5.com/tiddlers/demonstrations/SampleAlert.tid @@ -0,0 +1,9 @@ +component: demo +created: 20160107230134172 +modified: 20160107230134172 +title: SampleAlert +type: text/vnd.tiddlywiki + +This is a demonstration alert. + +Note that the trashcan icon deletes the tiddler containing this alert. You can also remove it by opening the tiddler SampleAlert and editing it to remove the tag [[$:/tags/Alert]]. \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/filters/each.tid b/editions/tw5.com/tiddlers/filters/each.tid index c6140b791..a1ff2dcf8 100644 --- a/editions/tw5.com/tiddlers/filters/each.tid +++ b/editions/tw5.com/tiddlers/filters/each.tid @@ -1,15 +1,15 @@ +caption: each created: 20140410103123179 -modified: 20191209085901849 +modified: 20241204090042816 +op-input: a [[selection of titles|Title Selection]] +op-output: a selection containing the first input title encountered for each distinct value of field <<.place F>> +op-parameter: the name of a [[field|TiddlerFields]], defaulting to <<.field title>> +op-parameter-name: F +op-purpose: select one of each group of input titles by field +op-suffix: optionally, `list-item` or `value` tags: [[Filter Operators]] [[Group Operators]] title: each Operator type: text/vnd.tiddlywiki -caption: each -op-purpose: select one of each group of input titles by field -op-input: a [[selection of titles|Title Selection]] -op-suffix: optionally, `list-item` or `value` -op-parameter: the name of a [[field|TiddlerFields]], defaulting to <<.field title>> -op-parameter-name: F -op-output: a selection containing the first input title encountered for each distinct value of field <<.place F>> Each input title is processed in turn. The value of field <<.place F>> in the corresponding tiddler is examined. @@ -22,4 +22,6 @@ Each input title is processed in turn. The value of field <<.place F>> in the co Note that if a tiddler does not contain field <<.place F>>, it is treated as if the value of the field were empty. Thus, a filter expression such as `[each[motovun]]` will return one tiddler that doesn't have a `motovun` field, as well as one tiddler with each distinct value of that field, if any. To obtain just the tiddlers that have a non-blank value for the `motovun` field one can use `[each[motovun]has[motovun]]`. +<<.note"""For an example of using the <<.op each>> operator to generate a two-tier list of groups and members, see [[GroupedLists]].""">> + <<.operator-examples "each">> diff --git a/editions/tw5.com/tiddlers/filters/examples/each.tid b/editions/tw5.com/tiddlers/filters/examples/each.tid index 4c6a746ed..be12ede51 100644 --- a/editions/tw5.com/tiddlers/filters/examples/each.tid +++ b/editions/tw5.com/tiddlers/filters/examples/each.tid @@ -1,5 +1,5 @@ created: 20150118134611000 -modified: 20150118183152000 +modified: 20241204085904594 tags: [[each Operator]] [[Operator Examples]] title: each Operator (Examples) type: text/vnd.tiddlywiki @@ -9,5 +9,3 @@ type: text/vnd.tiddlywiki <<.operator-example 3 "[each:list-item[list]]" "all tiddlers listed anywhere in the core list field">> <<.operator-example 4 "[[Non existing]] [[GettingStarted]] +[each:value[]]" "Compare this to `+[each[]]` below">> <<.operator-example 5 "[[Non existing]] [[GettingStarted]] +[each[]]" "Compare this to `+[each:value[]]` above">> - -For an example of using the <<.op each>> operator to generate a two-tier list of groups and members, see [[GroupedLists]]. diff --git a/editions/tw5.com/tiddlers/function Operator (Examples).tid b/editions/tw5.com/tiddlers/function Operator (Examples).tid new file mode 100644 index 000000000..c83b2e6c9 --- /dev/null +++ b/editions/tw5.com/tiddlers/function Operator (Examples).tid @@ -0,0 +1,63 @@ +created: 20241202134158579 +tags: [[Operator Examples]] [[function Operator]] +title: function Operator (Examples) + +\function get.destField(subTiddler,field) [get] + +\function get.sourceField(subTiddler,field) [shadowsource[]get[text]jsonget[tiddlers],,] + +\function get.sourceFields(subTiddler) [shadowsource[]]:map:flat[subtiddlerfields{!!title}] + +\function has.diff(subTiddler,field) [get.destField,else[]]:filter[get.sourceField,else[]!match{!!title}] + +\function diff.fields(subTiddler) [get.sourceFields] [fields:exclude[created creator modified modifier]] :filter[has.diff,{!!title}] + +\define subTiddler() $:/SiteTitle + +\procedure display-variable(name) ''<$text text=<>/>'': <$text text={{{ [getvariable[]] }}}/> + +These examples use the following predefined variable: + +* <> + +They also use the following predefined functions: + +``` +\function get.destField(subTiddler,field) [get] + +\function get.sourceField(subTiddler,field) [shadowsource[]get[text]jsonget[tiddlers],,] + +\function get.sourceFields(subTiddler) [shadowsource[]]:map:flat[subtiddlerfields{!!title}] + +\function has.diff(subTiddler,field) [get.destField,else[]]:filter[get.sourceField,else[]!match{!!title}] + +\function diff.fields(subTiddler) [get.sourceFields] [fields:exclude[created creator modified modifier]] :filter[has.diff,{!!title}] +``` + +<<.operator-example 1 "[function[get.destField],,[text]]" "get the overriden value of the field <<.field text>>.">> + +The function `get.destField` use the operator <<.olink get>> to get the overriden value of the field <<.field text>> for <>. + +<<.operator-example 2 "[function[get.sourceField],,[text]]" "get the original value of the field <<.field text>>">> + +The function `get.sourceField` use the operator <<.olink shadowsource>> to get the title of the plugin in which the shadow tiddler is defined ({{{ [shadowsource[]]}}}). It then use the operator <<.olink get>> to retrieve the content of the field <<.field text>>, in which is defined every tiddlers for that plugin, in a json format. Next, the operator <<.olink jsonget>> is used to retrieve the value of the original field <<.field text>> for <>. + +<<.operator-example 3 "[function[get.sourceFields],]" "get the original list of fields.">> + +The function `get.sourceFields` use the operator <<.olink shadowsource>> to get the title of the plugin in which the shadow tiddler is defined. The subsequent [[Map Filter Run Prefix]] iterate over the plugin title, and use the operator <<.olink subtiddlerfields>> to output every fields of the shadow tiddler <>, whose title is retrieved using a [[TextReference]]. + +<<.operator-example 4 "[function[has.diff],,[text]]" "compare the original value of the field <<.field text>> with the value set in the overriding tiddler. If the value is different, output the overriden value">> + +The function `has.diff` use the operator <<.olink get>> to retrieve the current value for the field <<.field text>>. If this field is missing or empty, the operator <<.olink else>> output an empty <<.em string>>. Next, the [[Filter Filter Run Prefix]] use the function `get.sourceField` to get the original value for that field, and the operator <<.olink match>> is used to check if the value does not match the current value for that field, using a [[TextReference]]. If the values do not match, it means that the value for that field was changed, and the value of the field is output. Otherwise, the `:filter` filter run prevent the field value to be output. + +<<.operator-example 5 "[function[diff.fields],]" "list the overriden fields">> + +The function `diff.fields` use the the function `get.sourceFields` to list every fields in the original <>. It then use the <<.olink fields>> operator to get every fields on the overriding tiddler, excluding the fields that are automatically set when a [[ShadowTiddler|ShadowTiddlers]] is overriden (<<.field created>>, <<.field creator>>, <<.field modified>>, <<.field modifier>>). The subsequent [[Filter Filter Run Prefix]] use the function `has.diff` to output only the title of the fields that were overidden. + +<<.tip """Theses functions can be used together to highlight the changes made to <>:""">> + +< + <$diff-text source={{{ [get.sourceField,] }}} dest={{{ [get.destField,] }}} > + <>: <> difference<%if [!match[1]]%>s<%endif%> + +""">> diff --git a/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Internet Explorer.tid b/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Internet Explorer.tid index 3b8b5d4f0..295736a3f 100644 --- a/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Internet Explorer.tid +++ b/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Internet Explorer.tid @@ -1,7 +1,7 @@ caption: Internet Explorer created: 20140811172058274 modified: 20211114031651879 -tags: GettingStarted +tags: GettingStarted $:/deprecated title: GettingStarted - Internet Explorer type: text/vnd.tiddlywiki diff --git a/editions/tw5.com/tiddlers/hellothere/Find Out More.tid b/editions/tw5.com/tiddlers/hellothere/Find Out More.tid index 1450243ee..21dd889b7 100644 --- a/editions/tw5.com/tiddlers/hellothere/Find Out More.tid +++ b/editions/tw5.com/tiddlers/hellothere/Find Out More.tid @@ -1,7 +1,7 @@ color: #880 created: 20241009150347613 icon: $:/core/images/help -modified: 20241009150430229 +modified: 20241115170824144 tags: Welcome title: Find Out More type: text/vnd.tiddlywiki diff --git a/editions/tw5.com/tiddlers/hellothere/HelloThere.tid b/editions/tw5.com/tiddlers/hellothere/HelloThere.tid index 6d1cb4be6..046938156 100644 --- a/editions/tw5.com/tiddlers/hellothere/HelloThere.tid +++ b/editions/tw5.com/tiddlers/hellothere/HelloThere.tid @@ -1,7 +1,7 @@ created: 20130822170200000 icon: $:/core/icon list: [[A Gentle Guide to TiddlyWiki]] [[Discover TiddlyWiki]] [[Some of the things you can do with TiddlyWiki]] [[Ten reasons to switch to TiddlyWiki]] Examples [[What happened to the original TiddlyWiki?]] -modified: 20241009150333146 +modified: 20241115170824144 tags: Welcome title: HelloThere type: text/vnd.tiddlywiki diff --git a/editions/tw5.com/tiddlers/hellothere/HelloThumbnail.tid b/editions/tw5.com/tiddlers/hellothere/HelloThumbnail.tid index 07eaaa05f..b72d039aa 100644 --- a/editions/tw5.com/tiddlers/hellothere/HelloThumbnail.tid +++ b/editions/tw5.com/tiddlers/hellothere/HelloThumbnail.tid @@ -1,5 +1,5 @@ created: 20150414070451144 -list: [[HelloThumbnail - Twenty Years of TiddlyWiki]] [[HelloThumbnail - Newsletter]] [[HelloThumbnail - Introduction Video]] [[HelloThumbnail - Grok TiddlyWiki]] [[HelloThumbnail - Latest Version]] [[HelloThumbnail - TiddlyWikiLinks]] [[HelloThumbnail - Developers]] [[HelloThumbnail - Funding]] [[HelloThumbnail - Marketplace]] [[HelloThumbnail - Intertwingled Innovations]] +list: [[HelloThumbnail - Twenty Years of TiddlyWiki]] [[HelloThumbnail - Introduction Video]] [[HelloThumbnail - TiddlyWiki Privacy]] [[HelloThumbnail - Latest Version]] [[HelloThumbnail - Newsletter]] [[HelloThumbnail - Grok TiddlyWiki]] [[HelloThumbnail - TiddlyWikiLinks]] [[HelloThumbnail - MultiWikiServer]] [[HelloThumbnail - Funding]] [[HelloThumbnail - Marketplace]] [[HelloThumbnail - Intertwingled Innovations]] modified: 20150414070948246 title: HelloThumbnail type: text/vnd.tiddlywiki diff --git a/editions/tw5.com/tiddlers/hellothere/Testimonials and Reviews.tid b/editions/tw5.com/tiddlers/hellothere/Testimonials and Reviews.tid index 4ce3435e2..b3b176422 100644 --- a/editions/tw5.com/tiddlers/hellothere/Testimonials and Reviews.tid +++ b/editions/tw5.com/tiddlers/hellothere/Testimonials and Reviews.tid @@ -1,6 +1,6 @@ color: #088 icon: $:/core/images/star-filled -modified: 20241001141521924 +modified: 20241115170824144 tags: Welcome title: Testimonials and Reviews type: text/vnd.tiddlywiki diff --git a/editions/tw5.com/tiddlers/hellothere/quickstart/Quick Start.tid b/editions/tw5.com/tiddlers/hellothere/quickstart/Quick Start.tid index 36f6ca64a..c3eb43dca 100644 --- a/editions/tw5.com/tiddlers/hellothere/quickstart/Quick Start.tid +++ b/editions/tw5.com/tiddlers/hellothere/quickstart/Quick Start.tid @@ -2,7 +2,7 @@ color: #cc9 created: 20241009163451663 icon: $:/core/images/tip list: GettingStarted [[Getting Started Video]] [[Find Out More]] [[TiddlyWiki on the Web]] [[Testimonials and Reviews]] -modified: 20241009163521037 +modified: 20241115170824144 tags: Welcome title: Quick Start type: text/vnd.tiddlywiki diff --git a/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - MultiWikiServer.tid b/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - MultiWikiServer.tid new file mode 100644 index 000000000..c81b90e20 --- /dev/null +++ b/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - MultiWikiServer.tid @@ -0,0 +1,10 @@ +title: HelloThumbnail - MultiWikiServer +tags: HelloThumbnail +color: purple +background-color: #fff +caption: ~MultiWikiServer +link: MultiWikiServer +image: MWS Banner.png +ribbon-text: SOON + +Find out more about the new ~MultiWikiServer plugin that turns ~TiddlyWiki into a full-fledged server system supporting multiple user accounts and tiddler sharing \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Newsletter.tid b/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Newsletter.tid index be7cf98f8..24f4e9c28 100644 --- a/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Newsletter.tid +++ b/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Newsletter.tid @@ -4,6 +4,5 @@ caption: ~TiddlyWiki Newsletter link: TiddlyWiki Newsletter image: TiddlyWiki Newsletter Badge.png color: #fff -ribbon-text: NEW Subscribe to the ~TiddlyWiki Newsletter, a fortnightly summary of the most interesting and relevant news from the ~TiddlyWiki community diff --git a/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyWiki Privacy.tid b/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyWiki Privacy.tid new file mode 100644 index 000000000..e0f3e3c6d --- /dev/null +++ b/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyWiki Privacy.tid @@ -0,0 +1,9 @@ +title: HelloThumbnail - TiddlyWiki Privacy +tags: HelloThumbnail +color: #D5B7EA +image: TiddlyWiki Privacy Badge.png +caption: Your Privacy and Security +link: TiddlyWiki Privacy and Security +ribbon-text: NEW + +With care, ~TiddlyWiki can be used totally privately, without needing to trust anything or anyone but your own device \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyWikiLinks.tid b/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyWikiLinks.tid index 221a3ae10..38da0ac3d 100644 --- a/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyWikiLinks.tid +++ b/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyWikiLinks.tid @@ -2,7 +2,7 @@ title: HelloThumbnail - TiddlyWikiLinks tags: HelloThumbnail color: #D5B7EA image: TiddlyWikiLinks -caption: links.tiddlywiki.org +caption: Community Links link: Community Links Aggregator Links to ~TiddlyWiki-related content collected by the community \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Default Tiddler Colour.tid b/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Default Tiddler Colour.tid index 649fd7629..71798ffcf 100644 --- a/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Default Tiddler Colour.tid +++ b/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Default Tiddler Colour.tid @@ -1,7 +1,7 @@ created: 20240907042443909 -modified: 20240907042629405 +modified: 20241120225606237 tags: [[Hidden Settings]] title: Hidden Setting: Default Tiddler Colour type: text/vnd.tiddlywiki -A default tiddler colour can be specified by creating a tiddler called $:/config/DefaultTiddlerColour containing the CSS color value. +A default tag-tiddler colour can be specified by creating a tiddler called $:/config/DefaultTiddlerColour containing the CSS color value. For more details see: [[Tiddler Colour Cascade]] diff --git a/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting DefaultMissingType.tid b/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting DefaultMissingType.tid new file mode 100644 index 000000000..61320c655 --- /dev/null +++ b/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting DefaultMissingType.tid @@ -0,0 +1,7 @@ +tags: [[Hidden Settings]] +title: Hidden Setting: Default Type for Missing Tiddlers +type: text/vnd.tiddlywiki + +By default new tiddlers are created with a blank content type. + +The hidden setting in $:/config/DefaultMissingType can be set to another content type which is used by default for new tiddlers created by clicking on a missing link (for example, `text/markdown` to default to Markdown for missing tiddlers). If no value is provided, the content type will be blank and WikiText will be used. diff --git a/editions/tw5.com/tiddlers/howtos/Configuring the default TiddlerInfo tab.tid b/editions/tw5.com/tiddlers/howtos/Configuring the default TiddlerInfo tab.tid index 70bd98a04..efd7b26b0 100644 --- a/editions/tw5.com/tiddlers/howtos/Configuring the default TiddlerInfo tab.tid +++ b/editions/tw5.com/tiddlers/howtos/Configuring the default TiddlerInfo tab.tid @@ -6,7 +6,7 @@ type: text/vnd.tiddlywiki The configuration tiddler [[$:/config/TiddlerInfo/Default]] contains the title of the tiddler containing the default tiddler info tab. -The default value is `$:/core/ui/TiddlerInfo/Tools` corresponding to the ''Tools'' tab. Other possible values are: +The default value is `$:/core/ui/TiddlerInfo/Fields` corresponding to the ''Fields'' tab. Other possible values are:
      <$list filter="[all[shadows+tiddlers]tag[$:/tags/TiddlerInfo]!has[draft.of]]"> diff --git a/editions/tw5.com/tiddlers/howtos/Generating Static Sites with TiddlyWiki.tid b/editions/tw5.com/tiddlers/howtos/Generating Static Sites with TiddlyWiki.tid index 104fa7e49..b2ca3f135 100644 --- a/editions/tw5.com/tiddlers/howtos/Generating Static Sites with TiddlyWiki.tid +++ b/editions/tw5.com/tiddlers/howtos/Generating Static Sites with TiddlyWiki.tid @@ -1,5 +1,5 @@ created: 20130828190200000 -modified: 20241007003103647 +modified: 20241008031135403 tags: [[TiddlyWiki on Node.js]] title: Generating Static Sites with TiddlyWiki type: text/vnd.tiddlywiki @@ -17,12 +17,12 @@ You can explore a static representation of the main TiddlyWiki site at https://t The following commands are used to generate the sample static version of the TiddlyWiki5 site: ```sh -tiddlywiki wikipath --render '[!is[system]]' '[encodeuricomponent[]addprefix[static/]]' text/plain $:/core/templates/static.tiddler.html +tiddlywiki wikipath --render '[!is[system]]' '[encodeuricomponent[]addprefix[static/]addsuffix[.html]]' text/plain $:/core/templates/static.tiddler.html tiddlywiki wikipath --render $:/core/templates/static.template.html static.html text/plain tiddlywiki wikipath --render $:/core/templates/static.template.css static/static.css text/plain ``` -The first RenderCommand generates the HTML representations of individual tiddlers, `[encodeuricomponent[]addprefix[static/]]` applies URI encoding to each title, and then adds the prefix `static/`. The second RenderCommand saves the static version of the DefaultTiddlers, and the final RenderCommand saves the stylesheet. (All the files are placed in the `output` folder of the wiki folder). +The first RenderCommand generates the HTML representations of all individual non-system tiddlers using the filter `[!is[system]]`, and the next filter `[encodeuricomponent[]addprefix[static/]addsufixx[.html]]` applies URI encoding to each title, and then adds the prefix `static/`, and finally adds the suffix `.html`. The second RenderCommand saves the static version of the DefaultTiddlers in `static.html`, and the final RenderCommand saves the stylesheet. (All the files are placed in the `output` folder of the wiki folder). ! Wiki Snapshot with Internal Links diff --git a/editions/tw5.com/tiddlers/howtos/How to build a TiddlyWiki5 from individual tiddlers.tid b/editions/tw5.com/tiddlers/howtos/How to build a TiddlyWiki5 from individual tiddlers.tid index dafc9e726..cdc8a7455 100644 --- a/editions/tw5.com/tiddlers/howtos/How to build a TiddlyWiki5 from individual tiddlers.tid +++ b/editions/tw5.com/tiddlers/howtos/How to build a TiddlyWiki5 from individual tiddlers.tid @@ -1,5 +1,5 @@ created: 20131124220600000 -modified: 20140912141637389 +modified: 20241025051111864 tags: [[TiddlyWiki on Node.js]] title: How to build a TiddlyWiki5 from individual tiddlers type: text/vnd.tiddlywiki @@ -14,4 +14,4 @@ First install TiddlyWiki as described in [[Installing TiddlyWiki on Node.js]]. ##* Alternatively, just copy the `editions/empty` folder from the TiddlyWiki5 repo # Create individual TiddlerFiles in the `~/MyWiki/tiddlers` directory # Execute the following command from the TiddlyWiki5 root directory to build a TiddlyWiki5 file from the tiddlers: -## `tiddlywiki ~/MyWiki --rendertiddler $:/core/save/all index.html text/plain` +## `tiddlywiki ~/MyWiki --render $:/core/save/all index.html text/plain` diff --git a/editions/tw5.com/tiddlers/howtos/Windows HTA Hack.tid b/editions/tw5.com/tiddlers/howtos/Windows HTA Hack.tid index 9305b31bd..4049ea508 100644 --- a/editions/tw5.com/tiddlers/howtos/Windows HTA Hack.tid +++ b/editions/tw5.com/tiddlers/howtos/Windows HTA Hack.tid @@ -5,10 +5,11 @@ delivery: DIY description: Manual method to let Internet Explorer save changes directly method: save modified: 20200507110355115 -tags: Saving Windows +tags: Saving Windows $:/deprecated title: Windows HTA Hack type: text/vnd.tiddlywiki +<<.deprecated-since "5.3.6">> Under Windows it is possible to convert TiddlyWiki into a true local application by renaming the HTML file to have the extension `*.hta`. The ''fsosaver'' module can then use the ~ActiveX ~FileSystemObject to save changes. Note that one disadvantage of this approach is that the TiddlyWiki file is saved in UTF-16 format, making it up to twice as large as it would be with the usual UTF-8 encoding. However, opening and saving the file via another saving method will re-encode the file to UTF-8. diff --git a/editions/tw5.com/tiddlers/images/Introduction Video Thumbnail.jpg b/editions/tw5.com/tiddlers/images/Introduction Video Thumbnail.jpg index c55c66e7c..33994c1a3 100644 Binary files a/editions/tw5.com/tiddlers/images/Introduction Video Thumbnail.jpg and b/editions/tw5.com/tiddlers/images/Introduction Video Thumbnail.jpg differ diff --git a/editions/tw5.com/tiddlers/images/Introduction Video Thumbnail.jpg.meta b/editions/tw5.com/tiddlers/images/Introduction Video Thumbnail.jpg.meta index 9b2a023c4..0e826efda 100644 --- a/editions/tw5.com/tiddlers/images/Introduction Video Thumbnail.jpg.meta +++ b/editions/tw5.com/tiddlers/images/Introduction Video Thumbnail.jpg.meta @@ -1,4 +1,4 @@ title: Introduction Video Thumbnail.jpg type: image/jpeg -tags: picture +tags: picture external-image alt-text: Screenshot with a headline: TiddlyWiki. Below are several tiddlers randomly stacked. diff --git a/editions/tw5.com/tiddlers/images/MWS Banner.png b/editions/tw5.com/tiddlers/images/MWS Banner.png new file mode 100644 index 000000000..1e27e8f25 Binary files /dev/null and b/editions/tw5.com/tiddlers/images/MWS Banner.png differ diff --git a/editions/tw5.com/tiddlers/images/MWS Banner.png.meta b/editions/tw5.com/tiddlers/images/MWS Banner.png.meta new file mode 100644 index 000000000..12fc21072 --- /dev/null +++ b/editions/tw5.com/tiddlers/images/MWS Banner.png.meta @@ -0,0 +1,4 @@ +title: MWS Banner.png +type: image/png +tags: picture +alt-text: Banner for the new Multi Wiki Server plugin for TiddlyWiki diff --git a/editions/tw5.com/tiddlers/images/New Release Banner.png b/editions/tw5.com/tiddlers/images/New Release Banner.png index c2351b9e9..9cbf5e341 100644 Binary files a/editions/tw5.com/tiddlers/images/New Release Banner.png and b/editions/tw5.com/tiddlers/images/New Release Banner.png differ diff --git a/editions/tw5.com/tiddlers/images/TiddlyWiki Privacy Badge.png b/editions/tw5.com/tiddlers/images/TiddlyWiki Privacy Badge.png new file mode 100644 index 000000000..bf081b1ab Binary files /dev/null and b/editions/tw5.com/tiddlers/images/TiddlyWiki Privacy Badge.png differ diff --git a/editions/tw5.com/tiddlers/images/TiddlyWiki Privacy Badge.png.meta b/editions/tw5.com/tiddlers/images/TiddlyWiki Privacy Badge.png.meta new file mode 100644 index 000000000..421876811 --- /dev/null +++ b/editions/tw5.com/tiddlers/images/TiddlyWiki Privacy Badge.png.meta @@ -0,0 +1,6 @@ +alt-text: Motovun Jack's laser eyes highlight TiddlyWiki's security badge +created: 20241106165307259 +modified: 20241106165307259 +tags: picture +title: TiddlyWiki Privacy Badge.png +type: image/png \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/languages/Japanese (Japan) Edition.tid b/editions/tw5.com/tiddlers/languages/Japanese (Japan) Edition.tid index ba9cabded..18da51de1 100644 --- a/editions/tw5.com/tiddlers/languages/Japanese (Japan) Edition.tid +++ b/editions/tw5.com/tiddlers/languages/Japanese (Japan) Edition.tid @@ -1,11 +1,11 @@ caption: 日本語 (日本国) created: 20201227004927059 -modified: 20201227010050287 +modified: 20241224112736358 tags: Languages title: Japanese (Japan) Edition type: text/vnd.tiddlywiki TiddlyWikiの日本語バージョンはこちら: - +* ''ドキュメント'' : https://tiddlywiki.com/languages/ja-JP/index.html * ''空白のコピー'' : https://tiddlywiki.com/languages/ja-JP/empty.html diff --git a/editions/tw5.com/tiddlers/macros/copy-to-clipboard Macro.tid b/editions/tw5.com/tiddlers/macros/copy-to-clipboard Macro.tid index 4877745ff..327c9c2da 100644 --- a/editions/tw5.com/tiddlers/macros/copy-to-clipboard Macro.tid +++ b/editions/tw5.com/tiddlers/macros/copy-to-clipboard Macro.tid @@ -1,6 +1,6 @@ caption: copy-to-clipboard created: 20171216104754967 -modified: 20171216104941967 +modified: 20250127133558352 tags: Macros [[Core Macros]] title: copy-to-clipboard Macro type: text/vnd.tiddlywiki @@ -15,5 +15,9 @@ The <<.def copy-to-clipboard>> [[macro|Macros]] displays a button that copies sp : Optional CSS classes to be assigned to the button (defaults to `tc-btn-invisible`) ;style : Optional CSS styles to be assigned to the button +;type +: <<.from-version "5.3.7">> MIME type of the text to be copied, defaults to `text/plain` +;plain +: <<.from-version "5.3.7">> Additional plain text to be copied when `type` attribute isn't `text/plain` <<.macro-examples "copy-to-clipboard">> diff --git a/editions/tw5.com/tiddlers/macros/examples/copy-to-clipboard Macro (Examples).tid b/editions/tw5.com/tiddlers/macros/examples/copy-to-clipboard Macro (Examples).tid index 098bac367..373e6a2e4 100644 --- a/editions/tw5.com/tiddlers/macros/examples/copy-to-clipboard Macro (Examples).tid +++ b/editions/tw5.com/tiddlers/macros/examples/copy-to-clipboard Macro (Examples).tid @@ -1,8 +1,14 @@ created: 20171216104946277 -modified: 20171216105109641 +modified: 20250127134344834 tags: [[copy-to-clipboard Macro]] [[Macro Examples]] title: copy-to-clipboard Macro (Examples) type: text/vnd.tiddlywiki <$macrocall $name=".example" n="1" eg="""<>"""/> -<$macrocall $name=".example" n="2" eg="""<$macrocall $name="copy-to-clipboard" src={{$:/SiteTitle}}/>"""/> +<$macrocall $name=".example" n="2" eg="""<$transclude $variable="copy-to-clipboard" src={{$:/SiteTitle}}/>"""/> + +In the following examples, press ctrl-V / cmd-V in tiddlywiki after copying to see its effects. + +<$macrocall $name=".example" n="3" eg="""<Test" type:"text/html" plain:"Test">> """/> +<$macrocall $name=".example" n="4" eg="""<> """/> +<$macrocall $name=".example" n="5" eg="""<$transclude $variable="copy-to-clipboard" src=<> type="text/vnd.tiddler"/>"""/> diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-copy-to-clipboard.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-copy-to-clipboard.tid index b9c07465a..981214969 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-copy-to-clipboard.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-copy-to-clipboard.tid @@ -1,6 +1,6 @@ caption: tm-copy-to-clipboard created: 20171215150056004 -modified: 20240523174013095 +modified: 20250127134445040 tags: Messages title: WidgetMessage: tm-copy-to-clipboard type: text/vnd.tiddlywiki @@ -13,6 +13,8 @@ It requires the following properties on the `event` object: |param |Text to be copied to the clipboard | |successNotification |<<.from-version "5.3.4">> Optional title of tiddler containing notification to be used if the operation succeeds | |failureNotification |<<.from-version "5.3.4">> Optional title of tiddler containing notification to be used if the operation fails | +|type |<<.from-version "5.3.7">> MIME type of the text to be copied, defaults to `text/plain` | +|plainText |<<.from-version "5.3.7">> Additional plain text to be copied when `type` attribute isn't `text/plain` | This message is usually generated with the ButtonWidget. It is handled by the TiddlyWiki core. diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-download-file.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-download-file.tid index e80c1aba8..f03881408 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-download-file.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-download-file.tid @@ -15,6 +15,7 @@ The following variable names have special behaviour: |!Name |!Description | |filename |Filename for the downloaded file (note that this is a hint to the browser, and the actual filename used may be different) | +|type |<<.from-version "5.3.7">> Content type for the downloaded file | The download file message is usually generated with the ButtonWidget. diff --git a/editions/tw5.com/tiddlers/nodejs/Using TiddlyWiki on Node.js.tid b/editions/tw5.com/tiddlers/nodejs/Using TiddlyWiki on Node.js.tid index 751b6389e..8c029b41b 100644 --- a/editions/tw5.com/tiddlers/nodejs/Using TiddlyWiki on Node.js.tid +++ b/editions/tw5.com/tiddlers/nodejs/Using TiddlyWiki on Node.js.tid @@ -1,5 +1,5 @@ created: 20131219100520659 -modified: 20220613172345723 +modified: 20241025051303991 tags: [[TiddlyWiki on Node.js]] title: Using TiddlyWiki on Node.js type: text/vnd.tiddlywiki @@ -9,7 +9,7 @@ type: text/vnd.tiddlywiki For example, the following command loads the tiddlers from a ~TiddlyWiki HTML file and then saves one of them in static HTML: ``` -tiddlywiki --verbose --load mywiki.html --rendertiddler ReadMe ./readme.html +tiddlywiki --verbose --load mywiki.html --render ReadMe ./readme.html ``` Running `tiddlywiki` from the command line boots the ~TiddlyWiki kernel, loads the core plugins and establishes an empty wiki store. It then sequentially processes the command line arguments from left to right. The arguments are separated with spaces. diff --git a/editions/tw5.com/tiddlers/nodejs/tiddlywiki.info_Files.tid b/editions/tw5.com/tiddlers/nodejs/tiddlywiki.info_Files.tid index dddcd3106..53743dd72 100644 --- a/editions/tw5.com/tiddlers/nodejs/tiddlywiki.info_Files.tid +++ b/editions/tw5.com/tiddlers/nodejs/tiddlywiki.info_Files.tid @@ -1,5 +1,5 @@ created: 20161015114042793 -modified: 20211114101249016 +modified: 20241030132156792 tags: TiddlyWikiFolders [[TiddlyWiki on Node.js]] title: tiddlywiki.info Files type: text/vnd.tiddlywiki @@ -47,10 +47,10 @@ For example: ], "build": { "index": [ - "--rendertiddler","$:/core/save/all","index.html","text/plain"], + "--render","$:/core/save/all","index.html","text/plain"], "favicon": [ - "--savetiddler","$:/favicon.ico","favicon.ico", - "--savetiddler","$:/green_favicon.ico","static/favicon.ico"] + "--save", "$:/favicon.ico", "favicon.ico", + "--save", "$:/green_favicon.ico", "static/favicon.ico"] }, "config": { "retain-original-tiddler-path": true diff --git a/editions/tw5.com/tiddlers/readme/ReadMe.tid b/editions/tw5.com/tiddlers/readme/ReadMe.tid index 1455f55d6..943cfa5c0 100644 --- a/editions/tw5.com/tiddlers/readme/ReadMe.tid +++ b/editions/tw5.com/tiddlers/readme/ReadMe.tid @@ -20,6 +20,12 @@ Learn more and see it in action at https://tiddlywiki.com/ Developer documentation is in progress at https://tiddlywiki.com/dev/ +!! Pull Request Previews + +Pull request previews courtesy of [[Netlify|https://netlify.com]] + +Deploys by Netlify + ! Join the Community <$vars tv-adjust-heading-level="1"> @@ -47,3 +53,4 @@ Developer documentation is in progress at https://tiddlywiki.com/dev/ <> //This readme file was automatically generated by TiddlyWiki// + diff --git a/editions/prerelease/tiddlers/Release 5.3.6.tid b/editions/tw5.com/tiddlers/releasenotes/Release 5.3.6.tid similarity index 94% rename from editions/prerelease/tiddlers/Release 5.3.6.tid rename to editions/tw5.com/tiddlers/releasenotes/Release 5.3.6.tid index e695745f3..8fd7dd588 100644 --- a/editions/prerelease/tiddlers/Release 5.3.6.tid +++ b/editions/tw5.com/tiddlers/releasenotes/Release 5.3.6.tid @@ -1,14 +1,19 @@ caption: 5.3.6 -created: 20240830144941926 -modified: 20240830144941926 +created: 20241115170824144 +description: Improved Geospatial Plugin, Markdown Plugin, TestCaseWidget, Usability and Bug fixes +modified: 20241115194033978 +released: 20241115170824144 tags: ReleaseNotes title: Release 5.3.6 type: text/vnd.tiddlywiki -description: Under development -//[[See GitHub for detailed change history of this release|https://github.com/TiddlyWiki/TiddlyWiki5/compare/v5.3.5...master]]// +//[[See GitHub for detailed change history of this release|https://github.com/TiddlyWiki/TiddlyWiki5/compare/v5.3.5...v5.3.6]]// -! Major Improvements +<<.banner-credits + credit:"""Congratulations to [[pmario|https://talk.tiddlywiki.org/u/pmario]] for their winning design for the banner for this release (here is the [[competition thread|https://talk.tiddlywiki.org/t/banner-image-competition-for-v5-3-6]]). +""" + url:"https://raw.githubusercontent.com/TiddlyWiki/TiddlyWiki5/fdafdba1b07032f3d777bd3f782c4e62cfbf3731/editions/tw5.com/tiddlers/images/New%20Release%20Banner.png" +>> ! Translation improvements @@ -18,6 +23,7 @@ description: Under development This release includes improvements to the following translations: * Chinese +* French * Japanese * Spanish * Polish @@ -29,6 +35,7 @@ This release includes improvements to the following translations: !! Geospatial Plugin * <<.link-badge-added "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8404">> support for custom wikitext popups to be attached to map features +* <<.link-badge-added "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8740">> support for click actions to be attached to map features * <<.link-badge-fixed "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8437">> ordering of latitude and longitude in geospatial operators * <<.link-badge-fixed "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8484">> crash when geomap contains an empty geolayer widget * <<.link-badge-fixed "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8511">> loading map state from saved tiddlers @@ -65,12 +72,9 @@ This release includes several fixes and improvements to the TestCaseWidget, its * <<.link-badge-updated "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8256">> DroppableWidget to allow actions to be triggered once passing all the items in the list rather than invoking the actions separately for each item in the list -! Filter Improvements - -* - ! Usability Improvements +* <<.link-badge-added "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8545">> new light and dark "Flexoki" palettes, originally designed by Steph Ango – see https://stephango.com/flexoki * <<.link-badge-improved "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8643">> presentation of core plugin settings by adding them to the main "Settings" tab in $:/ControlPanel * <<.link-badge-improved "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8530">> language descriptions by localising them * <<.link-badge-fixed "https://github.com/TiddlyWiki/TiddlyWiki5/pull/8407">> the contrast of plugin stability badges on hover diff --git a/editions/tw5.com/tiddlers/roadmap/multiwikiserver/MultiWikiServer.tid b/editions/tw5.com/tiddlers/roadmap/multiwikiserver/MultiWikiServer.tid new file mode 100644 index 000000000..891bdb378 --- /dev/null +++ b/editions/tw5.com/tiddlers/roadmap/multiwikiserver/MultiWikiServer.tid @@ -0,0 +1,26 @@ +title: MultiWikiServer +tags: Definitions +modified: 20241105133737778 +created: 20241105133737778 + +[img width=200 [MWS Banner.png]] +~MultiWikiServer is a new development that drastically improves ~TiddlyWiki's capabilities when running as a server under Node.js. It brings ~TiddlyWiki up to par with common web-based tools like ~WordPress or ~MediaWiki by supporting multiple wikis and multiple users at the same time. + +Planned features include: + +* Hosting multiple wikis at once, using the [[Bags and Recipes]] mechanism for sharing data between them +* Robust authentication and authorisation options +* Improved handling of file uploads and attachments, allowing gigabyte video files to be uploaded and streamed +* Instantaneous synchronisation of changes between the server and all connected clients +* Workflow processing on the server, for example to automatically compress images, or to archive webpages + +MWS does require basic knowledge of the command line and Node.js but is designed to be as simple as possible to setup and use. Once downloaded, just two commands are needed to complete the installation and start the server: + +``` +npm install +npm start +``` + +MWS is currently [[under development at GitHub|https://github.com/TiddlyWiki/TiddlyWiki5/pull/7915]] but it is already functional and usable. Visit the MWS website for more information: + +! https://mws.tiddlywiki.com/ \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/saving/Encryption.tid b/editions/tw5.com/tiddlers/saving/Encryption.tid index 9b9ba4ee6..ccf8e5a83 100644 --- a/editions/tw5.com/tiddlers/saving/Encryption.tid +++ b/editions/tw5.com/tiddlers/saving/Encryption.tid @@ -1,10 +1,10 @@ created: 20130825160900000 -modified: 20160610083350724 +modified: 20241106165307259 tags: Features [[Working with TiddlyWiki]] title: Encryption type: text/vnd.tiddlywiki -When used as a single HTML file, TiddlyWiki5 allows content to be encrypted using the [[Stanford JavaScript Crypto Library]]. +When used as a single HTML file, TiddlyWiki5 allows content to be encrypted with AES 128 bit encryption in CCM mode using the [[Stanford JavaScript Crypto Library]]. # Switch to the ''Tools'' tab in the sidebar and look for the button with a padlock icon # If the button is labelled <<.icon $:/core/images/unlocked-padlock>> ''set password'' then the current wiki is not encrypted. Clicking the button will prompt for a password that will be used to encrypt subsequent saves diff --git a/editions/tw5.com/tiddlers/saving/Saving with TiddlyIE.tid b/editions/tw5.com/tiddlers/saving/Saving with TiddlyIE.tid index c5c7940e2..6fc044a43 100644 --- a/editions/tw5.com/tiddlers/saving/Saving with TiddlyIE.tid +++ b/editions/tw5.com/tiddlers/saving/Saving with TiddlyIE.tid @@ -6,10 +6,11 @@ delivery: Browser Extension description: Browser extension for Internet Explorer method: save modified: 20200507201415232 -tags: [[Internet Explorer]] Saving +tags: [[Internet Explorer]] Saving $:/deprecated title: Saving with TiddlyIE type: text/vnd.tiddlywiki +<<.deprecated-since "5.3.6">> # Install the TiddlyIE add-on from: #* https://github.com/davidjade/TiddlyIE/releases # Restart Internet Explorer. IE will prompt you to enable the TiddlyIE add-on. diff --git a/editions/tw5.com/tiddlers/saving/Saving.tid b/editions/tw5.com/tiddlers/saving/Saving.tid index 85c5d47ae..f894f5e4e 100644 --- a/editions/tw5.com/tiddlers/saving/Saving.tid +++ b/editions/tw5.com/tiddlers/saving/Saving.tid @@ -1,6 +1,6 @@ created: 20140912140651119 modified: 20220812144516626 -saving-browser: Firefox Chrome Edge [[Internet Explorer]] Safari Opera [[Standalone App]] +saving-browser: Firefox Chrome Edge Safari Opera [[Standalone App]] saving-os: Windows Mac Linux Android iOS tags: [[Working with TiddlyWiki]] title: Saving @@ -8,7 +8,7 @@ type: text/vnd.tiddlywiki \define alltagsfilter() -<$vars tag1="tag[" tag2="]" lb="[" rb="tag[Saving]sort[delivery]]"> +<$vars tag1="tag[" tag2="]" lb="[" rb="tag[Saving]sort[delivery]!tag[$:/deprecated]]"> <$set filter="[listaddprefixaddsuffix]+[join[]addprefixaddsuffix]" name="alltags" select=0> <$text text=<>/> diff --git a/editions/tw5.com/tiddlers/system/SiteDomain.tid b/editions/tw5.com/tiddlers/system/SiteDomain.tid new file mode 100644 index 000000000..fee678ff7 --- /dev/null +++ b/editions/tw5.com/tiddlers/system/SiteDomain.tid @@ -0,0 +1,3 @@ +title: $:/SiteDomain + +tiddlywiki.com \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/system/SitePreviewUrl.tid b/editions/tw5.com/tiddlers/system/SitePreviewUrl.tid new file mode 100644 index 000000000..6af0ba2e5 --- /dev/null +++ b/editions/tw5.com/tiddlers/system/SitePreviewUrl.tid @@ -0,0 +1,3 @@ +title: $:/SitePreviewUrl + +https://tiddlywiki.com/images/Introduction%2520Video%2520Thumbnail.jpg \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/system/SiteUrl.tid b/editions/tw5.com/tiddlers/system/SiteUrl.tid new file mode 100644 index 000000000..51c5be087 --- /dev/null +++ b/editions/tw5.com/tiddlers/system/SiteUrl.tid @@ -0,0 +1,3 @@ +title: $:/SiteUrl + +https://tiddlywiki.com/ \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/system/netlify-build-badge-icon.tid b/editions/tw5.com/tiddlers/system/netlify-build-badge-icon.tid new file mode 100644 index 000000000..8ee5ec734 --- /dev/null +++ b/editions/tw5.com/tiddlers/system/netlify-build-badge-icon.tid @@ -0,0 +1,4 @@ +title: $:/_tw5.com/netlify-build-badge/netlify-light.svg +type: image/svg+xml + + \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/system/netlify-build-badge.tid b/editions/tw5.com/tiddlers/system/netlify-build-badge.tid new file mode 100644 index 000000000..60bae279e --- /dev/null +++ b/editions/tw5.com/tiddlers/system/netlify-build-badge.tid @@ -0,0 +1,17 @@ +title: $:/_tw5.com/netlify-build-badge +tags: $:/tags/SideBarSegment +list-after: $:/core/ui/SideBarSegments/site-subtitle + +<% if [{$:/build}prefix[NETLIFY-BUILD]] %> +

      +

      +

      +<% endif %> + diff --git a/editions/tw5.com/tiddlers/system/systemtag-template.tid b/editions/tw5.com/tiddlers/system/systemtag-template.tid index b4e2d80c3..10f302985 100644 --- a/editions/tw5.com/tiddlers/system/systemtag-template.tid +++ b/editions/tw5.com/tiddlers/system/systemtag-template.tid @@ -4,10 +4,10 @@ modified: 20240710163659672 tags: $:/tags/ViewTemplate title: $:/editions/tw5.com/systemtag-template -<$list filter='[all[current]prefix[SystemTag: ]]'> +<%if [all[current]prefix[SystemTag: ]] %> <$let thisTag={{{ [all[current]removeprefix[SystemTag: ]] }}} > -<$list filter='[all[tiddlers+shadows]taglimit[1]]' emptyMessage='(No tiddlers are currently tagged with <> )'> +<$list filter='[all[tiddlers+shadows]taglimit[1]]' emptyMessage='(No tiddlers are currently tagged with <>)'> The following tiddlers are tagged with <> @@ -24,4 +24,4 @@ The following tiddlers are tagged with <> - +<%endif%> diff --git a/editions/tw5.com/tiddlers/system/tw5.com-styles.tid b/editions/tw5.com/tiddlers/system/tw5.com-styles.tid index ced42e64d..9d4bad68f 100644 --- a/editions/tw5.com/tiddlers/system/tw5.com-styles.tid +++ b/editions/tw5.com/tiddlers/system/tw5.com-styles.tid @@ -130,6 +130,37 @@ type: text/vnd.tiddlywiki } } +.tc-grid-columns { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(25em, 1fr)); + gap: 1em; + width: 100%; /* Ensures container stretches fully */ +} + +.tc-grid-columns.tc-grid-columns-2 > div { + border-radius: 1em; + padding: 1em; + background-color: <>; +} + +.tc-grid-columns.tc-grid-columns-2 > div:nth-child(odd) { + color: <>; + background-color: <>; +} + + .tc-saving-sidebar-category { margin-bottom:10px; } .tc-saving-sidebar-category-title { margin-bottom:5px; font-weight:bold; } .tc-saving-sidebar-category-item { margin-left:10px; white-space:nowrap; } + +.tc-scary-warning { + font-weight: bold; + padding: 0 1em; + margin-left: -1em; + margin-right: -1em; + color: #f22; + border-radius: 4px; + border: 3px solid transparent; + background: #ffd; + background: linear-gradient(#ffd, #ffd) padding-box, repeating-linear-gradient(-45deg, red 0, red 25%, transparent 0, transparent 50%) 0 / .6em .6em; +} diff --git a/editions/tw5.com/tiddlers/widgets/BrowseWidget.tid b/editions/tw5.com/tiddlers/widgets/BrowseWidget.tid index b0364a71a..205fb9cbe 100644 --- a/editions/tw5.com/tiddlers/widgets/BrowseWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/BrowseWidget.tid @@ -20,6 +20,8 @@ The content of the <<.wid BrowseWidget>> widget is ignored. |accept |<<.from-version "5.1.23">> Optional comma delimited [[list of file accepted extensions|https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#Unique_file_type_specifiers]] and/or MIME types | |message |Optional override of widget message to be generated. The files will be passed in the JavaScript object `event.target.files` | |param |Optional parameter to be passed with the custom message | +|disabled |<<.from-version "5.3.7">> Optional. Set to "yes" to disable file browser. Defaults to "no". | +|tabindex |<<.from-version "5.3.7">> Optional. Sets the `tabindex` attribute of the HTML select element to the given value | |data-* |<<.from-version "5.3.2">> Optional [[data attributes|https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes]] to be assigned to the HTML element | |style.* |<<.from-version "5.3.2">> Optional [[CSS properties|https://developer.mozilla.org/en-US/docs/Web/CSS/Reference]] to be assigned to the HTML element | diff --git a/editions/tw5.com/tiddlers/widgets/CheckboxWidget.tid b/editions/tw5.com/tiddlers/widgets/CheckboxWidget.tid index 00ecbb6f8..e4c9dffa1 100644 --- a/editions/tw5.com/tiddlers/widgets/CheckboxWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/CheckboxWidget.tid @@ -38,6 +38,7 @@ The content of the `<$checkbox>` widget is displayed within an HTML `