Sha256: 97047e754a84446c242078d2ef09001c8d95f5356092aa75ce35e88411b3052b

Contents?: true

Size: 489 Bytes

Versions: 1

Compression:

Stored size: 489 Bytes

Contents

!!!
%html
  %head
    %title Murdoc
    %style=stylesheet
  %body
    .document{:class => annotated_file.source_type}
      - annotated_file.formatted_paragraphs.each do |p|
        - 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.0 markup/template.haml