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

📄 standard.haml

📁 用ruby on rails写的一个博客程序,还不错..ruby on rails的确是个好框架
💻 HAML
字号:
!!!%html{"xml-lang" => "en-US"}  %head    %title Hampton Catlin Is Totally Awesome    %meta{"http-equiv" => "Content-Type", :content => "text/html; charset=utf-8"}/  %body    / You're In my house now!    .header      Yes, ladies and gentileman. He is just that egotistical.      Fantastic! This should be multi-line output      The question is if this would translate! Ahah!      = 1 + 9 + 8 + 2 #numbers should work and this should be ignored    #body= " Quotes should be loved! Just like people!"    Wow.|    %p       = "Holy cow        " + |        "multiline       " + |              "tags!           " + |        "A pipe (|) even!"   |      = [1, 2, 3].collect { |n| "PipesIgnored|" }      = [1, 2, 3].collect { |n|     |          n.to_s                    |        }.join("|")                 |    %div.silent      - foo = String.new      - foo << "this"      - foo << " shouldn't"      - foo << " evaluate"      = foo + " but now it should!"      -# Woah crap a comment!    -# That was a line that shouldn't close everything.    %ul.really.cool      - ('a'..'f').each do |a|        %li= a    #combo.of_divs_with_underscore= @should_eval = "with this text"    = [ 104, 101, 108, 108, 111 ].map do |byte|      - byte.chr    .footer      %strong.shout= "This is a really long ruby quote. It should be loved and wrapped because its more than 50 characters. This value may change in the future and this test may look stupid. \nSo, I'm just making it *really* long. God, I hope this works"

⌨️ 快捷键说明

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