感受本身有段時間沒有跟新了,唉,只是一直找不到能夠寫的必要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) 按照這樣的語法寫就好了