2023-02-25 04:11:54 +00:00
|
|
|
require 'asciidoctor'
|
|
|
|
require 'asciidoctor/extensions'
|
|
|
|
require_relative 'man-inline-macro/extension'
|
2023-03-05 01:47:44 +00:00
|
|
|
require_relative 'swhid-inline-macro/extension'
|
2023-03-06 04:04:04 +00:00
|
|
|
require_relative 'github-link-inline-macro/extension'
|
2023-03-05 01:48:11 +00:00
|
|
|
require_relative 'github-raw-content-include-processor/extension'
|
2023-03-05 05:48:40 +00:00
|
|
|
require_relative 'gitlab-raw-content-include-processor/extension'
|
2023-03-05 06:57:10 +00:00
|
|
|
require_relative 'gitlab-link-inline-macro/extension'
|
2023-02-25 04:11:54 +00:00
|
|
|
|
|
|
|
Asciidoctor::Extensions.register do
|
|
|
|
inline_macro ManInlineMacro
|
2023-03-05 01:47:44 +00:00
|
|
|
inline_macro SWHInlineMacro
|
2023-03-06 04:04:04 +00:00
|
|
|
inline_macro GitHubLinkInlineMacro
|
2023-03-05 01:48:11 +00:00
|
|
|
include_processor GitHubRawIncludeProcessor
|
2023-03-05 05:48:40 +00:00
|
|
|
include_processor GitLabRawIncludeProcessor
|
2023-03-05 06:57:10 +00:00
|
|
|
inline_macro GitLabLinkInlineMacro
|
2023-02-25 04:11:54 +00:00
|
|
|
end
|