You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li>a fully-fledged wiki; it does have a web interface, but that is tailored for browsing and viewing; (and it should never be exposed to the network;)</li>
88
88
<li>a document management system;</li>
89
89
</ul>
90
-
<h6>Further details</h6>
91
90
<p>For more features, and anti-features, please see the <ahref="#features">dedicated section</a>.</p>
92
91
<p>Also see the following useful sections:</p>
93
92
<ul>
@@ -102,7 +101,9 @@ <h6>Further details</h6>
102
101
<hr/>
103
102
<p><aname="status"></a></p>
104
103
<h2>Status</h2>
105
-
<h6><strong>WIP</strong> (work in progress)</h6>
104
+
<blockquote>
105
+
<p><strong>WIP</strong> (work in progress)</p>
106
+
</blockquote>
106
107
<p>At the moment <code>z-scratchpad</code> is still under heavy development.</p>
107
108
<p>That being said, I'm using it for all my note taking,
108
109
from personal notes, to for-work project specific documents.</p>
@@ -113,7 +114,9 @@ <h6><strong>WIP</strong> (work in progress)</h6>
113
114
<hr/>
114
115
<p><aname="documentation"></a></p>
115
116
<h2>Documentation</h2>
116
-
<h6><strong>WIP</strong> (work in progress)</h6>
117
+
<blockquote>
118
+
<p><strong>WIP</strong> (work in progress)</p>
119
+
</blockquote>
117
120
<p>Besides what is available by running <code>z-scratchpad help</code> there is no other documentation at the moment.</p>
118
121
<p>That being said, just run the following and start experimenting with the commands.
119
122
(If there is need for documentation, besides the frugally <code>-h</code> for each command, I have failed in one of the mandatory requirements, that of being "simple to use".)</p>
@@ -181,7 +184,7 @@ <h6><strong>WIP</strong> (work in progress)</h6>
181
184
<hr/>
182
185
<p><aname="features"></a></p>
183
186
<h2>Features (and anti-features)</h2>
184
-
<h6>Features</h6>
187
+
<h3>Features and requirements</h3>
185
188
<p>The following are the main requirements, sorted by priority, that I have in mind while implementing or extending <code>z-scratchpad</code>:</p>
186
189
<ul>
187
190
<li>(<strong>mandatory</strong>) stores the documents in plain text files, with minimal requirements on the file-system structure; (if tomorrow <code>z-scratchpad</code> disappears, no one should lose anything, and should be able to easily migrate to other tools;)</li>
@@ -202,7 +205,7 @@ <h6>Features</h6>
202
205
The reason is that although during implementation they should be maintained, compromises can be made (for example in terms of performance).
203
206
On the other hand, the higher some are on the list, the fewer compromises should be made.</p>
204
207
<p><aname="anti-features"></a></p>
205
-
<h6>Anti-features</h6>
208
+
<h3>Anti-features</h3>
206
209
<p>Conversely, there are also some negative requirements, or anti-features, that I keep in mind:</p>
207
210
<ul>
208
211
<li>(<strong>mandatory</strong>) does not support any non-text documents; (it doesn't care what is inside the document, i.e. its syntax, as long as it's a plain text file;)</li>
@@ -220,7 +223,7 @@ <h6>Anti-features</h6>
220
223
<li>does not prioritize built-in advanced workflows; (however, by using the CLI interface one can implement in his favorite scripting language any workflow one desires;)</li>
221
224
</ul>
222
225
<p><aname="ui"></a></p>
223
-
<h6>UI considerations</h6>
226
+
<h3>UI considerations</h3>
224
227
<p>The careful reader might see that I've listed "does not implement any TUI / GUI" twice, both in features and anti-features, it was not a mistake.
225
228
<code>z-scratchpad</code> should limit its UI requirements to the following primitive operations that can be provided by external tools.</p>
226
229
<ul>
@@ -233,12 +236,14 @@ <h6>UI considerations</h6>
233
236
<hr/>
234
237
<p><aname="how"></a></p>
235
238
<h2>How, concepts, and inner workings...</h2>
236
-
<h6><strong>WIP</strong> (work in progress)</h6>
239
+
<blockquote>
240
+
<p><strong>WIP</strong> (work in progress)</p>
241
+
</blockquote>
237
242
<p>In this section I mainly describe what use-cases <code>z-scratchpad</code> should cover,
238
243
how it should integrate in one's environment,
239
244
and how it should store one's documents.</p>
240
245
<p>If one is interested in why I've reached this model, please see the next section on <ahref="#why">"why"</a>.</p>
241
-
<h6>Concepts</h6>
246
+
<h3>Concepts</h3>
242
247
<p><code>z-scratchpad</code> uses the following concepts:</p>
243
248
<ul>
244
249
<li><strong>instance</strong> -- mainly identified with a single configuration file; (one can many instances;)</li>
@@ -269,7 +274,7 @@ <h6>Concepts</h6>
269
274
</ul>
270
275
</li>
271
276
</ul>
272
-
<h6>Use-cases and workflows</h6>
277
+
<h3>Use-cases and workflows</h3>
273
278
<p>Creating a new document:</p>
274
279
<ul>
275
280
<li><code>z-scratchpad create</code> -- if there is configured a default create library, an new document with a random name (prefixed with the current date) is created under that library's create path, and the preferred editor is opened with the corresponding file;</li>
@@ -298,7 +303,7 @@ <h6>Use-cases and workflows</h6>
298
303
<li><code>z-scratchpad export -l some-library -d some-document -f source</code> -- export the given document's source code; (with the document header canonicalized;)</li>
299
304
<li><code>z-scratchpad export -l some-library -d some-document -f html</code> -- export the given document's body rendered as HTML (only the actual body, that could be included in for example <code><main>...</main></code>);</li>
300
305
</ul>
301
-
<h6>TUI vs GUI</h6>
306
+
<h3>TUI vs GUI</h3>
302
307
<p><code>z-scratchpad</code> tries to detect if it is running under a terminal or Xorg:</p>
303
308
<ul>
304
309
<li>it considers running under a terminal if all these conditions are met:
@@ -318,7 +323,9 @@ <h6>TUI vs GUI</h6>
318
323
</ul>
319
324
<p>Depending on whether it considers running under a terminal or Xorg, it tries to use different tools (for editing, selecting, etc.)</p>
320
325
<p>However one can always set the same tools for both terminal or Xorg configuration properties.</p>
The following are the main requirements, sorted by priority, that I have in mind while implementing or extending `z-scratchpad`:
218
216
@@ -236,7 +234,7 @@ On the other hand, the higher some are on the list, the fewer compromises should
236
234
237
235
<aname="anti-features"></a>
238
236
239
-
######Anti-features
237
+
### Anti-features
240
238
241
239
Conversely, there are also some negative requirements, or anti-features, that I keep in mind:
242
240
@@ -256,7 +254,7 @@ Conversely, there are also some negative requirements, or anti-features, that I
256
254
257
255
<aname="ui"></a>
258
256
259
-
######UI considerations
257
+
### UI considerations
260
258
261
259
The careful reader might see that I've listed "does not implement any TUI / GUI" twice, both in features and anti-features, it was not a mistake.
262
260
`z-scratchpad` should limit its UI requirements to the following primitive operations that can be provided by external tools.
@@ -280,7 +278,7 @@ Anything that is not on this list should be made to fit a workflow based on thes
280
278
281
279
## How, concepts, and inner workings...
282
280
283
-
######**WIP** (work in progress)
281
+
>**WIP** (work in progress)
284
282
285
283
In this section I mainly describe what use-cases `z-scratchpad` should cover,
286
284
how it should integrate in one's environment,
@@ -289,7 +287,7 @@ and how it should store one's documents.
289
287
If one is interested in why I've reached this model, please see the next section on ["why"](#why).
290
288
291
289
292
-
######Concepts
290
+
### Concepts
293
291
294
292
`z-scratchpad` uses the following concepts:
295
293
***instance** -- mainly identified with a single configuration file; (one can many instances;)
@@ -312,7 +310,7 @@ If one is interested in why I've reached this model, please see the next section
312
310
* nested menus -- although it does not support "nested" or "hierarchical" menus, one can call another menu as a command; (thus one can implement arbitrary menu paths;)
313
311
314
312
315
-
######Use-cases and workflows
313
+
### Use-cases and workflows
316
314
317
315
Creating a new document:
318
316
*`z-scratchpad create` -- if there is configured a default create library, an new document with a random name (prefixed with the current date) is created under that library's create path, and the preferred editor is opened with the corresponding file;
@@ -339,7 +337,7 @@ Integrating in other scripts:
339
337
*`z-scratchpad export -l some-library -d some-document -f html` -- export the given document's body rendered as HTML (only the actual body, that could be included in for example `<main>...</main>`);
340
338
341
339
342
-
######TUI vs GUI
340
+
### TUI vs GUI
343
341
344
342
`z-scratchpad` tries to detect if it is running under a terminal or Xorg:
345
343
* it considers running under a terminal if all these conditions are met:
@@ -356,7 +354,7 @@ Depending on whether it considers running under a terminal or Xorg, it tries to
356
354
However one can always set the same tools for both terminal or Xorg configuration properties.
0 commit comments