Sha256: 6e5bb0800afaa4d6f0ee2682355d55ff9eb4bb51dc9287a5472559987b6960fb
Contents?: true
Size: 398 Bytes
Versions: 21
Compression:
Stored size: 398 Bytes
Contents
- if attr? :role - text = "<phrase role=\"#{attr :role}\">#@text</phrase>" - else - text = @text - case @type - when :emphasis emphasis=text - when :strong emphasis role='strong' =text - when :monospaced literal=text - when :superscript superscript=text - when :subscript subscript=text - when :double | “#{text}” - when :single | ‘#{text}’ - else =text
Version data entries
21 entries across 21 versions & 1 rubygems