Sha256: 35846c55f6e45f1288a15b615f6c67b5c5832803fefc242bdcddda384929ee01
Contents?: true
Size: 660 Bytes
Versions: 21
Compression:
Stored size: 660 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}">“#{@text}”</span>) : %(“#{@text}”) - when :single =role? ? %(<span class="#{role}">‘#{@text}’</span>) : %(‘#{@text}’) - when :asciimath, :latexmath - open, close = ::Asciidoctor::INLINE_MATH_DELIMITERS[@type] |#{open}#{@text}#{close} - else =role? ? %(<span class="#{role}">#{@text}</span>) : @text
Version data entries
21 entries across 21 versions & 1 rubygems