感受本身有段时间没有跟新了,唉,只是一直找不到能够写的必要css
其实我一直对pug特别感兴趣的,安装点我html
记得全局安装pug和pug-cli就好了web
在webstorm配环境记得在前面加-P
webstorm
a: img
内联式语法input/
自闭合button.btn.btn-tt.btn-aaa(type="button") #[div 123] ='\n' div#foo(data-bar='foo' checked) 这里面也能够写文字 #[div] ul each val in [1,2,3,4,5] li=val // ------插入css/js/html style include style.css script include script-1.js html include 222.pug p | 其实我这也是能写东西的 #[a(href="#")] p 我是否是能够再能够写内容 include 222.pug 在标签里插入其余内容 - var title = "仍是我写写中文吧"; h1=title - var author="enlore"; p #{author} - ttt='https://exampla.com'; a(href=ttt) 按照这样的语法写就好了