Skip to main content

Documentation Index

Fetch the complete documentation index at: https://superdoc-nick-sd-2070-add-content-controls-namespace-to-doc.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Adjust spacing between lines for better readability. Control line height for paragraphs and headings. Perfect for improving document readability and meeting formatting requirements.

Use case

  • Readability - Increase spacing for easier reading
  • Academic requirements - Double spacing for papers and theses
  • Accessibility - Better spacing helps users with dyslexia
  • Design control - Match brand guidelines or style requirements

Commands

setLineHeight

Set line height as a multiplier (e.g., 1.5 for 1.5x line spacing). Example:
editor.commands.setLineHeight(1.5)
editor.commands.setLineHeight(2)
Parameters:
lineHeight
number
required
Line height multiplier (e.g., 1.0 for single, 1.5, 2.0 for double)

unsetLineHeight

Remove line height and revert to default line spacing. Example:
editor.commands.unsetLineHeight()

Source code