1
0
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:
Jeremy Ruston
2012-11-17 12:32:51 +00:00
parent af21a8ff95
commit fc61b9aca7
4 changed files with 192 additions and 51 deletions

View File

@@ -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))