Nested is a VSCode extension designed to make working with Markdown files easier. With Nested, you can quickly nest and un-nest items in your Markdown documents by adding or removing 4 spaces at the beginning of selected lines.
- Add 4 spaces to the beginning of selected lines to nest items.
- Remove 4 spaces from the beginning of selected lines to un-nest items.
- Keyboard shortcuts for both actions.
- No indentation is applied to empty lines.
- Find "Nested" in the VSCode Marketplace.
- Click Install.
- Open the Command Palette (
Ctrl+Shift+P
orCmd+Shift+P
on macOS). - Type:
ext install AdamOvera.nested
. - Press Enter to install.
- Download the latest
.vsix
package from the GitHub Releases page. - In VSCode, open the Command Palette (
Ctrl+Shift+P
on Windows/Linux orCmd+Shift+P
on macOS). - Search for "Install from VSIX...".
- Select the downloaded
.vsix
file to install the extension.
- Select the lines you want to indent.
- Press
Ctrl+Shift+Space
(Windows/Linux) orCmd+Shift+Space
(macOS) or use the Add 4 Spaces to Selected Lines command in the Command Palette.
- Select the lines you want to un-indent.
- Press
Ctrl+Shift+Backspace
(Windows/Linux) orCmd+Shift+Backspace
(macOS) or use the Remove 4 Spaces from Selected Lines command in the Command Palette.
- Markdown lists: Nest or un-nest items in bullet-point or numbered lists.
- Headings: Adjust nested headings in Markdown documents.
- Code blocks: Quickly indent or un-indent code or inline code sections.
This extension is licensed under the MIT License.
If you'd like to contribute to Nested, feel free to fork the repository and submit a pull request!