I am using a C++ editor to write down general notes, i.e. I use the code blocks { }
and the multi-line comments /**/
to organize the text in a hierarchical way. Most editors allow to collapse/uncollapse such blocks, allowing to view just the parts of text I am interested in.
E.g.:
{ /// Title
{ /// Contents
// 1. Introduction
// 2. Basic concepts
// 3. Strategies
// 4. Key words
}
{ /// 1. Introduction
/* Once upon a time...
*/
/* Another paragraph...
*/
}
Other chapters...
}
This approach works quite well. It is immediately readable with any text editor, and offers a tree like structure which I find great.
However it is not so rich in terms of features, compared to a classic word processor.
Do you know of any tool that allows to organize a text file in a hierarchical way, without polluting the text too much, so that it remains readable even when examined directly?
Useful features would be, e.g., links to other parts of the text and other documents; links to the web; ...
Thank you!