打開位置,見下圖:
打開頁(yè)面
例子
<snippet> <content> <![CDATA[ <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>${1}</title> </head> <body> <canvas id="demo"> </canvas> <script> (function() { var canvas = document.getElementById('demo'); canvas.width = ${2:agewg}; canvas.height = ${3}; canvas.style.border = '1px solid #000'; var ctx = canvas.getContext('2d'); ${4} ctx.stroke(); })(); \$(function() { }); </script> </body> </html> ]]> </content> <!-- Optional: Set a tabTrigger to define how to trigger the snippet --> <tabTrigger>cans</tabTrigger> <!-- Optional: Set a scope to limit where the snippet will trigger --> <!-- <scope>source.python</scope> --></snippet>下面圖片和上面代碼塊一樣的內(nèi)容,為了說(shuō)明清楚,加的圖片:
保存
輸入快捷鍵
聲明:本網(wǎng)頁(yè)內(nèi)容旨在傳播知識(shí),若有侵權(quán)等問(wèn)題請(qǐng)及時(shí)與本網(wǎng)聯(lián)系,我們將在第一時(shí)間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com