Skip to content

PrettierMarkdownOptions

PromptScript API


Defined in: core/src/types/prettier.ts:5

Prettier markdown formatting options. These options control how markdown output is formatted.

Properties

printWidth?

optional printWidth?: number

Defined in: core/src/types/prettier.ts:25

Maximum line width for prose wrapping.

Default

80

proseWrap?

optional proseWrap?: "always" | "never" | "preserve"

Defined in: core/src/types/prettier.ts:13

How to wrap prose.

  • ‘always’: Wrap prose at printWidth
  • ‘never’: Do not wrap prose
  • ‘preserve’: Preserve original wrapping

Default

'preserve'

tabWidth?

optional tabWidth?: number

Defined in: core/src/types/prettier.ts:19

Number of spaces per indentation level.

Default

2