form-feeds
Display form-feed characters (U+000C) as horizontal dividers in source code.
John Gardner 307 0 1.1.0 ISC GitHub

Form-feed support for Atom

Build status: TravisCI Build status: AppVeyor Latest package version

Display form-feed characters (U+000C) as horizontal dividers in source code.

Placeholder preview

Inspired by the MELPA package of the same name.

Features:

  • Render form-feeds as horizontal dividers or as ^L (using caret notation)
  • Snippets for inserting form-feeds: \f, ^L
  • Editor commands (without default keybindings)
    • form-feeds:go-to-prev-feed
    • form-feeds:go-to-next-feed
    • form-feeds:strip-feeds

Customisation

You can tweak the rendering of form-feed indicators using your stylesheet:

@import "packages/form-feeds/styles/variables.less";

// Thicker border
@{ff-border} @{ff-selector}::before{
	border-top-width: 2px;
}

// Replace `^L` with a green `FF` when `placeholderStyle` is set to "caret"
@{ff-caret} @{ff-selector}::before{
	content: "FF";
	color: #0f0;
}

More info