Skip to content

Atom package that adds snippets for Python's Flask microframework for HTML templates and Python controls

License

Notifications You must be signed in to change notification settings

m1waterman88/flask-snips

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Atom package that adds snippets for Python's Flask microframework for HTML templates and Python controls

Resources

License

Stars

Watchers

Forks

Packages

No packages published