prettier-lines-before-headings
v1.0.0
Published
A Prettier plugin to add blank lines before Markdown headings for readability
Downloads
5
Maintainers
Readme
Prettier Lines Before Headings
A Prettier plugin to add blank lines before Markdown headings for better readability.
Install
npm install --save-dev prettier-lines-before-headings
pnpm add --save-dev prettier-lines-before-headings
yarn add --dev prettier-lines-before-headings
Usage
{
"tabWidth": 2,
"trailingComma": "none",
"linesBeforeHeadings": 2,
"plugins": ["prettier-lines-before-headings"]
}
API
linesBeforeHeadings
type: number
default: 1
How many lines to add before Markdown headings.
"linesBeforeHeadings": 2,