Sha256: edd10f1c0f565bb4b501fa5b2fbcebcbd119d8f24242cd77f0ef94f3cf57901a

Contents?: true

Size: 422 Bytes

Versions: 1

Compression:

Stored size: 422 Bytes

Contents

- sect0 = section_level == 0
= html_tag_if !sect0, :section, :class=>["sect#{section_level}", role]
  h level=(section_level + 1) id=id class=('sect0' if sect0)
    - if id
      - if document.attr? :sectanchors
        a.anchor href="##{id}" aria-hidden='true'
      - if document.attr? :sectlinks
        a.link href="##{id}" =section_title
      - else
        =section_title
    - else
      =section_title
  =content

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asciidoctor-html5s-0.1.0.beta.1 data/templates/section.html.slim