Methods

Class/Module Index [+]

Quicksearch

Asciidoctor::DocBook45::BlockImageTemplate

Public Instance Methods

template() click to toggle source
# File lib/asciidoctor/backends/docbook45.rb, line 576
def template
  @template ||= @eruby.new <%#encoding:UTF-8%><%#encoding:UTF-8%><figure#{common_attrs_erb}>#{title_tag}  <mediaobject>    <imageobject>      <imagedata fileref="<%= image_uri(attr :target) %>"#{attribute('contentwidth', :width)}#{attribute('contentdepth', :height)}/>    </imageobject>    <textobject><phrase><%= attr :alt %></phrase></textobject>  </mediaobject></figure>
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.