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
11 changes: 10 additions & 1 deletion src/types/module.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { BuiltinLanguage as ShikiLang, BuiltinTheme as ShikiTheme, LanguageRegistration, ThemeRegistrationAny, ThemeRegistrationRaw } from 'shiki'
import type { ListenOptions } from 'listhen'
import type { LanguageRegistration, BuiltinLanguage as ShikiLang, BuiltinTheme as ShikiTheme, ThemeRegistrationAny, ThemeRegistrationRaw } from 'shiki'
import type { GitInfo } from '../utils/git'
import type { MarkdownPlugin } from './content'
import type { PathMetaOptions } from './path-meta'
Expand Down Expand Up @@ -110,6 +110,15 @@ export interface ModuleOptions {
*/
searchDepth?: number
}
/**
* By default, Nuxt Content extracts content from the first H1 heading and paragraphs below it.
* And uses this title and paragraph as default value for the `title` and `description` fields.
*
* Setting this option to `false` will disable this behavior.
*
* @default true
*/
contentHeading?: boolean
/**
* Register custom remark plugin to provide new feature into your markdown contents.
* Checkout: https://github.com/remarkjs/remark/blob/main/doc/plugins.md
Expand Down