asciidoctor-foodogsquared-e.../lib/asciidoctor/foodogsquared-extensions.rb

18 lines
656 B
Ruby
Raw Normal View History

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'
require_relative 'github-raw-content-include-processor/extension'
require_relative 'gitlab-raw-content-include-processor/extension'
2023-03-05 06:57:10 +00:00
require_relative 'gitlab-link-inline-macro/extension'
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
include_processor GitHubRawIncludeProcessor
include_processor GitLabRawIncludeProcessor
2023-03-05 06:57:10 +00:00
inline_macro GitLabLinkInlineMacro
end