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: docs/reference/node-api.md
+16-1Lines changed: 16 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -536,7 +536,22 @@ interface MarkdownLink {
536
536
537
537
- Details:
538
538
539
-
Links of the page.
539
+
Links included in the page content.
540
+
541
+
### markdownEnv
542
+
543
+
- Type: `Record<string, unknown>`
544
+
545
+
- Details:
546
+
547
+
The `env` object when parsing markdown content with markdown-it.
548
+
549
+
Some markdown-it plugins may store extra information inside this object, and you can make use of them for advanced customization.
550
+
551
+
Notice that some other page properties are also extracted from the original `env` object. Those properties have already been removed from `page.markdownEnv`.
552
+
553
+
- Also see:
554
+
-[markdown-it > API Documentation > MarkdownIt > parse](https://markdown-it.github.io/markdown-it/#MarkdownIt.parse)
0 commit comments