mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-02-07 12:19:36 +00:00
custom-extensions: register custom extensions
This commit is contained in:
parent
ea6e304d13
commit
f915cdd55b
10
lib/asciidoctor-custom-extensions.rb
Normal file
10
lib/asciidoctor-custom-extensions.rb
Normal file
@ -0,0 +1,10 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'asciidoctor'
|
||||
require 'asciidoctor/extensions'
|
||||
|
||||
require_relative './asciidoctor/custom_extensions/chat_block_processor'
|
||||
|
||||
Asciidoctor::Extensions.register do
|
||||
block ChatBlock if @document.basebackend? 'html'
|
||||
end
|
Loading…
Reference in New Issue
Block a user