mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-09 19:39:57 +00:00
4e641f4fc0
* Add 'filepath' source attribute to tiddlywiki.files Adds a new source attribute to facilitate importing subdirectories with the `searchSubdirectories` attribute. The `filepath` atttribute is like `filename` except it includes the full pathname relative to the directory path. Consequently it only works with `directories` sections (not `tiddlers`). * Add `subdirectories` source attribute to tiddlywiki.files Adds another new source attribute to facilitate importing subdirectories with the `searchSubdirectories` attribute. The `subdirectories` source attribute is only usable with `directories` sections (not `tiddlers`). It resolves to an array containing all the directories in the file's path relative to the directory path. Eg, if the directory path is `files`, `{ source: 'subdirectories' }` for a file in `files/images/photos` would resolve to `['images', 'photos']. This commit also adds an example to the "tiddlywiki.files Files" documentation tiddler that demonstrates using the `filepath` and `subdirectories` source attributes to import and auto-tag image files as external-image tiddlers. |
||
---|---|---|
.. | ||
Building TiddlyWikiClassic.tid | ||
Customising Tiddler File Naming.tid | ||
Environment Variables on Node.js.tid | ||
Installing custom plugins on Node.js.tid | ||
Installing official plugins on Node.js.tid | ||
Installing TiddlyWiki on Node.js.tid | ||
Installing TiddlyWiki Prerelease on Node.js.tid | ||
Naming of System Tiddlers.tid | ||
PluginsCS.tid | ||
Scripts for TiddlyWiki on Node.js.tid | ||
Serving TW5 from Android.tid | ||
TiddlyWiki5 Versioning.tid | ||
TiddlyWiki on Node.js.tid | ||
tiddlywiki.files_Files.tid | ||
tiddlywiki.info_Files.tid | ||
Uninstalling a plugin with Node.js.tid | ||
Upgrading TiddlyWiki on Node.js.tid | ||
Using TiddlyWiki on Node.js.tid | ||
Working with the TiddlyWiki5 repository.tid |