⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 helpers.haml

📁 用ruby on rails写的一个博客程序,还不错..ruby on rails的确是个好框架
💻 HAML
字号:
= h("&&&&&&&&&&&") # This is an ActionView Helper... should load- foo = capture do # This ActionView Helper is designed for ERB, but should work with HAML  %div    %p.title Title    %p.text      Woah this is really crazy      I mean wow,      man.- 3.times do  = foo%p foo- tab_up%p reeeeeeeeeeeeeeeeeeeeeeeeeeeeeeally loooooooooooooooooong- tab_down.woah  #funky    = capture_haml do      %div        %h1 Big!        %p Small        / Invisible    = capture do      .dilly        %p foo        %h1 bar  = surround '(', ')' do    %strong parentheses!= precede '*' do  %span.small Not reallyclick= succeed '.' do  %a{:href=>"thing"} here%p baz- buffer.tabulation = 10%p boom- concat "foo\n"- buffer.tabulation = 0= list_of({:google => 'http://www.google.com'}) do |name, link|  %a{ :href => link }= name

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -