Skip to content

Commit bb1a0ac

Browse files
committed
docs: Fixed the argument names in the API reference
1 parent 60affea commit bb1a0ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,11 +356,11 @@ Read metadata from Markdown frontmatter.
356356

357357
Useful if just want to get the metadata, Markdown parse and metadata typing (for TypeScript) are handled by the VFM side.
358358

359-
`readMetadata(md: string, excludes: string[]): Metadata`
359+
`readMetadata(md: string, customKeys: string[]): Metadata`
360360

361361
- params:
362362
- `md`: `String` Markdown text.
363-
- `excludes`: `String[]` A collection of key names to be ignored by meta processing.
363+
- `customKeys`: `String[]` A collection of key names to be ignored by meta processing.
364364
- returns:
365365
- `metadata`: `Metadata` Metadata.
366366

0 commit comments

Comments
 (0)