Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IndentPluginOptions

Hierarchy

  • IndentPluginOptions

Index

Properties

Optional classNames

classNames: string[]

List of classNames to pass to each indented block. First item is indent=1, second item is indent=2,... If defined, the plugin will pass a className prop instead of a style prop.

Optional indentMax

indentMax: number

Maximum number of indentation.

Optional offset

offset: number

Indentation offset used in (offset * element.indent) + unit.

default

40

Optional types

types: string[]

List of block types supporting indentation. Default is the paragraph type.

Optional unit

unit: string

Indentation unit used in (offset * element.indent) + unit.

default

'px'

Generated using TypeDoc