1.0.1 • Published 5 months ago

prettier-lines-before-headings v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

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",
    "plugins": ["prettier-lines-before-headings"],
    "linesBeforeHeadings": 2
}

API

linesBeforeHeadings

type: number

default: 1

How many lines to add before Markdown headings.

"linesBeforeHeadings": 2,
0.0.1

7 months ago

1.0.1

5 months ago

1.0.0

1 year ago