Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/content/5.reference/1.parse.md
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,6 @@ Both `parseMarkdown()` and `createMarkdownParser()` accept the same `ParserOptio
| `autoUnwrap` | `boolean` | `true` | Remove unnecessary `<p>` wrappers from single-element containers |
| `autoClose` | `boolean \| (markdown: string, streaming?: boolean) => string` | `true` | Auto-close incomplete markdown syntax, or use a custom completion function. `streaming` is `true` when the parse was called with `{ streaming: true }`. |
| `unwrap` | `boolean \| string \| string[]` | `false` | Remove wrapper tags from the tree, hoisting their children (MDC `unwrap` behaviour). `true` unwraps `p`; a comma/whitespace-separated string or array unwraps the listed tags; `'*'` matches any tag. Tags apply sequentially (each descends one level), and adjacent text is merged into a single string. |

| `linkify` | `boolean` | `true` | **Deprecated.** Use `registerDefaultPlugins: false` and register [`linkify()`](/plugins/defaults/linkify) only when needed. Still honored (over `registerDefaultPlugins`) and logs a warning |
| `headingIds` | `boolean \| 'nested' \| 'flat'` | `true` | Auto-generate `id` attributes for `h1`–`h6` from visible heading text (not tag or component names). `true`/`'flat'` uses the heading's own text only (`install`); `'nested'` prefixes each id with its parent heading's id (`setup-install`); `false` disables auto ids. Unicode letters, marks, and numbers are kept (`## Café` → `café`); punctuation and symbols are dropped, and a heading that slugifies to nothing gets no id. Ids are unique per document: duplicates get a `-1`, `-2`, ... suffix (`options`, `options-1`, `options-2`). An explicit `id` attribute wins. See [Headings](/syntax/markdown#headings). |
| `registerDefaultPlugins` | `boolean` | `true` | Register the built-in default plugins (`linkify`, `frontmatter`, `html`, `alert`, `task-list`, `components`, `attributes`). Set `false` to disable them. |
Expand Down
Loading