Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 1.9 KB

README.md

File metadata and controls

58 lines (43 loc) · 1.9 KB

Form-feed support for Atom

Build status: GitHub Actions 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, as \f, or as ^L (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