Browse code

Add implementation

Robert Cranston authored on 03/06/2022 01:42:07
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,36 @@
1
+
2
+Paragraphs (even at indentation 0) outside markers
3
+also create folds.
4
+
5
+Paragraphs on the same level
6
+do not swallow empty lines.
7
+
8
+## Marker 1
9
+Single line paragraphs do not create folds, neither right after markers...
10
+
11
+...nor on their own.
12
+
13
+But lines below with more indentation are counted as part of the same fold...
14
+
15
+  ...while still being able to create
16
+    folds
17
+  of their own.
18
+
19
+### Marker 2
20
+Wider markers create higher fold levels.
21
+
22
+  #### Marker 3
23
+  Indentation does not affect marker fold levels.
24
+
25
+  Marker folds of the same level swallow empty lines...
26
+
27
+  #### Marker 3
28
+
29
+  ##### Marker 4
30
+  ...but ones on different levels do not.
31
+
32
+  #### Marker 3
33
+  Higher level folds are ended when the indentation drops.
34
+
35
+Leading and trailing empty lines are not part of folds.
36
+