diff --git a/INSTALL.md b/INSTALL.md index 9fe725b..4f4303f 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -3,27 +3,30 @@ > pip3 install trilium-py ## config.json - - get trilium token in trilium options->ETAPI and "create new token" - - create a new note with a title "Machines" - - click on this note -> "note info". Note ID is there. This ID goes in "trilium_machines_htb_folder" in the config file - - set the folder's owned attributes to: +- get trilium token in trilium options->ETAPI and "create new token" +- create a new note with a title "Machines" +- click on this note -> "note info". Note ID is there. This ID goes in "trilium_machines_htb_folder" in the config file +- set the folder's owned attributes to: -``` #label:user=promoted,single,text #label:root=promoted,single,text #label:respect=promoted,single,text #user=0 #root=0 #respect=0 ``` +``` +#label:user=promoted,single,text #label:root=promoted,single,text #label:respect=promoted,single,text #user=0 #root=0 #respect=0 +``` - create a note named "HTBMachineTemplate" - set it's "owned attributes" to: ```#template #label:User=promoted,single,text #label:Root=promoted,single,text #label:Tags=promoted,single,text``` - - get this page's ID and put in "trilium_machines_template_id" - +- get this page's ID and put in "trilium_machines_template_id" - create "challenges" page, this page's ID goes in: trilium_challenges_folder - create "Sherlocks" page, this page's ID goes in: trilium_sherlocks_folder - create 2 pages "HTBChallengesTemplate" and "HTBSherlocksTemplate", both of these should have the owned attributes: + ```#template #label:User=promoted,single,text #label:Root=promoted,single,text #label:Tags=promoted,single,text ``` + - The ID's of "HTBChallengesTemplate" and "HTBSherlocksTemplate" go in the matching config values. - - to get "in progress" todo colour - add to trilium demo/scripting/taskmanager/implementation/CSS: +- to get "in progress" todo colour - add to trilium demo/scripting/taskmanager/implementation/CSS: ``` span.fancytree-node.inprogress .fancytree-title {