Home > @activeviam/activeui-sdk > MdxPrinterOptions
MdxPrinterOptions interface
Signature:
export interface MdxPrinterOptions
Properties
Property | Type | Description |
---|---|---|
glue | StringDeepJoiner | If you want, you can override this function that collects together pieces of text to produce one big string. |
glueArgs | boolean | If true, argument lists are separate by only the comma character, like “(a,b)”. If false, argument lists are also printed on separate lines, like “(a,\n b)”. Defaults to false. |
indent | boolean | Whether to automatically indent each line of the printed MDX. Defaults to false. |
notEmpty | (a: Mdx) => boolean | If you want, you can override this function that accepts an MDX string and returns a boolean representing whether it should be considered “not empty”. |