1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-09 19:39:57 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/nodejs
Michelle Saad 4e641f4fc0
Add 'filepath' source attribute to tiddlywiki.files (#7253)
* 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.
2023-05-06 11:26:40 +01:00
..
Building TiddlyWikiClassic.tid Update document in tiddlywiki.com edition 2016-07-06 01:10:51 +09:00
Customising Tiddler File Naming.tid Fix docs typos in "Customising Tiddler File Naming" 2021-08-03 20:47:44 +01:00
Environment Variables on Node.js.tid Doc restructuring Plugin Install using core Libraries and with Node.js (#6722) 2022-06-20 13:55:12 +01:00
Installing custom plugins on Node.js.tid Doc restructuring Plugin Install using core Libraries and with Node.js (#6722) 2022-06-20 13:55:12 +01:00
Installing official plugins on Node.js.tid Doc restructuring Plugin Install using core Libraries and with Node.js (#6722) 2022-06-20 13:55:12 +01:00
Installing TiddlyWiki on Node.js.tid Make save wiki button be accessible to users without colour vision (#7232) 2023-01-28 09:51:25 +00:00
Installing TiddlyWiki Prerelease on Node.js.tid Improve docs on installing plugins under Node.js 2019-11-02 13:19:00 +00:00
Naming of System Tiddlers.tid Docs: Fix typo 2017-02-21 08:47:00 +00:00
PluginsCS.tid Doc restructuring Plugin Install using core Libraries and with Node.js (#6722) 2022-06-20 13:55:12 +01:00
Scripts for TiddlyWiki on Node.js.tid Remove references to obsolete "2bld" edition 2019-01-04 16:48:07 +00:00
Serving TW5 from Android.tid Visual changes to Saving Tiddler (#4640) 2020-06-14 11:48:13 +01:00
TiddlyWiki5 Versioning.tid Lots more docs updates 2014-09-12 16:05:37 +01:00
TiddlyWiki on Node.js.tid Doc restructuring Plugin Install using core Libraries and with Node.js (#6722) 2022-06-20 13:55:12 +01:00
tiddlywiki.files_Files.tid Add 'filepath' source attribute to tiddlywiki.files (#7253) 2023-05-06 11:26:40 +01:00
tiddlywiki.info_Files.tid Docs: add node.js related tag to relevant tiddlers (#6205) 2021-11-14 15:47:45 +00:00
Uninstalling a plugin with Node.js.tid Doc restructuring Plugin Install using core Libraries and with Node.js (#6722) 2022-06-20 13:55:12 +01:00
Upgrading TiddlyWiki on Node.js.tid Lots more docs updates 2014-09-12 16:05:37 +01:00
Using TiddlyWiki on Node.js.tid Doc restructuring Plugin Install using core Libraries and with Node.js (#6722) 2022-06-20 13:55:12 +01:00
Working with the TiddlyWiki5 repository.tid Readme updates for Node.js 2014-09-20 15:06:33 +01:00