Creation Wizard
The MOC Creation Wizard is an interactive, visual builder that allows you to generate dynamic Map of Content code blocks without having to write YAML syntax manually.
Opening the Wizard
You can open the wizard in two ways:
- Ribbon icon: Click the list/bullet icon (Create map of content block) in the Obsidian ribbon on the left side of your window.
- Command palette: Open the Command Palette (
Ctrl/Cmd + P), search forCreate map of content block, and pressEnter.
Configuration Options
When the wizard modal opens, you can configure the following fields:
1. Folder
Specify the folder path in your vault where the plugin should search for notes.
- Example:
DiaryorWork/Meetings. - Leave empty to scan the entire vault.
2. Element
Select the markdown element type you want to extract:
- List: Bulleted/numbered list items.
- Task: Checkbox task items.
- Heading: Document headers (H1 to H6).
- Paragraph: Standard text paragraphs.
- Blockquote: Markdown blockquote segments.
3. Recursive
Toggle this on to include notes in subfolders of the specified directory. If toggled off, only notes directly inside the specified folder are scanned.
4. Exclude folder
Specify one or more folder paths to skip, separated by commas. These folders are excluded even when Recursive is on.
- Example:
Archive, Templates
5. Exclude file
Specify one or more file paths to skip, separated by commas.
- Example:
Templates/daily, Inbox/scratch
6. Filter string
Specify the complex logical filter condition to run on your selected elements. The wizard features an interactive autocomplete suggester that activates as you type.
You can use primitive functions such as contains(""), has_tag(""), is_completed(), properties( == ""), and combine them using logical operators like AND, OR, and NOT.
Note:
is_completed()andis_incomplete()are only suggested when Element is set toTaskorList.
- Example:
contains("Meeting") AND NOT is_completed()
7. Show count
Toggle on to append a result count summary at the bottom of the block (e.g. 3 results in 2 files). Per-group counts are also shown when Group by is active.
8. Group by
Group results under subheadings:
- None: No grouping (default).
- Folder: Group by the source note's parent folder.
- Tag: Group by hashtags found in each element's text.
- Creation day: Group by source note creation date.
- Modification day: Group by source note modification date.
- Property...: Group by any frontmatter property. When selected, an additional Property key field appears where you enter the frontmatter key name (e.g.
status,project).
9. Sort
Sort the scanned files before extracting elements. Select a sort field (Name, Creation time, Modification time) and direction (Ascending or Descending).