Skip to main content

Markdown

Scopes

Below are visualizations of all our scope tests for this language. These were created primarily for testing purposes rather than as documentation. There are quite a few, and they may feel a bit overwhelming from a documentation standpoint.

Collection item

1. Collection item: Unenclosed multi line

An item in a comma-separated multi line list without enclosing delimiters. This could be multi-variable declarations, import statements, etc. Insertion delimiter should include new line.

2. Collection item: Unenclosed (iteration)

Iteration scope for items in a comma-separated list without enclosing delimiters

Comment

1. Comment: Block

A block comment

Interior

1. Interior: Cell

The body of a code cell in markdown

List

1. List

A list/array

Notebook cell

1. Notebook cell

A cell in a notebook or a markdown code block

Section

1. Section

A document section

2. Section (iteration document)

Iteration scope for sections: the entire document including leading and trailing empty lines.

3. Section (iteration parent)

Iteration scope for sections: the parent section.

Internal scopes

The following are internal scopes. They are not intended for user interaction or spoken use. These scopes exist solely for internal Cursorless functionality.

Text fragment

1. Text fragment: Comment block

Text fragment consisting of a block comment