lib/asciidoctor_fb2.rb in asciidoctor-fb2-0.2.0 vs lib/asciidoctor_fb2.rb in asciidoctor-fb2-0.2.1
- old
+ new
@@ -160,9 +160,19 @@
result
end
# @param node [Asciidoctor::Inline]
+ def convert_inline_button(node)
+ %([<strong>#{node.text}</strong>])
+ end
+
+ # @param node [Asciidoctor::Inline]
+ def convert_inline_kbd(node)
+ %(<strong>#{node.attr('keys').join('</strong>+<strong>')}</strong>)
+ end
+
+ # @param node [Asciidoctor::Inline]
def convert_inline_anchor(node) # rubocop:disable Metrics/MethodLength
case node.type
when :xref
%(<a l:href="#{node.target}">#{node.text}</a>)
when :link