Sha256: 4ba6c6d84031cef632a4aec4774a87e22f14720d668a63d8038f78c3bb0e2830

Contents?: true

Size: 760 Bytes

Versions: 5

Compression:

Stored size: 760 Bytes

Contents

case node.$type()
  when "emphasis"
    em(class=node.$role()) !{node.$text()}
  when "strong"
    strong(class=node.$role()) !{node.$text()}
  when "monospaced"
    code(class=node.$role()) !{node.$text()}
  when "superscript"
    sup(class=node.$role()) !{node.$text()}
  when "subscript"
    sub(class=node.$role()) !{node.$text()}
  when "double"
    if node.$role() != false
      span(class=node.$role()) “!{node.$text()}”
    else
      | “!{node.$text()}”
  when "single"
    if node.$role() != false
      span(class=node.$role()) ‘!{node.$text()}’
    else
      | ‘!{node.$text()}’
  default
    if node.$role() != false
      span(class=node.$role()) !{node.$text()}
    else
      | !{node.$text()}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
asciidoctor-revealjs-1.0.4 templates/jade/inline_quoted.jade
asciidoctor-revealjs-1.0.3 templates/jade/inline_quoted.jade
asciidoctor-revealjs-1.0.2 templates/jade/inline_quoted.jade
asciidoctor-revealjs-1.0.1 templates/jade/inline_quoted.jade
asciidoctor-revealjs-1.0.0 templates/jade/inline_quoted.jade