summaryrefslogtreecommitdiffstats
path: root/doc/asciidoctor-macros/commaize-block.rb
diff options
context:
space:
mode:
Diffstat (limited to 'doc/asciidoctor-macros/commaize-block.rb')
-rw-r--r--doc/asciidoctor-macros/commaize-block.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/asciidoctor-macros/commaize-block.rb b/doc/asciidoctor-macros/commaize-block.rb
new file mode 100644
index 00000000..aff6a3c1
--- /dev/null
+++ b/doc/asciidoctor-macros/commaize-block.rb
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: MIT
+RUBY_ENGINE == 'opal' ? (require 'commaize-block/extension') : (require_relative 'commaize-block/extension')
+
+Extensions.register do
+ block CommaizeBlock
+end