mdast2docx logo Md2Docx
Version 1.6.2API DocsType aliases

AlignType

Updated 5 min ago

AlignType = "center" | "left" | "right" | null

Defined in: packages/mdast/src/index.ts:71

How phrasing content is aligned ([CSSTEXT]).

  • 'left': See the left value of the text-align CSS property
  • 'right': See the right value of the text-align CSS property
  • 'center': See the center value of the text-align CSS property
  • null: phrasing content is aligned as defined by the host environment

Used in GFM tables.