Commit
+0 -6 +/-1 browse
1 | diff --git a/bin/note.ml b/bin/note.ml |
2 | index 01f0a50..e73d549 100644 |
3 | --- a/bin/note.ml |
4 | +++ b/bin/note.ml |
5 | @@ -23,12 +23,6 @@ title: "%s" |
6 | # %s |
7 | |} title title |> Note.of_string |
8 | |
9 | - let rec convert_tree tree = |
10 | - let (Note.Tree (note, others)) = tree in |
11 | - let title = note.frontmatter.title in |
12 | - let title = "[" ^ title ^ "]" in |
13 | - Display.Hierarchical.Tree (title, List.map ~f:convert_tree others) |
14 | - |
15 | let get_notes = |
16 | let notes = cfg.state_dir |> Note.load ~context |> Note.flatten ~accm:[] in |
17 | notes |