MarkNode comes with four extensions, made by Document Node Pty Ltd. They are switched on and ready to use. Each adds one command that reads and changes the document you run it on. Like any extension command, you can undo it in one step.
| Extension | Command | Where it appears |
|---|---|---|
| Table of contents | Add table of contents | / menu, command picker |
| Renumber headings | Renumber headings | / menu, command picker |
| Convert list to headings | Convert list to headings | / menu, mind map and outline node menus, command picker |
| Sort section | Sort section | Mind map and outline node menus, command picker |
To open the command picker, press Cmd+Shift+P on macOS or Ctrl+Shift+P on Windows and Linux. See Running Extension Commands.
Add Table of Contents
Adds a linked list of your document’s headings at the very top of the document. Each entry links to its heading.
For a document with these headings:
# Guide
## Install
## Use
Add table of contents adds this above # Guide:
- [Guide](#guide)
- [Install](#install)
- [Use](#use)
If you add or rename headings later, undo the old table of contents or delete it, then run the command again. Running it again without removing the old one adds a second table of contents.
Renumber Headings
Numbers every heading in document order. It replaces numbers that are already there, so you can run it again after you add, move or delete sections.
# Intro
## Setup
## Usage
# Reference
becomes:
# 1 Intro
## 1.1 Setup
## 1.2 Usage
# 2 Reference
Convert List to Headings
Turns a bulleted or numbered list into headings, with nested items becoming the next heading level down.
- From the
/menu or the command picker, it converts every top-level list in the document. - From a list item in the mind map or outline, right-click it and choose Extensions > Convert list to headings to convert just that item and the items nested under it. List items are hidden in both views until you show them: in the mind map, choose Toggle List Items in its toolbar; for the outline, turn on Include bullet list items or Include numbered list items in Settings > General.
# Plan
- Research
- Interviews
- Build
becomes:
# Plan
## Research
### Interviews
## Build
Markdown has six heading levels, so a list can’t be converted if its headings would go past level 6. For example, under a ### heading, a list can be at most three levels deep.
Sort Section
Sorts the sections directly under a heading into A to Z order, ignoring capital letters. Each section moves with everything in it.
- In the mind map or outline, right-click the heading whose sections you want to sort — for example Groceries, with sections Pears, apples and Bananas.
- Choose Extensions > Sort section.
The sections are now in the order apples, Bananas, Pears.
From the command picker, Sort section sorts the top-level sections of the whole document.