Skip to content

Commit 504c016

Browse files
[readme] Change heading levels.
1 parent 76a30b8 commit 504c016

File tree

2 files changed

+30
-25
lines changed

2 files changed

+30
-25
lines changed

documentation/readme.html

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<main class="markdown-body">
4444
<h1><code>z-scratchpad</code> -- lightweight Go-based notes tool</h1>
4545
<blockquote>
46-
<h6>Table of contents</h6>
46+
<h2>Table of contents</h2>
4747
<ul>
4848
<li><a href="#about">about</a>; <a href="#status">status</a>; <a href="#documentation">documentation</a>;</li>
4949
<li><a href="#features">features (and anti-features)</a>;</li>
@@ -87,7 +87,6 @@ <h2>About</h2>
8787
<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>
8888
<li>a document management system;</li>
8989
</ul>
90-
<h6>Further details</h6>
9190
<p>For more features, and anti-features, please see the <a href="#features">dedicated section</a>.</p>
9291
<p>Also see the following useful sections:</p>
9392
<ul>
@@ -102,7 +101,9 @@ <h6>Further details</h6>
102101
<hr />
103102
<p><a name="status"></a></p>
104103
<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>
106107
<p>At the moment <code>z-scratchpad</code> is still under heavy development.</p>
107108
<p>That being said, I'm using it for all my note taking,
108109
from personal notes, to for-work project specific documents.</p>
@@ -113,7 +114,9 @@ <h6><strong>WIP</strong> (work in progress)</h6>
113114
<hr />
114115
<p><a name="documentation"></a></p>
115116
<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>
117120
<p>Besides what is available by running <code>z-scratchpad help</code> there is no other documentation at the moment.</p>
118121
<p>That being said, just run the following and start experimenting with the commands.
119122
(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 &quot;simple to use&quot;.)</p>
@@ -181,7 +184,7 @@ <h6><strong>WIP</strong> (work in progress)</h6>
181184
<hr />
182185
<p><a name="features"></a></p>
183186
<h2>Features (and anti-features)</h2>
184-
<h6>Features</h6>
187+
<h3>Features and requirements</h3>
185188
<p>The following are the main requirements, sorted by priority, that I have in mind while implementing or extending <code>z-scratchpad</code>:</p>
186189
<ul>
187190
<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>
202205
The reason is that although during implementation they should be maintained, compromises can be made (for example in terms of performance).
203206
On the other hand, the higher some are on the list, the fewer compromises should be made.</p>
204207
<p><a name="anti-features"></a></p>
205-
<h6>Anti-features</h6>
208+
<h3>Anti-features</h3>
206209
<p>Conversely, there are also some negative requirements, or anti-features, that I keep in mind:</p>
207210
<ul>
208211
<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>
220223
<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>
221224
</ul>
222225
<p><a name="ui"></a></p>
223-
<h6>UI considerations</h6>
226+
<h3>UI considerations</h3>
224227
<p>The careful reader might see that I've listed &quot;does not implement any TUI / GUI&quot; twice, both in features and anti-features, it was not a mistake.
225228
<code>z-scratchpad</code> should limit its UI requirements to the following primitive operations that can be provided by external tools.</p>
226229
<ul>
@@ -233,12 +236,14 @@ <h6>UI considerations</h6>
233236
<hr />
234237
<p><a name="how"></a></p>
235238
<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>
237242
<p>In this section I mainly describe what use-cases <code>z-scratchpad</code> should cover,
238243
how it should integrate in one's environment,
239244
and how it should store one's documents.</p>
240245
<p>If one is interested in why I've reached this model, please see the next section on <a href="#why">&quot;why&quot;</a>.</p>
241-
<h6>Concepts</h6>
246+
<h3>Concepts</h3>
242247
<p><code>z-scratchpad</code> uses the following concepts:</p>
243248
<ul>
244249
<li><strong>instance</strong> -- mainly identified with a single configuration file; (one can many instances;)</li>
@@ -269,7 +274,7 @@ <h6>Concepts</h6>
269274
</ul>
270275
</li>
271276
</ul>
272-
<h6>Use-cases and workflows</h6>
277+
<h3>Use-cases and workflows</h3>
273278
<p>Creating a new document:</p>
274279
<ul>
275280
<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>
298303
<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>
299304
<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>&lt;main&gt;...&lt;/main&gt;</code>);</li>
300305
</ul>
301-
<h6>TUI vs GUI</h6>
306+
<h3>TUI vs GUI</h3>
302307
<p><code>z-scratchpad</code> tries to detect if it is running under a terminal or Xorg:</p>
303308
<ul>
304309
<li>it considers running under a terminal if all these conditions are met:
@@ -318,7 +323,9 @@ <h6>TUI vs GUI</h6>
318323
</ul>
319324
<p>Depending on whether it considers running under a terminal or Xorg, it tries to use different tools (for editing, selecting, etc.)</p>
320325
<p>However one can always set the same tools for both terminal or Xorg configuration properties.</p>
321-
<h6><strong>TBC</strong> (to be continued)</h6>
326+
<blockquote>
327+
<p><strong>TBC</strong> (to be continued)</p>
328+
</blockquote>
322329
<hr />
323330
<p><a name="why"></a></p>
324331
<h2>Why, and history and reasons...</h2>

