Sha256: 6aa83666e5822da98d0251c0b3ff6302605d6e16751fbab5bbafa043ede8ff4f

Contents?: true

Size: 1.58 KB

Versions: 13

Compression:

Stored size: 1.58 KB

Contents

%div#ruby.element
  %hgroup
    %h2.element-title
      %a{:href => "http://developers.whatwg.org/text-level-semantics.html#the-ruby-element"} ruby
    %h3.element-title
      %a{:href => "http://developers.whatwg.org/text-level-semantics.html#the-rt-element"} rt
    %h3.element-title
      %a{:href => "http://developers.whatwg.org/text-level-semantics.html#the-rp-element"} rp
  %p
    The
    %code
      %a{:href => "http://developers.whatwg.org/text-level-semantics.html#the-ruby-element"} ruby
    element allows one or more spans of
    phrasing content to be marked with ruby annotations. Ruby
    annotations are short runs of text presented alongside base text,
    primarily used in East Asian typography as a guide for
    pronunciation or to include other annotations. In Japanese, this
    form of typography is also known as
    = succeed "." do
      %i furigana
  %p
    The
    %code
      %a{:href => "http://developers.whatwg.org/text-level-semantics.html#the-rt-element"} rt
    element marks the ruby text component of a
    ruby annotation.
  %p
    The
    %code
      %a{:href => "http://developers.whatwg.org/text-level-semantics.html#the-rp-element"} rp
    element can be used to provide parentheses
    around a ruby text component of a ruby annotation, to be shown by
    user agents that don't support ruby annotations.
  .markup
    %ruby
      漢
      %rt> かん
      字
      %rt じ 
  .markup
    %ruby
      汉
      %rt> hàn
      字
      %rt zì
  .markup
    %ruby
      漢
      %rp (
      %rt かん
      %rp )
      字
      %rp (
      %rt じ
      %rp )

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
survivalkit-1.0.beta.8 templates/project/templates/old/survivalkit/partials/html5/ruby.haml
survivalkit-1.0.beta.7 templates/project/templates/old/survivalkit/partials/html5/ruby.haml
survivalkit-1.0.beta.6 templates/project/templates/old/survivalkit/partials/html5/ruby.haml
survivalkit-1.0.beta.5 templates/project/templates/old/survivalkit/partials/html5/ruby.haml
survivalkit-1.0.beta.4 templates/project/templates/old/survivalkit/partials/html5/ruby.haml
survivalkit-1.0.beta.3 templates/project/templates/old/survivalkit/partials/html5/ruby.haml
survivalkit-1.0.beta.2 templates/project/templates/old/survivalkit/partials/html5/ruby.haml
survivalkit-1.0.beta.1 templates/project/templates/old/survivalkit/partials/html5/ruby.haml
survivalkit-0.3.4 templates/project/templates/old/survivalkit/partials/html5/ruby.haml
survivalkit-0.3.3 templates/project/templates/old/survivalkit/partials/html5/ruby.haml
survivalkit-0.3.2 templates/project/templates/old/survivalkit/partials/html5/ruby.haml
survivalkit-0.3.1 templates/project/templates/old/survivalkit/partials/html5/ruby.haml
survivalkit-0.3 templates/project/templates/old/survivalkit/partials/html5/ruby.haml