Sha256: 908844b1cd2e450312c0a11021ef3e086beb2414f2f06ee05d92414e6f167f7c

Contents?: true

Size: 659 Bytes

Versions: 54

Compression:

Stored size: 659 Bytes

Contents

- unless @id.nil?
  a id=@id
- case @type
- when :emphasis
  em class=role =@text
- when :strong
  strong class=role =@text
- when :monospaced
  code class=role =@text
- when :superscript
  sup class=role =@text
- when :subscript
  sub class=role =@text
- when :double
  =role? ? %(<span class="#{role}">&#8220;#{@text}&#8221;</span>) : %(&#8220;#{@text}&#8221;)
- when :single
  =role? ? %(<span class="#{role}">&#8216;#{@text}&#8217;</span>) : %(&#8216;#{@text}&#8217;)
- when :asciimath, :latexmath
  - open, close = ::Asciidoctor::INLINE_MATH_DELIMITERS[@type]
  |#{open}#{@text}#{close}
- else
  =role? ? %(<span class="#{role}">#{@text}</span>) : @text

Version data entries

54 entries across 21 versions & 1 rubygems

Version Path
hyla-1.0.6 lib/resources/backends/slim/revealjs/inline_quoted.html.slim
hyla-1.0.6 lib/resources/backends/slim/html5/inline_quoted.html.slim
hyla-1.0.5 lib/resources/backends/slim/revealjs/inline_quoted.html.slim
hyla-1.0.5 lib/resources/backends/slim/html5/inline_quoted.html.slim
hyla-1.0.5.pre.1 lib/resources/backends/slim/html5/inline_quoted.html.slim
hyla-1.0.5.pre.1 lib/resources/backends/slim/revealjs/inline_quoted.html.slim
hyla-1.0.4 lib/resources/backends/slim/revealjs/inline_quoted.html.slim
hyla-1.0.4 lib/resources/backends/slim/html5/inline_quoted.html.slim
hyla-1.0.3 lib/resources/backends/slim/revealjs/inline_quoted.html.slim
hyla-1.0.3 lib/resources/backends/slim/html5/inline_quoted.html.slim
hyla-1.0.2 lib/resources/backends/slim/revealjs/inline_quoted.html.slim
hyla-1.0.2 lib/resources/backends/slim/html5/inline_quoted.html.slim
hyla-1.0.1 lib/resources/backends/slim/revealjs/inline_quoted.html.slim
hyla-1.0.1 lib/resources/backends/slim/html5/inline_quoted.html.slim