aboutsummaryrefslogtreecommitdiff
path: root/.iwe/config.toml
blob: 13adc56a1c50da1a8ffe869ce01c7f5e6945c28b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
format = "markdown"
version = 3

[library]
date_format = "%Y-%m-%d"
# overridden: set on the command line
path = "knowledge"

[markdown]
date_format = "%b %d, %Y"
# overridden: set on the command line
refs_extension = ".md"
refs_path = "relative"
# detected: 2 link texts match their target title, 0 diverge
refs_text = "normalize"
wiki_link_path = "preserve"

[markdown.formatting]

[djot]
date_format = "%b %d, %Y"
refs_extension = ".md"
refs_path = "relative"
refs_text = "normalize"

[djot.formatting]

[completion]
# overridden: set on the command line
link_format = "markdown"

[search]
# detected: 25 stopword hits for english, 1 for the next language
language = "english"

[templates.default]
document_template = """
# {{title}}

{{content}}"""
# detected: 3 of 3 filenames use slug style
key_template = "{{slug}}"

[commands.default]
run = "claude -p"
timeout_seconds = 120

[actions.emoji]
command = "default"
input_template = """
Here's a text that I'm going to ask you to edit. The text is marked with {{context_start}} {{context_end}} tags.

- The part you'll need to update is marked with {{update_start}} {{update_end}} tags.
- You can't replace entire text, your answer will be inserted in between {{update_start}} {{update_end}} tags.
- Add a relevant emoji one per list item (prior to list item text), header (prior to header text) or paragraph. Keep the text otherwise unchanged.
- Don't include the {{update_start}} {{update_end}} tags in your answer.

{{context_start}}

{{context}}

{{context_end}}
"""
title = "Emojify"
type = "transform"

[actions.expand]
command = "default"
input_template = """
Here's a text that I'm going to ask you to edit. The text is marked with {{context_start}}{{context_end}} tag.

The part you'll need to update is marked with {{update_start}}{{update_end}}.

{{context_start}}

{{context}}

{{context_end}}

- You can't replace entire text, your answer will be inserted in place of the {{update_start}}{{update_end}}. Don't include the {{context_start}}{{context_end}} and {{context_start}}{{context_end}} tags in your output.
- Preserve the links in the text. Do not return list item "-" or header "#" prefix

Expand the text you need to update, generate a couple paragraphs.
"""
title = "Expand"
type = "transform"

[actions.extract]
key_template = "{{id}}"
link_type = "markdown"
title = "Extract"
type = "extract"

[actions.extract_all]
key_template = "{{id}}"
link_type = "markdown"
title = "Extract all subsections"
type = "extract_all"

[actions.inline_quote]
inline_type = "quote"
keep_target = false
title = "Inline quote"
type = "inline"

[actions.inline_section]
inline_type = "section"
keep_target = false
title = "Inline section"
type = "inline"

[actions.keywords]
command = "default"
input_template = """
Here's a text that I'm going to ask you to edit. The text is marked with {{context_start}}{{context_end}} tag.

The part you'll need to update is marked with {{update_start}}{{update_end}}.

{{context_start}}

{{context}}

{{context_end}}

- You can't replace entire text, your answer will be inserted in place of the {{update_start}}{{update_end}}. Don't include the {{context_start}}{{context_end}} and {{context_start}}{{context_end}} tags in your output.

Mark most important keywords with bold using ** markdown syntax. Keep the text unchanged!
"""
title = "Keywords"
type = "transform"

[actions.link]
key_template = "{{id}}"
link_type = "markdown"
title = "Link"
type = "link"

[actions.rewrite]
command = "default"
input_template = """
Here's a text that I'm going to ask you to edit. The text is marked with {{context_start}}{{context_end}} tag.

The part you'll need to update is marked with {{update_start}}{{update_end}}.

{{context_start}}

{{context}}

{{context_end}}

- You can't replace entire text, your answer will be inserted in place of the {{update_start}}{{update_end}}. Don't include the {{context_start}}{{context_end}} and {{context_start}}{{context_end}} tags in your output.
- Preserve the links in the text. Do not return list item "-" or header "#" prefix

Your goal is to rewrite a given text to improve its clarity and readability. Ensure the language remains personable and not overly formal. Focus on simplifying language, organizing sentences logically, and removing ambiguity while maintaining a conversational tone.
"""
title = "Rewrite"
type = "transform"

[actions.sort]
reverse = false
title = "Sort A-Z"
type = "sort"

[actions.sort_desc]
reverse = true
title = "Sort Z-A"
type = "sort"

[actions.today]
document_template = """
# {{today}}

{{content}}
"""
key_template = "{{today}}"
title = "Add Date"
type = "attach"

[schemas]