haml and markdown template engines added

This commit is contained in:
Maygician 2020-10-03 23:01:02 +07:00
commit 2fb13d873e
16 changed files with 677 additions and 174 deletions

View file

@ -0,0 +1,17 @@
# lmay = yaml.
# in vs code, Open Settings (JSON):
#
# "files.associations":
# {
# "*.lmay":"yaml"
# },
# or feel free to rename it ^_^
folders:
lib:
description: all sources
files:
lib/lp_web/:
router.ex:
notes:

2
docs/skills/elixir Normal file
View file

@ -0,0 +1,2 @@
mix.exs -> put deps here
func (a)+b -> func((a)+b) ;brackets are added implicitly

10
docs/skills/phoenix.lmay Normal file
View file

@ -0,0 +1,10 @@
version: 1.5.5
facts:
- you need controller, in order to serve route
- you also need view
- if you want html - must rename it to html.eex and add controller+view
- minimal /lib/templates/layout/root is "<%= @inner_content %>"
- you get one generated for you, when running "mix phx.gen.live "
- live uses websockets