hbuilder边框代码是什么_HBuilderHTML自定义代码块

更新时间:2023-07-15 04:49:35 阅读: 评论:0

hbuilder边框代码是什么_HBuilderHTML⾃定义代码块
1 =begin
2 本⽂档是HTML代码块的编辑⽂件。注意不要把其他语⾔的设置放到html⾥来。
3 HBuilder可使⽤ruby脚本来编辑代码块和增强操作命令。
4 1、编辑代码块
5 如果要新增⼀个代码块,复制如下⼀段代码到空⽩⾏,然后设定参数。
6 'Style'是代码块的显⽰名字;
igger = 'style' 是设定激活字符,⽐如输⼊style均会在代码提⽰时显⽰该代码块;
pansion = '' 是设定该代码块的输出字符,其中$0、$1是光标的停留和切换位置。
9 snippet 'Style' do |s|igger = 'style'pansion = '
32 require 'ruble'33
34 with_defaults :scope => 'text.her.attribute-name.html' do |bundle|35
36 snippet 'data-' do |s|igger = 'data-'pansion='data-${1:type/role/transition/icon/iconpos/*} = "$2"'39
s.locationType='HTML_ATTRIBUTE'40 end41
42 end43
44 with_defaults :scope => 'text.html text' do |bundle|45
46 snippet t(:html_4_strict) do |s|igger = 'doctype'pansion = '9 "www.w3/TR/html4/strict.dtd">
超拽的图片
50 '51 end52
53 snippet t(:xhtml_1_framet) do |s|igger = 'doctype'pansion = '6
"www.w3/TR/xhtml1/DTD/xhtml1-framet.dtd">
57 '58 end59
60 snippet t(:xhtml_1_strict) do |s|igger = 'doctype'pansion = '3 "www.w3/TR/xhtml1/DTD/xhtml1-strict.dtd">
64 '65 end66
67 snippet t(:xhtml_1_transitional) do |s|igger = 'doctype'pansion = '0
"www.w3/TR/xhtml1/DTD/xhtml1-transitional.dtd">
71 '72 end73
74 snippet t(:xhtml_11) do |s|igger = 'doctype'pansion = '7
"www.w3/TR/xhtml11/DTD/xhtml11.dtd">
78 '79 end80
灭火器的正确使用
81 snippet t(:movie) do |s|igger = 'movie'pansion = '
84
85
86
了的拼音87
88 width="${2:320}"height="${3:240}"
89 controller="${4:true}"autoplay="${5:true}"
90 scale="tofit"cache="true"
91 pluginspage="/quicktime/download/"
92 >
93 '94 end95
96 snippet t(:html_4_transitional) do |s|igger = 'doctype'pansion = '9
"www.w3/TR/html4/loo.dtd">
100 '101 end102
103 snippet 'input with label' do |s|igger = 'input'pansion = '$1'106 end107
108 snippet t(:option) do |s|igger = 'opt'pansion = '${1:option}'111 end112
113 snippet 'input' do |s|igger = 'input'pansion = ''dApplyReContentAssist = true117 end118 119 snippet 'textarea' do |s|igger = 'textarea'pansion = '$0'122 end123
124 snippet 'canvas' do |s|igger = 'canvas'pansion = ''127 end128
129 snippet 'iframe' do |s|igger = 'iframe'pansion = ''dApplyReContentAssist = true133 end134 135 snippet t(:nbsp) do |s|136 s.key_binding = 'OPTION+Space'pansion = ' '138 end139
140 snippet 'Br' do |s|141 s.key_binding = 'CONTROL+ENTER'pansion = '
'143 end144
贺卡格式怎么写145 snippet 'link' do |s|igger = 'link'pansion = ''dApplyReContentAssist = true149 end150
151 snippet 'meta' do |s|igger = 'meta'dApplyReContentAssist = pansion = ''155 end156 157 snippet 'meta_UTF8' do |s|igger = 'metautf'pansion = ''160 end161
162 snippet 'meta_GB2312' do |s|igger = 'metagb'pansion = ''165 end166
167 snippet 'meta_nocache' do |s|igger = 'metanocache'pansion = ''170 end171
172 snippet 'meta_keywords' do |s|igger = 'metakeywords'pansion = ''175 end176
177 snippet 'meta_description' do |s|igger = 'metadescription'pansion = ''180 end181
182 snippet 'meta_viewport' do |s|igger = 'metaviewport'pansion = ''185 end186
187 snippet 'script_google_jquery' do |s|igger = 'scriptjqg'pansion = ''190 end191
192 snippet 'script_baidu_jquery' do |s|igger = 'scriptjqb'pansion = ''195 end196
197 snippet ''202 end203
204 snippet ''209 end210
211 snippet '...' do |s|igger = 'lect'pansion = '
214 $3
215 '216 end217
218 snippet 'dl' do |s|igger = 'dl'pansion = '
221
$1
222
$2
223 '224 end225
226 snippet 'ul' do |s|igger = 'ul'pansion = '
229
$1
230
'231 end232
233 snippet 'form' do |s|igger = 'form'pansion = "
236 $0237
238 "dApplyReContentAssist = true240 end241
242 snippet 'input_text' do |s|igger = 'intext'pansion = ''dApplyReContentAssist = true246
end247
248 snippet 'input_button' do |s|igger = 'inbutton'pansion = ''dApplyReContentAssist = true252 end253
254 snippet 'input_image' do |s|igger = 'inimage'pansion = ''dApplyReCont房子绘画
entAssist = true258 end259
倔强的反义词
260 snippet 'input_password' do |s|igger = 'inpassword'pansion = ''263 end264
265 snippet 'input_arch' do |s|igger = 'inarch'pansion = ''268 end269
270 snippet 'input_submit' do |s|igger = 'insubmit'pansion = ''273 end274
275 snippet 'input_ret' do |s|igger = 'inret'pansion = ''278 end279
280 snippet 'img' do |s|igger = 'img'pansion = ''dApplyReContentAssist = true284 end285
286 snippet 'a_link' do |s|igger = 'al'pansion = ''dApplyReContentAssist = true290 end291
292 snippet 'a_mailto' do |s|igger = 'am'pansion = ''295 end296
297 snippet 'video' do |s|igger = 'video'pansion = '
300
301
302
303
304
305
306
307 当前浏览器不⽀持 video直接播放,点击这⾥下载视频: 下载视频
308 '309 end310
311 snippet t(:script_w_external_source) do |s|igger = 'scsrc'pansion = ''dApplyReContentAssist = true315 end316
317 snippet 'Script' do |s|igger = 'script'pansion = '
320 $0
321 '322 end323
324 snippet 'style' do |s|igger = 'style'pansion = '
327 $0328 '329 end330
331 snippet '' do |s|igger = 'doctype'pansion = ''334 end335
养胃的食品
336 snippet 'html' do |s|igger = 'html'pansion = '
339
340
$0
341
342
343
入伙大吉
344
345 '346 end347
348 snippet 'h1' do |s|igger = 'h1'pansion = '
$0
'351 end352
353 snippet 'h2' do |s|igger = 'h2'pansion = '
$0
'356 end357
358 snippet 'h3' do |s|igger = 'h3'pansion = '
$0
'361 end362
363 snippet 'h4' do |s|igger = 'h4'pansion = '
$0
'366 end367
368 snippet 'h5' do |s|igger = 'h5'pansion = '
$0
'371 end372
373 snippet 'h6' do |s|igger = 'h6'pansion = '
$0
'376 end377
378 snippet 'table' do |s|igger = 'table'pansion = '
381
${4:Header}
382
${5:Data}
383 '384 end385
386 snippet 'head' do |cmd|igger = 'head'pansion = " 389
390
$1
391
392 "393 end394
395 snippet 'body' do |cmd|igger = 'body'pansion = "
398 $0399 "400 end401
402 snippet 'div' do |cmd|igger = 'div'dApplyReContentAssist = pansion = " 406 $0407
"408 end409

本文发布于:2023-07-15 04:49:35,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/82/1097349.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:代码   编辑   视频   下载   切换   停留   设定
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图