Skip to content

Option to insert blank lines before/after certain elements #102

@solonovamax

Description

@solonovamax

An option to insert blank lines before/after certain elements would be nice.
A list of elements that could have blank lines inserted before/after would be:

  • Code blocks
  • Headers
  • Lists
  • Tables

For example:

/**
 * This is some text.
 * - This is a list item.
 * - This is a second list item.
 *
 * This is some more text.
 */

when formatted with "1 line before & 2 lines after lists" becomes

/**
 * This is some text.
 *
 * - This is a list item.
 * - This is a second list item.
 *
 *
 * This is some more text.
 */

The same thing can be applied to headers, code blocks, and tables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions