Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jan 5, 2022
1 parent eac6f4f commit d03dba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {toText} from 'hast-util-to-text'
/**
* Plugin to infer file metadata from the main title of a document.
*
* @type {import('unified').Plugin<[Options?]|[], Root>}
* @type {import('unified').Plugin<[Options?]|Array<void>, Root>}
*/
export default function rehypeInferTitleMeta(options = {}) {
const {selector = 'h1'} = options
Expand Down

0 comments on commit d03dba7

Please sign in to comment.