1.0.2 • Published 1 month ago

prettier-plugin-lines-before-headings v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

Prettier Lines Before Headings

A prettier plugin to add blank lines before Markdown headings for better readability.

Install

npm install --save-dev prettier-plugin-lines-before-headings
pnpm add --save-dev prettier-plugin-lines-before-headings
yarn add --dev prettier-plugin-lines-before-headings

Usage

{
  "tabWidth": 2,
  "trailingComma": "none",
  "linesBeforeHeadings": 2,
  "plugins": ["prettier-plugin-lines-before-headings"]
}

API

linesBeforeHeadings

type: number

default: 1

How many lines to add before Markdown headings.

"linesBeforeHeadings": 2,
1.0.2

1 month ago

1.0.1

1 month ago

1.0.0

1 month ago