Skip to content

Commit 3489444

Browse files
committed
Update documentation
1 parent 3f747c5 commit 3489444

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/parchment/lib/src/heuristics/insert_rules.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ class PreserveLineFormatOnNewLineRule extends InsertRule {
152152
/// Heuristic rule to exit current block when user inserts two consecutive
153153
/// newlines.
154154
///
155+
/// If bloc is a list or checklist with indent level greater than 1, heuristic
156+
/// rules will de-indent current line.
157+
///
155158
/// This rule is only applied when the cursor is on the last line of a block.
156159
/// When the cursor is in the middle of a block we allow adding empty lines
157160
/// and preserving the block's style.

0 commit comments

Comments
 (0)