website/gems/lib/asciidoctor/foodogsquared-extensions.rb

23 lines
690 B
Ruby

# frozen_string_literal: true
require 'asciidoctor'
require 'asciidoctor/extensions'
require_relative 'man-inline-macro/extension'
require_relative 'swhid-inline-macro/extension'
require_relative 'github-link-inline-macro/extension'
require_relative 'github-raw-content-include-processor/extension'
require_relative 'gitlab-link-inline-macro/extension'
require_relative 'gitlab-raw-content-include-processor/extension'
Asciidoctor::Extensions.register do
inline_macro ManInlineMacro
inline_macro SWHInlineMacro
inline_macro GitHubLinkInlineMacro
include_processor GitHubRawIncludeProcessor
inline_macro GitLabLinkInlineMacro
include_processor GitLabRawIncludeProcessor
end