mdast2docx logo Md2Docx
Version 0.1.0API DocsInterfaces

CoverPageOptions

Updated 9 hr ago

Defined in: frontmatter.ts:28

Properties

author?

optional author?: string

Defined in: frontmatter.ts:36

Author override (defaults to frontmatter.author or frontmatter.creator)

date?

optional date?: string

Defined in: frontmatter.ts:38

Date string override (defaults to frontmatter.date)

enabled?

optional enabled?: boolean

Defined in: frontmatter.ts:30

Whether the cover page is enabled

organization?

optional organization?: string

Defined in: frontmatter.ts:42

Organization or company name

removeMatchingHeading?

optional removeMatchingHeading?: boolean

Defined in: frontmatter.ts:44

Whether to remove duplicate H1 heading from body if it matches the cover title. Default: true

subtitle?

optional subtitle?: string

Defined in: frontmatter.ts:34

Subtitle or description override (defaults to frontmatter.subtitle or frontmatter.description or frontmatter.subject)

title?

optional title?: string

Defined in: frontmatter.ts:32

Title override (defaults to frontmatter.title or docxProps.title)

version?

optional version?: string | number

Defined in: frontmatter.ts:40

Version or revision override (defaults to frontmatter.version or frontmatter.revision)

On this page