Sha256: 3300cde0b26c69db69faa9cf035f0664c80f5d30988d342db7b6d22660808a63

Contents?: true

Size: 629 Bytes

Versions: 1

Compression:

Stored size: 629 Bytes

Contents

!!!
%html
  %head
    %title Murdoc
    %style= stylesheet
  %body
    .document{:class => annotated_file.source_type}
      /
        metadata:
        = annotated_file.metadata.inspect
      - annotated_file.formatted_paragraphs.each do |p|
        /
          paragraph metadata:
          = p.metadata.inspect
        - unless p.annotation.empty?
          %section= 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.1 markup/template.haml