aboutsummaryrefslogtreecommitdiff
path: root/docs/plugin/helloworld.rb
blob: 7bfc226d27511a66472630b4b52b1ffe61b9f143 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class HelloWorldMacro < Asciidoctor::Extensions::BlockMacroProcessor
	use_dsl
	named :helloworld

	def process parent, target, attrs
    return
	end
end

Asciidoctor::Extensions.register do
	block_macro HelloWorldMacro
end