documentation/readme.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# `z-scratchpad` -- lightweight Go-based notes tool
33

44

5-
> ###### Table of contents
5+
> ## Table of contents
66
>
77
> * [about](#about); [status](#status); [documentation](#documentation);
88
> * [features (and anti-features)](#features);
@@ -59,8 +59,6 @@ What `z-scrpatchpad` is not:
5959
* 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;)
6060
* a document management system;
6161

62-
###### Further details
63-
6462
For more features, and anti-features, please see the [dedicated section](#features).
6563

6664
Also see the following useful sections:
@@ -85,7 +83,7 @@ Please see the [contributions](#contributions) and [licensing](#license) section
8583

8684
## Status
8785

88-
###### **WIP** (work in progress)
86+
> **WIP** (work in progress)
8987
9088
At the moment `z-scratchpad` is still under heavy development.
9189

@@ -109,7 +107,7 @@ thus usable with generic file-management tools.
109107

110108
## Documentation
111109

112-
###### **WIP** (work in progress)
110+
> **WIP** (work in progress)
113111
114112
Besides what is available by running `z-scratchpad help` there is no other documentation at the moment.
115113

@@ -212,7 +210,7 @@ z-scratchpad browse -d some-identifier
212210

213211
## Features (and anti-features)
214212

215-
###### Features
213+
### Features and requirements
216214

217215
The following are the main requirements, sorted by priority, that I have in mind while implementing or extending `z-scratchpad`:
218216

@@ -236,7 +234,7 @@ On the other hand, the higher some are on the list, the fewer compromises should
236234

237235
<a name="anti-features"></a>
238236

239-
###### Anti-features
237+
### Anti-features
240238

241239
Conversely, there are also some negative requirements, or anti-features, that I keep in mind:
242240

@@ -256,7 +254,7 @@ Conversely, there are also some negative requirements, or anti-features, that I
256254

257255
<a name="ui"></a>
258256

259-
###### UI considerations
257+
### UI considerations
260258

261259
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.
262260
`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
280278

281279
## How, concepts, and inner workings...
282280

283-
###### **WIP** (work in progress)
281+
> **WIP** (work in progress)
284282
285283
In this section I mainly describe what use-cases `z-scratchpad` should cover,
286284
how it should integrate in one's environment,
@@ -289,7 +287,7 @@ and how it should store one's documents.
289287
If one is interested in why I've reached this model, please see the next section on ["why"](#why).
290288

291289

292-
###### Concepts
290+
### Concepts
293291

294292
`z-scratchpad` uses the following concepts:
295293
* **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
312310
* 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;)
313311

314312

315-
###### Use-cases and workflows
313+
### Use-cases and workflows
316314

317315
Creating a new document:
318316
* `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:
339337
* `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>`);
340338

341339

342-
###### TUI vs GUI
340+
### TUI vs GUI
343341

344342
`z-scratchpad` tries to detect if it is running under a terminal or Xorg:
345343
* 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
356354
However one can always set the same tools for both terminal or Xorg configuration properties.
357355

358356

359-
###### **TBC** (to be continued)
357+
> **TBC** (to be continued)
360358
361359

362360

0 commit comments

Comments
 (0)