diff --git a/_plugins/asciidoctor-extension.rb b/_plugins/asciidoctor-extension.rb index 7b698cc809c..9c39a48503a 100644 --- a/_plugins/asciidoctor-extension.rb +++ b/_plugins/asciidoctor-extension.rb @@ -52,6 +52,16 @@ end end +Extensions.register do + inline_macro do + named :config_property_copy_button + resolve_attributes false + process do |parent, target, attrs| + copy_btn = %() + create_inline_pass parent, %(#{copy_btn}) + end + end +end ### ALL CONFIG page processors