Sha256: e217aacd4b2aafe14422dbce25c54254a6e665d3c51530f09aac3568f9614235

Contents?: true

Size: 579 Bytes

Versions: 1

Compression:

Stored size: 579 Bytes

Contents

!!!
%html
  %head
    %title Murdoc
    %style=stylesheet
  %body
    - annotated_files.each do |af|
      .document{:class => af.source_type}
        - af.formatted_paragraphs.each_with_index do |p, j|
          %section
            - if j == 0
              %label= File.basename(af.filename)
            = p.formatted_annotation
          - unless p.source.empty?
            %figure
              %ol
                - 1.upto(p.source.split("\n").size) do |i|
                  %li= i + p.starting_line
              <code>#{p.formatted_source.gsub("\n", '&#x000A;')}</code>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
murdoc-0.2.0 markup/template_multifile.haml