Skip to content

Latest commit

 

History

History
57 lines (48 loc) · 958 Bytes

README.md

File metadata and controls

57 lines (48 loc) · 958 Bytes

flask-snips

Adds snippets to quickly build Jinja2 HTML templates and Flask Python controls in Atom. This is a fork of flask-snippets, which was no longer maintained.


To install:

apm install flask-snips

Snippets

All snippets start with the letter f

  • fexp
  • ffilter
  • ffb
  • fcomment
  • fblock --> Generic block, useful for vanilla and extension template blocks
  • fchild
  • fself
  • fsuper
  • ffor
  • fif
  • fife
  • felif
  • fmacro
  • fset
  • finclude
  • fimport
  • fautoescape
  • furl

  • "" (single line docstring)
  • """ (multi-line docstring)
  • fapp
  • frun
  • froute
  • furl
  • fmeth
  • frt
  • ftreq
  • fup
  • fsup
  • frc
  • fsc
  • feh
  • flog

TODO:

  • Add more snippets for more specific cases (flashing, etc.)
  • Add description to snippet's name in the readme file.
  • Review snippets for optimization