Sha256: 5ec1a5de6d2261b31d563beed1293e9d0be6c508102d3600c7feb806c1f2c2b3

Contents?: true

Size: 660 Bytes

Versions: 5

Compression:

Stored size: 660 Bytes

Contents

- quote_tags = { emphasis: 'em', strong: 'strong', monospaced: 'code', superscript: 'sup', subscript: 'sup' }
- if (quote_tag = quote_tags[@type])
  = html_tag(quote_tag, { :id => @id, :class => [role, ('fragment' if (option? :step) || (attr? 'step'))].compact }.merge(data_attrs(@attributes)), @text)
- else
  - case @type
  - when :double
    - inline_text_container("“#{@text}”")
  - when :single
    = inline_text_container("‘#{@text}’")
  - when :asciimath, :latexmath
    - open, close = Asciidoctor::INLINE_MATH_DELIMITERS[@type]
    = inline_text_container("#{open}#{@text}#{close}")
  - else
    = inline_text_container(@text)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
asciidoctor-revealjs-4.1.0 templates/inline_quoted.html.slim
asciidoctor-revealjs-4.1.0.rc5 templates/inline_quoted.html.slim
asciidoctor-revealjs-4.1.0.rc4 templates/inline_quoted.html.slim
asciidoctor-revealjs-4.1.0.rc3 templates/inline_quoted.html.slim
asciidoctor-revealjs-4.1.0.rc2 templates/inline_quoted.html.slim