add treehouse fix command that generates ulids for you

This commit is contained in:
りき萌 2023-08-19 22:39:02 +02:00
parent 7e84005a6b
commit f16a84f3de
12 changed files with 449 additions and 64 deletions

View file

@ -2,6 +2,7 @@
id = "treehouse"
- # treehouse
% # example
- welcome to the treehouse!
- treehouse is a brand new static website generator, inspired by the likes of Jekyll and Hugo, but offering a writing experience more close to Logseq

View file

@ -1 +1,2 @@
% id = "01H87RB4MB7RM6V2K1DR8XBV8N"
- He is behind the tree.

35
content/ulid-test.tree Normal file
View file

@ -0,0 +1,35 @@
% always_expanded = true
id = "treehouse" # this one has a custom id
- root
% id = "01H87R133DNH9JRGS4ZWN586M4"
# this one is missing an ULID
- child
% id = "01H87R133D75W92HRESGAXBTC5"
# this one is formatted a bit weirdly
- another child
% id = "custom-id"
- intertwined with one that has a custom ID
% id = "01H87R133D4MXM01VGTEXHPVAR"
# this is on a separate line and lacks indentation
- and another child
% always_expanded = true
id = "01H87R133D9GDXRD7WA14ECDES"
- this one has a custom attribute but not an ID
% id = "01H87R7PVRJ7FTWKC1SXHGQXDC"
- hellow
% id = "01H87R133DHQPZWJVTMWPKVGP0"
- <!-- and that one is plain empty, including the content. or conten't, for that matter. -->
% id = "01H87R133DRJ7VKEMBSJKHYRJN"
# comment
-