December 31, 2021

How to make hierarchical notes



Creating a text file in the Linux operating system is a well known task for all computer programmers. In addition it is possible to create text files which are structured hierarchically. This is done with the markdown syntax. A good texteditor is able to render the structure in an outline pane. This allows to jumps easily to any position in the text file.

Somebody may ask what is the reason for creating hierarchical notes in contrast to a normal text file? The reason is located in theh left pane. Similar to a list of methods in a python file,, the left pane shows the overview. All the details are hidden and only the sections and subsections are shown. This is some sort of mind mapping feature in which a problem is split into sub-topics. In contrast to a drawing on a sheet of paper, a markdown formatted text file is much easier to create and modify.

Another interesting feature is, that English text can be mixed with short notes. There is no need to enter full sentences but a section can be filled with 3-4 words long lines.