You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,8 +58,12 @@ All frontmatter options are optional.
58
58
-**`markmap`** : Correspond to the [`IMarkmapJSONOptions`](https://markmap.js.org/api/interfaces/markmap-view.IMarkmapJSONOptions.html) in the markmap project. For more details, please refer to [`jsonOptions`](https://markmap.js.org/docs/json-options#option-list).
<summary>Difference between `markmap` and `options`</summary>
65
+
61
66
> [!TIP]
62
-
> **Difference between `markmap` and `options`**
63
67
>
64
68
> -**`markmap` (from markmap-lib)**
65
69
> Will be [preprocessed](https://github.com/markmap/markmap/blob/master/packages/markmap-lib/src/plugins/frontmatter/index.ts#L41) (e.g., converting strings to arrays or numbers) and overrides the legacy `options`.
@@ -69,6 +73,8 @@ All frontmatter options are optional.
69
73
> -**`options` (from markmap-universe)** Passed directly to markmap-view.
70
74
> - ❌ Not recommended, maintained only for backward compatibility.
0 commit comments