Closed jaspervdj closed 5 months ago
See #38.
Configuration is done through the existing margins setting.
margins
To vertically center content, use top: auto. To horizontally center content, use both left: auto and right: auto. For example:
top: auto
left: auto
right: auto
--- title: Centered presentation author: John Doe patat: margins: left: auto right: auto top: auto ... Hello world
Setting wrap: true is recommended when vertically centering content if there are any lines that are too wide for the terminal.
wrap: true
See #38.
Configuration is done through the existing
margins
setting.To vertically center content, use
top: auto
. To horizontally center content, use bothleft: auto
andright: auto
. For example:Setting
wrap: true
is recommended when vertically centering content if there are any lines that are too wide for the terminal.