Interface TextFormatOptions

Common options that affect conversion to text-based formats.

Hierarchy

Index

Properties

Properties

Optional display

display: "auto" | "block" | "inline"

A hint as to whether to prefer treating document lines as inline or block content. Possible values:

  • "auto" to decide how to format each line based on its content.
  • "block" to display each line on its own, similar to how a figure or diagram might be included between surrounding text.
  • "inline" to display the line as part of the surrounding text without setting it off in a separate paragraph. Some content may be formatted differently in order to minimize the effect on the line height. For example, large operators like sum may be somewhat smaller and their details may appear beside the operator rather than above and below it.

The default is "auto".

This API is still under development and is subject to change. Copyright © Math I Can Do Solutions Incorporated and/or its licensors.