Hi Chris,

See environmental variable 
here https://tiddlywiki.com/prerelease/#Environment%20Variables%20on%20Node.js
This let you have custom editions, plugins, themes, ...
I know some developers  have great stuffs in this regard. You may find some 
of them on GitHub

It is a pity we have such wonderful stuffs but all are stranded on the web 
or buried in this forum.

Sometime I put a lot of time to solve some issues, then I realize a 
developer has solved them few years ago and I find it by chance!!!!

--Mohammad
On Thursday, December 10, 2020 at 5:33:59 PM UTC+3:30 clutterstack wrote:

> :)
>
> Coincidentally, I discovered the environment variables just yesterday. I 
> could have saved my effort yesterday and learned it for free by reading 
> your post today (if I could see the future)!
>
> On Thursday, December 10, 2020 at 9:00:44 AM UTC-5 Mohammad wrote:
>
>> Please ignore my previous post.
>>
>> I realized I have not included the plugin with custom command to my 
>> tiddlywiki.info file.
>> I think this is a sign of Alzheimer ;-)
>>
>> --Mohammad
>>
>> On Thursday, December 10, 2020 at 5:09:19 PM UTC+3:30 Mohammad wrote:
>>
>>> I have a node.js plugin containing few JS tiddlers with 
>>> module-type:command. That means my plugin has extended TW commands. I call 
>>> them custom commands.
>>>
>>> Now, I use the below environmental variable under Windows 10 to store 
>>> all of my third party plugins.
>>>
>>>    - TIDDLYWIKI_PLUGIN_PATH - Search path for ordinary plugins
>>>
>>> Then I use the below command at shell for some development purpose.
>>>
>>>     tiddlywiki editions/release --verbose --build release
>>>
>>> with below tiddlywiki.info
>>>
>>> {
>>>   "includeWikis": [
>>>     "../../src"
>>>   ],
>>>   "config": {
>>>     "disable-hfs": "yes"
>>>   },
>>>   "plugins": [
>>>     "tiddlywiki/codemirror",
>>>     "tiddlywiki/highlight",
>>>     "tiddlywiki/katex",
>>>     "kookma/shiraz",
>>>     "kookma/utility"
>>>   ],
>>>   "build": {
>>>     "release": [
>>>       "--releaseplugins",
>>>       "--releasedemowiki"
>>>     ]
>>>   },
>>>   "themes": [
>>>     "tiddlywiki/vanilla",
>>>     "tiddlywiki/snowwhite"
>>>   ]
>>> }
>>>
>>>
>>> Tiddlywiki complains as: Error: Unknown command: releaseplugins
>>>
>>> Strangely if I use the plugin as a packaged one (plugin.tid) NOT as a 
>>> Node.js plugin folder, Tiddlywiki is happy and runs my custom commands
>>>
>>> Would you please advise me if there is any limitation using custom 
>>> commands? Why packaged plugin works but plugin folder not work.
>>>
>>>
>>>
>>> Best wishes
>>> Mohammad
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d3f6181c-e309-4384-a0a8-02e999e524b6n%40googlegroups.com.

Reply via email to