cli + tui to publish to leaflet (wip) & manage tasks, notes & watch/read lists 馃崈
charm
leaflet
readability
golang
1---
2title: Advanced Note Features
3sidebar_label: Advanced
4description: Search, exports, backlinks, and automation tips.
5sidebar_position: 5
6---
7
8# Advanced Note Features
9
10## Full-Text Search
11
12While not exposed as a dedicated command, you can search note content using the database:
13
14**Search with grep** (searches file content):
15
16```sh
17grep -r "search term" ~/.local/share/noteleaf/notes/
18```
19
20**Search titles and metadata**:
21
22```sh
23noteleaf note list --static | grep "keyword"
24```
25
26Future versions may include built-in full-text search with relevance ranking.
27
28## Note Exports
29
30Export notes to different formats using standard markdown tools:
31
32**Convert to HTML with pandoc**:
33
34```sh
35noteleaf note view 1 --format=raw | pandoc -o output.html
36```
37
38**Convert to PDF**:
39
40```sh
41noteleaf note view 1 --format=raw | pandoc -o output.pdf
42```
43
44**Batch export all notes**:
45
46```sh
47for note in ~/.local/share/noteleaf/notes/*.md; do
48 pandoc "$note" -o "${note%.md}.html"
49done
50```
51
52## Backlinks and References
53
54Manually create backlinks between notes using markdown links:
55
56```markdown
57See also: [[Research on Authentication]] for background
58Related: [[API Design Principles]]
59```
60
61While Noteleaf doesn't automatically parse or display backlinks yet, this syntax prepares notes for future backlink support and works with tools like Obsidian if you point it at the notes directory.