2024-03-08
Markdown does not directly support altering the space between lines. Use HTML and CSS for more control over line spacing.
<p style="line-height: 2;">Your text here</p>
Standard Markdown syntax does not include a way to adjust the spacing between lines of text. For documents where precise control over text appearance is necessary, embedding HTML and inline styles is a workaround.
To change the line spacing in a section of your document, you can wrap the text in <p>
tags with a style
attribute specifying the line-height
.
<p style="line-height: 150%;">This is some text with adjusted line spacing.</p>
Author's Note: Integrating HTML into Markdown is a powerful tool but can detract from the simplicity that Markdown is known for. Use judiciously.