Indentation and collapsing normal text
-
I want to write my text while indenting, and how would like indentation creating collapse
I have tried to set the language to yaml to simulate the behavior but the problem is my texts are not yaml.
If notepage cannot do that for me is there any not taking software that can help me with that ?
Eg: Below is the example of how I write my notes :
My name : YoYou Osflj One can also call me Papy Pay Staying : Burori City : Margarita
-
@sagesse-magezi ,
Hmmm…only one suggestion, since I’m not familiar with yaml and if that will format the way you want, but did you save the file that you were making your notes in AS a yaml document with extension? If you didn’t and just assumed setting the language as yaml and created a new document and it wasn’t doing what you wanted, it won’t…until you name that file with a yaml extension.
Hope this helps. -
normal text is the only document type that does not have a
so-called lexer assigned to it, so no coloring and folding is done.
If none of the existing lexers, like Python, Yaml, etc., can be used,
then you have to create your own, using auser defined language (udl)
.
The only drawback I can see is that a udl cannot apply folding by
indentation, only by defining an open fold token like{
and a closing one like}
.