• Packages
  • Themes
  • Documentation
  • Blog
  • Discussions
Sign in

fill-line

fill a line to match the line above
giladgray
1.0.0 432
6
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Fill Line package

Fill the current line to match the length of the line above. Useful for Markdown or RST headers.

Welcome to the Jungle   =>   Welcome to the Jungle
=|                      =>   =====================|

The current line will be repeated to match the length of the line above, so you can do fun patterns (although this doesn't mean anything in MD or RST).

Welcome to the Jungle   =>   Welcome to the Jungle
=-~*|                   =>   =-~*=-~*=-~*=-~*=-~*=|

Nothing happens if the line above is empty or shorter than the current line.

The default hotkey is ctrl-$, like the end-of-line character in a regular expression.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by