-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update github-external-image plugins
- Loading branch information
Showing
5 changed files
with
16 additions
and
60 deletions.
There are no files selected for viewing
3 changes: 0 additions & 3 deletions
3
...s/github-external-image/$__config_linonetwo_github-external-image_tiddler-folder-name.tid
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
plugins/github-external-image/$__core_templates_canonical-uri-external-image.tid
This file was deleted.
Oops, something went wrong.
30 changes: 0 additions & 30 deletions
30
...xternal-image/$__plugins_linonetwo_github-external-image_canonical-uri-external-image.tid
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
tiddlers/mConfigs/$__plugins_linonetwo_github-external-image.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[ | ||
{ | ||
"author": "LinOnetwo", | ||
"core-version": ">=5.1.22", | ||
"dependents": "", | ||
"description": "Use github as your image storage, add _canonical_uri to all image, pointing to raw.github", | ||
"list": "readme ControlPanel/Settings", | ||
"plugin-type": "plugin", | ||
"text": "{\"tiddlers\":{\"$:/plugins/linonetwo/intention-tower-knowledge-graph/ControlPanel/Settings.css\":{\"title\":\"$:/plugins/linonetwo/intention-tower-knowledge-graph/ControlPanel/Settings.css\",\"text\":\".itkg-setting-tags-item input {\\n margin-left: 5px;\\n padding: 2px;\\n} \",\"tags\":\"$:/tags/Stylesheet\"},\"$:/plugins/linonetwo/github-external-image/ControlPanel/Settings\":{\"title\":\"$:/plugins/linonetwo/github-external-image/ControlPanel/Settings\",\"caption\":\"GithubPagesImage\",\"tags\":\"$:/tags/ControlPanel/SettingsTab\",\"text\":\"!!! [[Repo|$:/GitHub/Repo]]\\n\\nThis is the user name + / + repo name, e.g. `linonetwo/wiki`\\n\\n<$edit-text tiddler=\\\"$:/GitHub/Repo\\\" field=\\\"text\\\" tag=input class=\\\"w-100\\\" />\\n\\n!!! [[Branch|$:/GitHub/Branch]]\\n\\nThis usually is `master` or `main`\\n\\n<$edit-text tiddler=\\\"$:/GitHub/Branch\\\" field=\\\"text\\\" tag=input class=\\\"w-100\\\" />\\n\\n!!! [[tiddler-folder-name|$:/config/linonetwo/github-external-image/tiddler-folder-name]]\\n\\nThis usually is just `tiddlers`\\n\\n<$edit-text tiddler=\\\"$:/config/linonetwo/github-external-image/tiddler-folder-name\\\" field=\\\"text\\\" tag=input class=\\\"w-100\\\" />\"},\"$:/core/templates/canonical-uri-external-image\":{\"title\":\"$:/core/templates/canonical-uri-external-image\",\"created\":\"20200412025117549\",\"creator\":\"LinOnetwo\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"<!--\\n\\nThis template is used to assign the ''_canonical_uri'' field to external images.\\n\\nChange the `./images/` part to a different base URI. The URI can be relative or absolute.\\n\\n-->\\nhttps://raw.githubusercontent.com/{{$:/GitHub/Repo}}/{{$:/GitHub/Branch}}/{{$:/config/linonetwo/github-external-image/tiddler-folder-name}}/<$view field=\\\"title\\\" format=\\\"urlencoded\\\"/>\"},\"$:/GitHub/Branch\":{\"title\":\"$:/GitHub/Branch\",\"text\":\"master\"},\"$:/config/linonetwo/github-external-image/tiddler-folder-name\":{\"title\":\"$:/config/linonetwo/github-external-image/tiddler-folder-name\",\"text\":\"tiddlers\"},\"$:/plugins/linonetwo/github-external-image/readme\":{\"title\":\"$:/plugins/linonetwo/github-external-image/readme\",\"creator\":\"LinOnetwo\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"!! Usage\\n\\nPlease fill in [[$:/GitHub/Repo]] and [[$:/config/linonetwo/github-external-image/tiddler-folder-name]] in settings to get started:\\n\\n[[Settings|$:/plugins/linonetwo/github-external-image/ControlPanel/Settings]]\\n\\nThen, on build, all images will be replaced by place holders.\\n\\nPlease use following build target:\\n\\n```json\\n\\\"externalimages\\\": [\\n \\\"--setfield\\\",\\n \\\"[is[binary]] [type[application/msword]]\\\",\\n \\\"_canonical_uri\\\",\\n \\\"$:/core/templates/canonical-uri-external-image\\\",\\n \\\"text/plain\\\",\\n \\\"--setfield\\\",\\n \\\"[is[binary]] [type[application/msword]]\\\",\\n \\\"text\\\",\\n \\\"$:/core/templates/canonical-uri-external-image\\\",\\n \\\"text/plain\\\",\\n \\\"--rendertiddler\\\",\\n \\\"$:/core/save/all\\\",\\n \\\"index.html\\\",\\n \\\"text/plain\\\"\\n],\\n```\\n\"}}}", | ||
"title": "$:/plugins/linonetwo/github-external-image", | ||
"type": "application/json", | ||
"version": "0.1.0", | ||
"Modern.TiddlyDev#SHA256-Hashed": "2cf4ce1c737b75662b44f8410e606dea90312442d42e9cb4f139e8d92b57eff5", | ||
"name": "github-external-image" | ||
} | ||
] |