mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-09 22:36:05 +00:00
Added login and logout macros for TiddlyWeb
This commit is contained in:
@@ -2,6 +2,14 @@ title: HelloThere
|
||||
|
||||
Experimenting with TiddlyWeb integration for TiddlyWiki5.
|
||||
|
||||
TiddlyWeb login status: (($:/plugins/tiddlyweb/IsLoggedIn))
|
||||
<<reveal state:[[$:/plugins/tiddlyweb/IsLoggedIn]] type:nomatch text:yes><
|
||||
Log in to TiddlyWeb: <<tiddlyweb.login><Login>>
|
||||
>>
|
||||
<<reveal state:[[$:/plugins/tiddlyweb/IsLoggedIn]] type:match text:yes><
|
||||
Log out of TiddlyWeb: <<tiddlyweb.logout><Logout>>
|
||||
>>
|
||||
|
||||
TiddlyWeb [[login status|$:/plugins/tiddlyweb/IsLoggedIn]]: (($:/plugins/tiddlyweb/IsLoggedIn))
|
||||
|
||||
TiddlyWeb [[username|$:/plugins/tiddlyweb/UserName]]: (($:/plugins/tiddlyweb/UserName))
|
||||
|
||||
TiddlyWeb username: (($:/plugins/tiddlyweb/UserName))
|
||||
|
Reference in New Issue
Block a user