flask-snippets
Adds snippets to quickly build Jinja html templates and Flask python controls in Atom.
To install:
apm install flask-snippets
Python controls
Jinja templates
Snippets
All snippets start with the letter f
Jinja Templates:
- 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
Flask:
- "" (single line docstring)
- """ (multi-line docstring)
- fapp
- 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